Nginx w/ ssh restart
Darrin Chandler
dwchandler at stilyagin.com
Wed Sep 17 08:51:53 MSD 2008
Too ironic that your address is @warpmail.net ;-)
On Tue, Sep 16, 2008 at 11:17:14PM -0500, Clint Priest wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> <tt>No, I don't have it set either way. I just tried setting it to on,
> same effect.<br>
> <br>
> What happens on your end trying to restart via ssh remotely?<br>
> </tt><br>
> Igor Sysoev wrote:
> <blockquote cite="mid:20080915081458.GE28447 at rambler-co.ru" type="cite">
> <pre wrap="">On Sun, Sep 14, 2008 at 07:19:02PM -0500, Clint Priest wrote:
>
> </pre>
> <blockquote type="cite">
> <pre wrap="">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?
> </pre>
> </blockquote>
> <pre wrap=""><!---->
> During daemon fork nginx does not close at least listen sockets and log files.
> Otherwise it will can not work. However, I think it should not hang a shell.
>
> Do you use "daemon off" in nginx.conf ?
>
>
> </pre>
> </blockquote>
> </body>
> </html>
>
--
Darrin Chandler | Phoenix BSD User Group | MetaBUG
dwchandler at stilyagin.com | http://phxbug.org/ | http://metabug.org/
http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20080916/87d23d11/attachment.pgp>
More information about the nginx
mailing list