Почему squid долго завершается?


Ответы

Squid configuration directive shutdown_lifetime

Available in: 4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6  

This directive is not available in the 3.3 version of Squid.

For older versions than 3.3 see the linked pages above

Configuration Details:

Option Name: shutdown_lifetime
Replaces:  
Requires:  
Default Value: shutdown_lifetime 30 seconds
Suggested Config:
 
When SIGTERM or SIGHUP is received, the cache is put into
"shutdown pending" mode until all active sockets are closed.
This value is the lifetime to set for all open descriptors
during shutdown mode.  Any active clients after this many
seconds will receive a 'timeout' message.

Возможно будут интересны и другие вопросы
© RemiZOffAlex