On Wed, Jun 13, 2012 at 02:04:56AM -0400, chenmin7249 wrote:
here is my problem, how can i clear the static file cache without
restarting nginx without ‘killall -HUP nginx’?
No, the only way to reset open file cache is to restart worker
processes. Sending SIGHUP to let nginx start new worker processes
and gracefully shutdown old ones is the easiest way to do this.
And just to make sure it’s clear: restarting worker processes via
SIGHUP doesn’t imply any downtime. All connections will be
accepted and all requests will be handled, no animals will be
harmed and so on.
Maxim D.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.