Synopsis
When SIGTERM or SIGHUP is received, the cache is put into “shutdown pending” mode until all active sockets are closed. It will stop accepting new connections immediately, but connections already in progress will continue to be served for this amount of time. Defaults to 30 seconds, which is a good safe value. Any active clients after this many seconds will receive a “timeout” message.
Note: If this time is set to be too low then some file descriptors may remain open which will be a performance issue in memory usage.
Arguments
time-units
|
Time period of “shutdown pending” mode
|
Example(s)
shutdown_lifetime 20 seconds
|