Table of Contents

Name

nlpc-up - searches for out-of-date cache entities in a nlpc database

Synopsis

nlpc-up [-dhv] [-a path] [-f path] [-p path]

Description

The nlpc-up utility iterates over a nlpc database and marks stale records as needing updates. It also prunes dead entries and revives those marked as temporarily unreachable. nlpc-up is part of the nlpcrawl(1) series of tools. The arguments are as follow:

-a path
The archive file path. See the nlpcrawl(1) FILES section.

-d
Enable debugging. Use multiple times for more verbosity.

-f path
The cache file path. See the nlpcrawl(1) FILES section.

-h
Print a help message and exit.

-p path
The database environment path. See the nlpcrawl(1) FILES section.

-v
Print version information and exit.

In addition, the following long arguments may be used:

--ttmin int
Time-to-minimum (in seconds). Minimum amount of time that must pass before a record be expired by --ttexp or server request (overriden by --force-exp). Defaults to one day.

--ttdel int
Time-to-delete (in seconds). Records marked DEAD are pruned when this value (since marking as such) is exceeded. Acceptable values are from 1 to INT_MAX. Defaults to five days.

--ttexp int
Time-to-expiration (in seconds). Records marked SCAN are marked DIRTY when this value (since marking as such) is exceeded. Acceptable values are from 1 to INT_MAX. Defaults to ten days (or media-indicated expiration date).

---ttrev int
Time-to-revive (in seconds). Records marked UNREACH are revived to DIRTY when this value (since marking as such) is exceeded. Acceptable values are from 1 to INT_MAX. Defaults to five days.

---rtdead int
Revivals-to-dead (in attempts). Records marked UNREACH in sequence increment a revival count; when int number of consecutive revivals occur, the record is marked as DEAD. Acceptable values are from 1 to INT_MAX. Defaults to five times.

--force-rev
Force UNREACH records to be revived. Conflicts with --force-dead.

--force-del
Force DEAD records to be pruned.

--force-dead
Force UNREACH records to be marked DEAD. Conflicts with --force-rev.

--force-exp
Force SCAN records to be marked DIRTY. Overrides internal expiration dates.

See Also

nlpcrawl(1)


Table of Contents