pcp
[Top] [All Lists]

qa/660 - pmwebd in an infinite loop?

To: PCP <pcp@xxxxxxxxxxx>
Subject: qa/660 - pmwebd in an infinite loop?
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2014 14:48:28 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
Anyone else seen this ...

kenj@bozo-laptop:~$ ps -ef | grep 14418
kenj     14418 22972  0 11:16 ?        00:00:00 sh 660
kenj     14580 14418 99 11:17 ?        03:27:41 /usr/lib/pcp/bin/pmwebd -U kenj 
-f -R /home/kenj/src/pcp/qa -c 2222 -L -N
kenj     14599 14418  0 11:17 ?        00:00:00 curl -s -S 
http://localhost:44323/660
kenj     28102 27956  0 14:45 pts/0    00:00:00 grep --color=auto 14418
kenj@bozo-laptop:~$ ps -ef | grep '[2]2972'
kenj     14418 22972  0 11:16 ?        00:00:00 sh 660
kenj     22972 20970  0 09:20 ?        00:00:01 /bin/sh ./check -l
kenj@bozo-laptop:~$ ps -ef | grep '[1]4418'
kenj     14418 22972  0 11:16 ?        00:00:00 sh 660
kenj     14580 14418 99 11:17 ?        03:28:28 /usr/lib/pcp/bin/pmwebd -U kenj 
-f -R /home/kenj/src/pcp/qa -c 2222 -L -N
kenj     14599 14418  0 11:17 ?        00:00:00 curl -s -S 
http://localhost:44323/660
kenj@bozo-laptop:~$ pstree 22972
checkâââshâââcurl
           ââpmwebd

pmwebd seems deep inside libmicrohttpd

(gdb) where
#0  0xb7784424 in __kernel_vsyscall ()
#1  0xb760f4ee in sendfile64 () at ../sysdeps/unix/syscall-template.S:81
#2  0xb76e7167 in ?? () from /usr/lib/i386-linux-gnu/libmicrohttpd.so.10
#3  0xb76e6343 in MHD_connection_handle_write ()
   from /usr/lib/i386-linux-gnu/libmicrohttpd.so.10
#4  0xb76e88a9 in ?? () from /usr/lib/i386-linux-gnu/libmicrohttpd.so.10
#5  0xb76e8d9d in MHD_run () from /usr/lib/i386-linux-gnu/libmicrohttpd.so.10
#6  0xb77a96e9 in main ()
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0xb7784424 in __kernel_vsyscall ()
(gdb) where
#0  0xb7784424 in __kernel_vsyscall ()
#1  0xb76162cd in ___newselect_nocancel ()
    at ../sysdeps/unix/syscall-template.S:81
#2  0xb76e869b in ?? () from /usr/lib/i386-linux-gnu/libmicrohttpd.so.10
#3  0xb76e8d9d in MHD_run () from /usr/lib/i386-linux-gnu/libmicrohttpd.so.10
#4  0xb77a96e9 in main ()

<Prev in Thread] Current Thread [Next in Thread>