Nginx w/ ssh restart

Clint Priest cpriest at
Mon Sep 15 04:19:02 MSD 2008

I'm having trouble getting nginx to restart via an ssh shell.  From a 
remote machine doing "ssh root at web1 service nginx restart" is causing 
the ssh shell to not disconnect once nginx restarts.

I've had similar trouble with my own daemons which I have solved by 
ensuring all file descriptors are closed before or after the daemon 
fork.  Does nginx do this?

Any other ideas which would cause nginx to hang the shell?



More information about the nginx mailing list