Skip to content

Instantly share code, notes, and snippets.

@agentzh agentzh/out.txt
Last active May 12, 2018

Embed
What would you like to do?
GNU gdb (GDB) 8.1.50.20180512-git
Copyright (C) 2018 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
pid 0: 75697
pid 1: 75699
agentzh 75696 0.0 0.0 34804 908 ? Ss 14:24 0:00 nginx: master process nginx -p /home/agentzh/work/ -c conf/nginx.conf
agentzh 75697 0.0 0.0 35252 2716 ? S 14:24 0:00 nginx: worker process
agentzh 75699 0.0 0.0 35252 2716 ? S 14:24 0:00 nginx: worker process
agentzh 75704 0.0 0.0 10716 1004 pts/0 S+ 14:24 0:00 grep nginx
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fb3cb50a280 in epoll_pwait () from /lib64/libc.so.6
[New inferior 2 (process 0)]
Added inferior 2
[Switching to inferior 2 [<null>] (<noexec>)]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fb3cb50a280 in epoll_pwait () from /lib64/libc.so.6
Num Description Executable
1 process 75697 /usr/local/openresty/nginx/sbin/nginx
* 2 process 75699 /usr/local/openresty/nginx/sbin/nginx
Breakpoint 1 at 0x450930: ngx_http_handler. (2 locations)
sending SIGINT to gdb process 75702 ...
Thread 1.1 "nginx" received signal SIGINT, Interrupt.
0x00007fb3cb50a280 in epoll_pwait () from /lib64/libc.so.6
warning: Error removing breakpoint 1
A debugging session is active.
Inferior 1 [process 75697] will be detached.
Inferior 2 [process 75699] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 75697) detached]
[Inferior 2 (process 75699) detached]
curl: (52) Empty reply from server
2
agentzh 75696 0.0 0.0 34804 2612 ? Ss 14:24 0:00 nginx: master process nginx -p /home/agentzh/work/ -c conf/nginx.conf
agentzh 75697 0.0 0.0 35252 2948 ? S 14:24 0:00 nginx: worker process
agentzh 75715 0.0 0.0 35252 2716 ? S 14:24 0:00 nginx: worker process
agentzh 75717 0.0 0.0 10716 1036 pts/0 S+ 14:24 0:00 grep nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.