🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Karsten Thygesen Sun, 18 Mar 2001 11:34
Problem with INN-2.3.1 and nnrpd
#51300
Author: Karsten Thygesen
Date: Sun, 18 Mar 2001 11:34
71 lines
5023 bytes
Hi

I'm running inn-2.3.1 on Solaris-8 (well patched up) on a E3500 with
two CPU and 2GB mem.

It seems, that nnrpds does not exit. If I do a lsof on an old nnrpd
process, it clearly states, that it have an open network connection to
a host, but netstat claims, that no such connection is open.

When I attach gdb to the process, it seems to be hanging in the final
exit(x) call (line 238 of nnrpd.c).

truss claims, that is is waiting in some thread stuff:

lwp_cond_wait(0xFF3E3758, 0xFF3E3730, 0x00000000) (sleeping...)
signotifywait()                 (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_cond_wait(0xFF3E3758, 0xFF3E3730, 0x00000000) (sleeping...)

gdb nnrpd after attach to a hung nnrpd:

(gdb) where
#0  0xff299fcc in ___lwp_cond_wait () from /usr/lib/libc.so.1
#1  0xff291bc0 in _lwp_cond_wait () from /usr/lib/libc.so.1
#2  0xff0cc280 in _lrw_wrlock () from /usr/lib/libthread.so.1
#3  0xff3bcea0 in ?? ()
#4  0xff3ba924 in ?? ()
#5  0xff3baa98 in ?? ()
#6  0xff21b730 in _exithandle () from /usr/lib/libc.so.1
#7  0xff29a734 in exit () from /usr/lib/libc.so.1
#8  0x3c6ac in CMDhelp (ac=0, av=0x0) at nnrpd.c:238

lsof output:

bash-2.03$ lsof -p 4327
COMMAND  PID USER   FD   TYPE        DEVICE   SIZE/OFF   NODE NAME
nnrpd   4327 news  cwd   VDIR      74,67009         96      6 /mnt/innspool (/dev/vx/dsk/ext/innspool)
nnrpd   4327 news  txt   VREG       74,3001    6578460   1284 /mnt/inn/inn/bin/nnrpd
nnrpd   4327 news  txt   VREG      74,67009 1572864000     19 /mnt/innspool/spool/overview/OV1
nnrpd   4327 news  txt   VREG          74,0      24968  18362 /usr/lib/libmp.so.2
nnrpd   4327 news  txt   VREG          74,0      42184  18347 /usr/lib/libgen.so.1
nnrpd   4327 news  txt   VREG          74,0      46932  18825 /usr/lib/libaio.so.1
nnrpd   4327 news  txt   VREG          74,0     267788  18433 /usr/lib/libresolv.so.2
nnrpd   4327 news  txt   VREG          74,0     157532  18820 /usr/lib/libelf.so.1
nnrpd   4327 news  txt   VREG          74,0     192968  18412 /usr/lib/libthread.so.1
nnrpd   4327 news  txt   VREG          74,0     888508  18509 /usr/lib/libnsl.so.1
nnrpd   4327 news  txt   VREG          74,0      17096 249923 /usr/platform/sun4u/lib/libc_psr.so.1
nnrpd   4327 news  txt   VREG          74,0      70260  18383 /usr/lib/libsocket.so.1
nnrpd   4327 news  txt   VREG          74,0    1135056  18537 /usr/lib/libc.so.1
nnrpd   4327 news  txt   VREG          74,0      22964  18380 /usr/lib/libsec.so.1
nnrpd   4327 news  txt   VREG          74,0      16020  18334 /usr/lib/libcrypt_i.so.1
nnrpd   4327 news  txt   VREG          74,0      39364  18370 /usr/lib/libpthread.so.1
nnrpd   4327 news  txt   VREG          74,0      41592  18376 /usr/lib/librt.so.1
nnrpd   4327 news  txt   VREG          74,0     102424  18408 /usr/lib/libm.so.1
nnrpd   4327 news  txt   VREG          74,0       4340  18333 /usr/lib/libdl.so.1
nnrpd   4327 news  txt   VREG          74,0     195676  18228 /usr/lib/ld.so.1
nnrpd   4327 news    0u  IPv4 0x30016091d60    0t33426    TCP sunsite.dk:*->kunde0161.alfanett.no:* (IDLE)
nnrpd   4327 news    1u  IPv4 0x30016091d60    0t33426    TCP sunsite.dk:*->kunde0161.alfanett.no:* (IDLE)
nnrpd   4327 news    2u  IPv4 0x30016091d60    0t33426    TCP sunsite.dk:*->kunde0161.alfanett.no:* (IDLE)
nnrpd   4327 news    4r  VCHR          13,2        0t0     32 /devices/pseudo/mm@0:null
nnrpd   4327 news    5w  VCHR          21,0        0t0     28 /devices/pseudo/log@0:conslog->LOG
nnrpd   4327 news   14u  unix        105,27        0t0     40 /devices/pseudo/tl@0:ticots->(socketpair) (0x300080546b8->0x30018b957c0)
nnrpd   4327 news   28r  VREG      74,67009 1572864000     19 /mnt/innspool/spool/overview/OV1
nnrpd   4327 news   30r  DOOR         219,0        0t0  51200 /etc/.name_service_door (door to nscd[17698])


Any ideas? Suggestions to further debugging?

Karsten
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads