Article View: news.software.nntp
Article #6087Re: nnrpd sharedactive patch stops accepting connections
From: Operator
Date: Thu, 28 Mar 1996 00:00
Date: Thu, 28 Mar 1996 00:00
30 lines
2003 bytes
2003 bytes
I had a problem like this with the shared memory patch also..Added some debugging code to it, and it seemed to get in this state when a nnrpd process would be terminated without releasing the lock and the new processes would just sit there and wait to obtain a lock on the shared memory. I hacked it to work by removing all the locks and haven't yet had a problem with corrupting the shared memory area (fingers crossed) but probably the best way to fix it though would be to add a timeout period when getting the lock, so that after X time waiting to obtain a lock it would go ahead and assume the current one was stale and remove it.. YMMV -Luke Peter Miles (pmiles@tdc.dircon.co.uk) wrote: : I'm using the nnrpd sharedactive patch from INN1.4 UNOFF4 and have come across : a problem. : When more than about 130 users are connecting to the news server at once, : nnrpd ceased to start up correctly. If you telnet to port 119, it just sits : there waiting (telnet gets through, but the nnrp banner is not printed, and : no nntp commands can be run) and "ps -ax" just shows "connect" for any new : sessions (existing sessions appear to continue to work). No errors in syslog : or any of the news logs. : It APPEARS that even if some of the working sessions go away, new nnrpd sessions : will still not start properly. : I end up with loads of nnprd "connect" processes sitting in memory.
Technical Details
Message-ID:
<4jdb6i$shu@eri.erinet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<4j772b$spe@tdc.dircon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <4jdb6i$shu@eri.erinet.com> Subject: Re: nnrpd sharedactive patch stops accepting connections Date: Thu, 28 Mar 1996 00:00:00 +0000 From: root@eri.erinet.com (Operator) References: <4j772b$spe@tdc.dircon.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 144619520 Distribution: inet Organization: EriNet Online 513 436-9915 Newsgroups: news.software.nntp