🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5373

Re: Extremely large in.nnrpd processes

#5373
From: Joe Greco
Date: Thu, 29 Feb 1996 00:00
52 lines
2734 bytes
In news.software.nntp article <4h20n8$fn8@zip.io.org>, taob@zip.io.org (Brian Tao) wrote:
:    I'm running inn-1.4unoff3+sharedactive on a FreeBSD 2.1.0R
:machine.  Normally, ps reports each in.nnrpd occupies 200 to 300K of
:VSZ and about 1M of RSS (the in-core shared memory segment, I
:presume).  However, I occasionally see much larger in.nnrpd's.  They
:always seem to originate from the same hosts (many of our customers
:access the news server from a static IP connection).
:
:    For example, the typical in.nnrpd looks like this:
:
: %CPU %MEM   VSZ   RSS  TT  STAT STARTED   COMMAND
:  0.0  0.6   304   804  ??  SN   11:01AM   -dyna-119.net7a.io.org ARTICLE
:  0.0  0.9   304  1108  ??  SN   11:05AM   -max3-247.sound.net HELP
:  0.0  0.9   292  1168  ??  IN   11:07AM   -dyna-88.net7b.io.org ARTICLE
:
:
:    The large ones are like this:
:
: %CPU %MEM   VSZ   RSS  TT  STAT STARTED   COMMAND
:  0.0 10.6 12828 13680  ??  SN   10:11AM   -beach.net2.io.org ARTICLE
:  0.0 10.2 12808 13164  ??  SN   10:42AM   -excalibur.net5c.io.org article
:  0.0 10.2 12808 13168  ??  IN   11:01AM   -byron.net4.io.org ARTICLE
:
:    The fellow at byron.net4.io.org says he is using the NEWNEWS
:command to retrieve his news down to his Linux box.  I haven't
:contacted the other users yet to see if this is a common point between
:all of them.  But if I connect to the nntp port and issue the newnews
:command myself, I don't see this behaviour.
:
:    Could someone confirm if this kind of memory usage is in fact
:caused by the NEWNEWS command?

No, it is not.

NEWNEWS returns a list of article ID's.  The client then turns around and
requests zillions of them via

ARTICLE <message-id>

and nnrpd loads history.pag in core to do the lookups.  That's your extra
megabytes.

Suggestion: offer the guy a real feed.  These things drag your machine down
into oblivion when done this way.

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968

Technical Details
Message-ID: <4h56k1$6fm@brasil.moneng.mei.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-mail
References: <4h20n8$fn8@zip.io.org>

Show Full Headers
Complete Article Headers
Message-ID: <4h56k1$6fm@brasil.moneng.mei.com>
Subject: Re: Extremely large in.nnrpd processes
Date: Thu, 29 Feb 1996 00:00:00 +0000
From: jgreco@brasil.moneng.mei.com (Joe Greco)
References: <4h20n8$fn8@zip.io.org>
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: 141596711
Distribution: inet
Organization: Marquette Electronics, Inc. - Milwaukee, WI.
Newsgroups: news.software.nntp