From: Vlad S. <vl...@cr...> - 2006-02-26 22:07:34
|
ns_register_proc GET /ns_return_big {ns_return 200 text/plain [string repeat " " 32768] } Then try several times to hit your server /ns_return_big ns_info threads will show running threads which never exit: {-conn:ossweb:0 -driver- -1338524752 0 1140991547 ns:connthread {1 192.168.0.9 running GET /ns_return_big 16.526732 114674}} Stephen Deasey wrote: > How can I reproduce this problem? If you could write a short test, I > can take a look at this. > > > On 2/26/06, Vlad Seryakov <vl...@cr...> wrote: >> I am still debugging this i as i see the probkem is in the Ns_ConnSend >> now, SockSend is called with nbufs 0 but there are still data to be sent. >> >> #3 0xb11f54f0 in ?? () >> (gdb) >> #4 0xb7d1a728 in sendmsg () from /lib/tls/libc.so.6 >> (gdb) >> #5 0xb7ec8331 in SockSend (sock=0, bufs=<value optimized out>, >> nbufs=-1323346704) at sock.c:912 >> 912 n = sendmsg(sock, &msg, 0); >> (gdb) >> #6 0xb7ec83bc in Ns_SockSendBufs (sock=6, bufs=0xb11f55dc, nbufs=0, >> timeoutPtr=0xb11f5578) >> at sock.c:115 >> 115 n = SockSend(sock, bufs, nbufs); >> (gdb) >> #7 0xb72d5452 in SockProc (cmd=DriverSend, sock=0xb7ef1580, >> bufs=0xb11f55dc, nbufs=-1323346704) >> at nssock.c:120 >> 120 n = Ns_SockSendBufs(sock->sock, bufs, nbufs, &timeout); >> (gdb) >> #8 0xb7eb1477 in NsSockSend (sockPtr=0xb7ef1580, bufs=0x0, nbufs=0) at >> driver.c:761 >> 761 return (*sockPtr->drvPtr->proc)(DriverSend, sock, bufs, nbufs); >> (gdb) >> #9 0xb7eadf22 in Ns_ConnSend (conn=0x80a40f8, bufs=0xb11f965c, nbufs=1) >> at connio.c:219 >> 219 sent = NsSockSend(connPtr->sockPtr, sbufs, sn); >> (gdb) p sn >> $1 = 0 >> (gdb) p n >> $3 = 1 >> (gdb) p towrite >> $4 = 3204 >> (gdb) p nwrote >> $6 = 49152 >> >> -- >> Vlad Seryakov >> 571 262-8608 office >> vl...@cr... >> http://www.crystalballinc.com/vlad/ >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting language >> that extends applications into web and mobile media. Attend the live webcast >> and join the prime developer group breaking into this new coding territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |