Welcome! Log In Create A New Profile

Advanced

Re: Heart beat

September 08, 2009 06:36PM
> Yeah for sure wget call would do it, but communicate the result from wget to Nginx in order to drop the misbehaving worker out?

I don't know about one single worker, but you can HUP nginx, it'll
create new workers. See [1]. Of course if the bad worker is just
frozen or dead, i guess you'd have to kill it first, then HUP nginx
main process.

I think nginx will wait until workers are free before replacing them,
hence the need to maybe kill the lazy worker.

HTH

[1] http://wiki.nginx.org/NginxCommandLine#Controlling_Nginx_Via_the_Signals

--
() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail
Subject Author Posted

Heart beat

ojaro September 08, 2009 05:08PM

Re: Heart beat

vesperto September 08, 2009 05:26PM

Re: Heart beat

ojaro September 08, 2009 06:22PM

Re: Heart beat

vesperto September 08, 2009 06:36PM

Re: Heart beat

James Litton September 18, 2009 03:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready