由于nginx在运行的时候,用gdb运行nginx的woker进程引起的:
140:/var/log/nginx# ps aux|grep nginx
root 17915 0.0 0.2 40196 1048 ? Ss 11:25 0:00 nginx: master process /usr/local/nginx/sbin/nginx
www-data 17990 1.1 0.3 40700 1444 ? S 11:31 0:00 nginx: worker process
root 18005 0.0 0.2 9724 796 pts/0 S+ 11:32 0:00 grep nginx
140:/var/log/nginx# gdb -p 17915
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Attaching to process 17915
Reading symbols from /usr/local/nginx/sbin/nginx...done.
Reading