Mais conteúdo relacionado
Semelhante a Nginx维护手册 (20)
Nginx维护手册
- 2. nginx
nginx stable release
stable release 1
stable
/opt/app/nginx/sbin/nginx -V
- 5. nginx debug 1)
nginx nginx
core dump
netscaler> disable server nginx_ip
nginx> gdb attach nginx_pid
gdb> gcore
nginx> gdb /opt/app/nginx/sbin/nginx core.pid
gdb> backtrace
nginx> /etc/init.d/nginx restart
netscaler> enable server nginx_ip
- 6. nginx debug 2)
nginx
pgrep nginx # nginx
master, cache manager worker
process
20485 20485 20485 ? Ss 0:00 nginx: master process /opt/app/nginx/sbin/nginx -c /opt/conf/
nginx/nginx.conf
20486 20485 20485 ? S 19:55 _ nginx: worker process
20488 20485 20485 ? S 19:58 _ nginx: worker process
20489 20485 20485 ? S 20:09 _ nginx: worker process
20490 20485 20485 ? S 20:01 _ nginx: worker process
20491 20485 20485 ? S 20:04 _ nginx: worker process
20492 20485 20485 ? S 20:10 _ nginx: worker process
20493 20485 20485 ? S 20:11 _ nginx: worker process
20494 20485 20485 ? S 19:55 _ nginx: worker process
20495 20485 20485 ? S 0:00 _ nginx: cache manager process
- 7. nginx debug 3)
backtrace
nginx@nginx.org
backtrace
nginx
http://forum.nginx.org/read.php?
2,212274