Article View: news.software.nntp
Article #21962nnrpd going berserk (INN-1.5.1sec2, Linux pre-2.0.31-9)
From: Lars Syrstad
Date: Mon, 29 Sep 1997 00:00
Date: Mon, 29 Sep 1997 00:00
66 lines
3631 bytes
3631 bytes
I've been running INN on a Linux server for over a year now, with no problems at all, until recently. The problem occurs when running INN 1.5.1 and did not go away when I upgraded to 1.5.1sec2, with no other patches applied. Machine is a P133 running Linux pre-2.0.31-9. It's got enough RAM to handle INN and a few other, less intensive services. Number of simultaneous readers is usually well below 20. What happens is that occasionally, the server's load will go totally wild. The record so far is 47. This seems to be caused by a tremendous number of connections being made to the nntp port (119), causing lots of nnrpd processes to be respawned. On some occasions the kernel believes it is under a SYN-flood attack and reports so in the logs and starts sending cookies. When it happens, netstat reports a number of connections from a machine on campus, though not the same machine each time. I've seen over a hundred connections from the same machine, all in state "CLOSE". When I run down to the labs to investigate, I find a confused student trying to read News, wondering why the server doesn't respond. On each occasion the client has been Netscape News 3.0 on a Windows NT machine. I am quite sure it only happens when the client is running on NT, but won't claim that it only happens with Netscape 3.0. In the news-server's logs I find messages like these: Sep 28 18:37:51 pravda nnrpd[32698]: ? cant getpeername Transport endpoint is not connected Sep 28 18:37:51 pravda nnrpd[32698]: ? exit articles 0 groups 0 Sep 28 18:37:51 pravda nnrpd[32698]: ? times user 0.010 system 1.250 elapsed 0.006 Sep 28 18:37:56 pravda nnrpd[32699]: ? cant getpeername Transport endpoint is not connected Sep 28 18:37:56 pravda nnrpd[32699]: ? exit articles 0 groups 0 Sep 28 18:37:56 pravda nnrpd[32699]: ? times user 0.020 system 1.320 elapsed 0.004 Sep 28 18:37:56 pravda nnrpd[32700]: ? cant getpeername Transport endpoint is not connected Sep 28 18:37:56 pravda nnrpd[32700]: ? exit articles 0 groups 0 Sep 28 18:37:56 pravda nnrpd[32700]: ? times user 0.010 system 1.280 elapsed 0.005 ... so it appears that the client drops the connection immediately. It looks quite malicious -- only that there is no indication at all that the people reading news from the machine at the time is doing anything naughty at all. Possibly of relevance is that prior to the first time the problem appeared, we * upgraded our network significantly, so the server is now sitting on 100Mbit ethernet on a switch-port all of its own. Network card is a 3COM 595 (Vortex). * arranged to get our incoming newsfeed from a faster machine than we used to. We have no problems keeping up with the feed, though. * upgraded the kernel from pre-2.0.31-3 to pre-2.0.31-9. * Significantly boosed INN's performance by deleting articles in the control.cancel group on an hourly basis (mv and rm -r from cron). Is this familiar to anyone? Suggestions? Help? - Lars. -- Not flogging a DOA MULE.
Technical Details
Message-ID:
<vzyb4hov9n.fsf@kvakk.idb.hist.no>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <vzyb4hov9n.fsf@kvakk.idb.hist.no> Subject: nnrpd going berserk (INN-1.5.1sec2, Linux pre-2.0.31-9) Date: Mon, 29 Sep 1997 00:00:00 +0000 From: Lars Syrstad <lars@idb.hist.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 276265190 Organization: Organleggers, Inc. Newsgroups: news.software.nntp,comp.os.linux.networking