Thread View: news.software.nntp
11 messages
11 total messages
Started by Michael Beckmann
Sun, 29 Dec 1996 00:00
Huge nnrpd
Author: Michael Beckmann
Date: Sun, 29 Dec 1996 00:00
Date: Sun, 29 Dec 1996 00:00
22 lines
1248 bytes
1248 bytes
Hello, I am running INN 1.5.1 and sometimes I see some pretty large nnrpds. I know this problem has been covered in this group before, and someone said it was a newsreader issuing NEWNEWS commands. So I disallowed NEWNEWS in my config.data. But today I saw this again: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND news 18713 0.0 10.6 18532 17136 ?? SN 2:35PM 0:05.99 nnrpd: blah.de ARTICLE (nnrpd) news 24279 0.0 10.7 18532 17320 ?? SN 2:44PM 0:02.80 nnrpd: blah.de ARTICLE (nnrpd) Two processes, 17 Megs each. I am not very happy with that. What else can I do about it ? Thanks, Michael
Re: Huge nnrpd
Author: Kachun Lee
Date: Mon, 30 Dec 1996 00:00
Date: Mon, 30 Dec 1996 00:00
34 lines
1762 bytes
1762 bytes
In article <32C67C46.3A5A@apfel.de>, petzi@apfel.de says... > >Hello, > >I am running INN 1.5.1 and sometimes I see some pretty large nnrpds. I >know this problem has been covered in this group before, and someone >said it was a newsreader issuing NEWNEWS commands. So I disallowed >NEWNEWS in my config.data. But today I saw this again: > >USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND >news 18713 0.0 10.6 18532 17136 ?? SN 2:35PM 0:05.99 nnrpd: >blah.de ARTICLE (nnrpd) >news 24279 0.0 10.7 18532 17320 ?? SN 2:44PM 0:02.80 nnrpd: >blah.de ARTICLE (nnrpd) > >Two processes, 17 Megs each. I am not very happy with that. What else >can I do about it ? > >Thanks, That is due to accessing articles with the message ID using nnrpd that turns on in-core dbz, which will bring in the whole 1st history page incore. NEWNEWS used to be the command that triggered that. However, the newer news reader can now pull article list from one news server and retrieve articles from another news server using 'article <message_id>', so disable NEWNEWS is not enough. The real solution is either use MMAP dbz.o for nnrp or turnoff DBZDELAY totally.
Re: Huge nnrpd
Author: Per Hedeland
Date: Mon, 30 Dec 1996 00:00
Date: Mon, 30 Dec 1996 00:00
18 lines
1297 bytes
1297 bytes
[ Bogus Distribution: inet removed ] In article <5a6t85$huh@news1.exit109.com> jeremy@exit109.com (Jeremy) writes: >As you said, NEWNEWS doesn't seem to have anything to do with it. If >anyone has any suggestions, apart from amending our terms of service to >ban use of Free Agent, I would really appreciate it. Have you tried setting NNRP_DBZINCORE_DELAY to -1 in config.data? Or perhaps better, if your system has a working mmap(), add -DMMAP to DBZCFLAGS. This on the assumption that the problem is caused by nnrpd pulling history.pag into memory due to Message-ID lookups - which may be totally wrong, I have no idea what Free Agent is doing. --Per Hedeland per@erix.ericsson.se
Re: Huge nnrpd
Author: Fu Bar
Date: Mon, 30 Dec 1996 00:00
Date: Mon, 30 Dec 1996 00:00
23 lines
1614 bytes
1614 bytes
On 29 Dec 1996, Jeremy wrote: > >USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > >news 18713 0.0 10.6 18532 17136 ?? SN 2:35PM 0:05.99 nnrpd: > >blah.de ARTICLE (nnrpd) > >news 24279 0.0 10.7 18532 17320 ?? SN 2:44PM 0:02.80 nnrpd: > >blah.de ARTICLE (nnrpd) > > Anyway, to make a long story short, what I ended up doing, which I > consider a short-term solution only, was write a bot which watches for > nnrpd's over 10 megs and kills them. It's catching between 4 and 8 every If that's the way you want to deal with it in the short term, wouldn't use of setrlimit() in nnrpd make more sense? ------------------------------------------------------------------ Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will Network Administrator | be proof-read for $199/hr. ________Finger jlewis@inorganic5.fdt.net for PGP public key_______
Re: Huge nnrpd
Author: Steve Tupy
Date: Mon, 30 Dec 1996 00:00
Date: Mon, 30 Dec 1996 00:00
24 lines
1490 bytes
1490 bytes
So like, jeremy@exit109.com (Jeremy) was 'splainin' : >As you said, NEWNEWS doesn't seem to have anything to do with it. If >anyone has any suggestions, apart from amending our terms of service to >ban use of Free Agent, I would really appreciate it. These things get >very large VERY quickly and are taking down my server from time to time >before my bot can kill them -- and it runs every two minutes. Free Agent is not your culprit. Free Agent is not what is telling your server to go up 40 meg of useage. Try another one to test that theory but you will find that the opposite is true. I run Free Agent off my INN server and have about a 3K window of mem useage, so I suspect your system config or memory config... just my .02 cents.. :) Take care! *********************************************************** Steve Tupy CompuData Systems Home of Base Runner, Userstat, The Enforcer, SpotChek etc...
Re: Huge nnrpd
Author: Alan Brown
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
35 lines
2273 bytes
2273 bytes
In article <5a6t85$huh@news1.exit109.com>, Jeremy <jeremy@exit109.com> wrote: >them. They were just reading news, like always. The common element was >that they were all using Free Agent. Either something strange is going >on, or Free Agent is horribly broken. The big nnrpd's take anywhere from >20 to 45(!) megs of ram on my server, and occasionally even more. I'm picking a bug in the server software. I have a LOT of Free Agent users. It's the standard newsreader supplied to our users and most of our users are active Usenet readers. I'm still running 1.4.unoff4 plus 18 patches. I'd have noticed several 10+Mb processes running because I tend to leave top running on a screen attached to that machine to keep track of it. >As you said, NEWNEWS doesn't seem to have anything to do with it. If >anyone has any suggestions, apart from amending our terms of service to >ban use of Free Agent, I would really appreciate it. These things get >very large VERY quickly and are taking down my server from time to time >before my bot can kill them -- and it runs every two minutes. If it's a bug in Free Agent (which I really seriously doubt) then Forte will fall over themselves to fix it. They pride themselves on being "server friendly". AB -- o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html o Junk email returned, in bulk, back to sender; w/copies to all postmasters. o Received junkmail constitutes a request for site hacking to test security.
Re: Huge nnrpd
Author: Alan Brown
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
31 lines
1914 bytes
1914 bytes
In article <5a76v4$og9$1@news.du.etx.ericsson.se>, Per Hedeland <per@erix.ericsson.se> wrote: >DBZCFLAGS. This on the assumption that the problem is caused by nnrpd >pulling history.pag into memory due to Message-ID lookups - which may be >totally wrong, I have no idea what Free Agent is doing. Free Agent grabs articles in a 2 pass process. In the first pass it goes into each group and gets overview data for the entire group from the previous highwater mark. In the second pass it goes into each group and retrives the selected articles by message number in the group, not by message-ID. The 2nd pass usually happens in a 2nd connection and Free Agent is fairly scrupulous about sending a "quit" message - even when a user abort is sent it finishes whatever article it's grabbing and sends a quit. James, any idea why this would cause nnrpd to run amok? AB -- o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html o Junk email returned, in bulk, back to sender; w/copies to all postmasters. o Received junkmail constitutes a request for site hacking to test security.
Re: Huge nnrpd
Author: Larry Snyder
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
21 lines
1458 bytes
1458 bytes
Alan Brown wrote: > > In article <5a76v4$og9$1@news.du.etx.ericsson.se>, > Per Hedeland <per@erix.ericsson.se> wrote: > > >DBZCFLAGS. This on the assumption that the problem is caused by nnrpd > >pulling history.pag into memory due to Message-ID lookups - which may be > >totally wrong, I have no idea what Free Agent is doing. I also notice with top that some nnrp's are taking 16 megs. At any given time we might have 30-100 nnrps on this machine - which is a sparc 20 running inn1.5.1 with solaris 2.4 -- I have the -DMMAP enabled for DBZ, and change the buffer from 40 to -1 for incore DBZ lookups - and I'm still seeing 16 megs being taken from time to time larry
Re: Huge nnrpd
Author: James Brister
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
25 lines
1391 bytes
1391 bytes
alan@news.manawatu.gen.nz (Alan Brown) writes: > Free Agent grabs articles in a 2 pass process. > > In the first pass it goes into each group and gets overview data for the > entire group from the previous highwater mark. > > In the second pass it goes into each group and retrives the selected > articles by message number in the group, not by message-ID. > > The 2nd pass usually happens in a 2nd connection and Free Agent is fairly > scrupulous about sending a "quit" message - even when a user abort is sent > it finishes whatever article it's grabbing and sends a quit. > > James, any idea why this would cause nnrpd to run amok? No, I don't. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Re: Huge nnrpd
Author: Brandon Hume
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
15 lines
1131 bytes
1131 bytes
In news.software.nntp Kachun Lee <kachun@zippo.com> wrote: : The real solution is either use MMAP dbz.o for nnrp or turnoff DBZDELAY : totally. In the same situation, I just turned off DBZINCORE. I didn't really notice much of a performance hit, and it kept the machine alive (I also figured that with that much swapping going on in any event, trying to keep that whole thing in core wouldn't be any bonus anyways). -- Brandon Hume - hume@isisnet.com, hume@scapes.net - Finger for Geek codes, PGP, /dev/zero, yadda yadda.
Re: Huge nnrpd
Author: Per Hedeland
Date: Fri, 03 Jan 1997 00:00
Date: Fri, 03 Jan 1997 00:00
25 lines
1727 bytes
1727 bytes
In article <5aji5h$qth@library.airnews.net> jeremy@exit109.com (Jeremy) writes: >per@erix.ericsson.se (Per Hedeland) wrote: >> >>Have you tried setting NNRP_DBZINCORE_DELAY to -1 in config.data? Or >>perhaps better, if your system has a working mmap(), add -DMMAP to >>DBZCFLAGS. This on the assumption that the problem is caused by nnrpd >>pulling history.pag into memory due to Message-ID lookups - which may be >>totally wrong, I have no idea what Free Agent is doing. > >Okay, I did both of these things, and after watching it for a couple of >days, I see the problem has gone away. However, although the DBZINCORE >part is pretty obvious, I admit I don't fully understand the MMAP thing. > >My question is, are these two things redundant? That is, if I use MMAP, >is setting the DBZINCORE_DELAY to -1 no longer necessary Yes, if you use MMAP for dbz, the setting of DBZINCORE_DELAY is irrelevant - the dbzincore() call that nnrpd does after DBZINCORE_DELAY Message-ID lookups is then a no-op. --Per Hedeland per@erix.ericsson.se
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