glite-lb-bkpurge-offline (1) - Linux Manuals

glite-lb-bkpurge-offline: emergency utility for removing inactive jobs from the L&B database

NAME

glite-lb-bkpurge-offline - emergency utility for removing inactive jobs from the L&B database

SYNOPSIS

glite-lb-bkpurge-offline [OPTIONS]

DESCRIPTION

glite-lb-bkpurge-offline is a utility for removing inactive jobs from the L&B database. By default, it removes jobs that reached CLEARED, ABORTED and CANCELED state and also OTHER and DONE jobs that are inactive for a specific (rather long) period of time. It calls SQL database commands directly.

This utility is provided for emergency and expert use only. Exact semantics of job age are slightly different from regular glite-lb-bkpurge, there is no synchronization with running L&B server and/or proxy when jobs receive new events while being purged, and error handling is minimal.

OPTIONS

-a NNN[smhd]
Purge ABORTED jobs older than NNN seconds/minutes/hours/days (only one number and one letter allowed). If the time is not specified, the default timeout is determined by the server.

-c NNN[smhd]
Purge CLEARED jobs older than the given age.

-d NNN[smhd]
Purge DONE jobs older than the given age.

-h
Display help.

-m BKSERVER
L&B server machine name. If not specified, the environment variable EDG_WL_QUERY_SERVER is checked for hostname and port.

-M {singleshot|staged}
Cleaning method (default=staged).

-n NNN[smhd]
Purge CANCELED jobs older than the given age.

-o NNN[smhd]
Purge OTHER jobs (i.e., jobs in states other than ABORTED, CLEARED or CANCELED) older than the given age.

-p
Purge L&B proxy database (default: L&B server DB).

-t
Free unused space if using MyISAM DB engine. Note that MyISAM is not used by default in L&B deployments.

ENVIRONMENT

EDG_WL_QUERY_SERVER
If $EDG_WL_QUERY_SERVER is set, its value is used as the bkserver address.

BUGS

Please report all bugs to CESNET gLite L&B issue tracker available at https://github.com/CESNET/glite-lb/issues

AUTHORS

L&B Product Team, CESNET.

SEE ALSO


 glite-lb-purge(1)