EnglishFrenchSpanish

Ad


OnWorks favicon

lurker-prune - Online in the Cloud

Run lurker-prune in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lurker-prune that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


lurker-prune — prunes the web-server cache

SYNOPSIS


lurker-prune [-c <config-file>] [-f <frontend>] [-m <days>] [-a <days>] [-p -v]

DESCRIPTION


lurker-prune prunes obsolete or stale files from the web-server accessible cache. This
command must be run at regular intervals from eg. a cronjob. If it is not run, then the
lurker web interface will appear to not be receiving new mail or have contradictory links
between pages. A good interval is every 15 minutes and should not exceed one hour.

Be aware that it is possible for an attacker to use up a large amount of disk space
through lurker. An attacker could request many distinct lurker web pages each of which is
cached, thus using disk space. Please setup a quota for the lurker user, read your logs,
and follow whatever site-specific policies you have for denial of service.

A good script to run in parallel with normal lurker-prune use is one similar to: if test
`du -s /var/www/lurker | cut -f1` -gt 32768; then lurker-prune -p; fi This might help
guard against a potential denial-of-service attack.

OPTIONS


-c config-file
Use this config file for lurker settings.

-f frontend
The directory of the lurker frontend cache to clean. You can selectively purge
cache with this option. By default, lurker-prune will clean all frontends
specified in the config file.

-m days Keep cached files for at most this many days. Any cached file regardless of last
access will be deleted after the specified number of days (defaults to 7). Files
which are obsolete due to new mail, config changes, or no accesses will be
deleted earlier. Deleted files will be automagically regenerated if needed.

-a days Kill cache files not accessed for this many days. Any cached file which has not
been read from for the specified number of days (defaults to 1) will be deleted.
Files which are obsolete due to new mail or config changes will be deleted
earlier. Deleted files will be automagically regenerated if needed.

-p Purge mode. Delete all cache files even if they do not appear to be expired.
This will only deletes files that are generated by lurker, and is thus
preferable to rm */*.

-v Verbose operation. Indicate which files are being deleted and the reasoning
behind lurker's decisions. This can help in tracking down why some files are
deleted and not others.

Use lurker-prune online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    wxPython
    wxPython
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    packfilemanager
    packfilemanager
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    IPerf2
    IPerf2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    Matplotlib
    Matplotlib
    Matplotlib is a comprehensive library
    for creating static, animated, and
    interactive visualizations in Python.
    Matplotlib makes easy things easy and
    hard thing...
    Download Matplotlib
  • 6
    BotMan
    BotMan
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • More »

Linux commands

Ad