Output works fine now, make test stopped working though, not sure why,,
driver does not see virtual servers from the config, is it me only?
LD_LIBRARY_PATH="./nsd:./nsthread:../nsdb" ./nsd/nsd -c -d -t
tests/test.nscfg all.tcl
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: nsmain: Tcl
version: 8.4.12
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: nsmain:
NaviServer/4.99.2 starting
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: nsmain:
security info: uid=500, euid=500, gid=0, egid=0
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: nsmain: max
files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice:
vhost[testvhost]: www.example.com:80 ->
/home/vlad/src/naviserver/tests/testserver/vhosts/e/x/a/example.com/pages
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: nsd/init.tcl:
Booting virtual server: testvhost...
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: modload:
loading /home/vlad/src/naviserver/tests/../nssock/nssock.so
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Notice: nssock: enable
1 spooler thread(s) for uploads >= 16384 bytes
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Error: nssock: no such
server: test
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Error: nssock: no such
server: test
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Error: nssock: no such
server: testvhost2
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Error: nssock: no such
server: testvhost2
[27/Feb/2006:10:06:46][30105.3083638464][-main-] Fatal: nssock: default
server testvhost2 not defined in ns/module/nssock/servers
make: *** [test] Error 1
Stephen Deasey wrote:
Give it a shot now.
On 2/26/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel