dynamic logs
Igor Sysoev
is at rambler-co.ru
Fri Sep 12 11:57:11 MSD 2008
On Fri, Sep 12, 2008 at 07:38:42AM +0000, Vladan Popovic wrote:
> Sorry for not being more knowledgeable ...
> I have init.d/nginx script to manage nginx.
> Should i run strace /etc/init.d/nginx restart or should i run another
> instruction?
> (i did 'strace /etc/init.d/nginx' but couldn't find the string you are
> looking for)
Try the following:
1) stop nginx via "/etc/init.d/nginx stop"
2) add temporarily in nginx.conf:
daemon off;
master_process off;
This will force nginx to run single process only.
3) then run nginx directly under strace:
strace /usr/sbin/nginx
4) and make request.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list