🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66832

Re: nnrpd memory leak

#66832
From: Kosmita
Date: Tue, 14 Oct 2003 10:58
37 lines
2447 bytes
U¿ytkownik "Jeffrey M. Vinocur" <jeff@litech.org> napisa³ w wiadomo¶ci
news:bluukn$tqs$2@puck.litech.org...
> In article <bltoir$hsa$1@absinth.dialog.net.pl>,
> Kosmita <sdfkl@sdljkf.pl> wrote:
> >
> >I have the following problem: from time to time (sometimes twice a day, other
> >time once a week) one of nnrpd processes is growing suddenly (in 1-5 minutes)
> >up to 2GB in size, consuming all memory on my news serwer. Then I get
> >following messages in system log:
> >kernel: Out of Memory: Killed process 10579 (nnrpd).
> >kernel: VM: killing process nnrpd
> >Sometimes while this happens the machine freezes and the only way to get it
> >back to work is unplug power.
>
> This is astonishingly strange.
>
> If you are quick, perhaps you wait for an nnrpd to start growing,
> and attach gdb and get a backtrace?
> If you want to try something, 2.4.0 or the latest STABLE snapshot
> might be worth a shot.
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org

Hello,

Setting:
nnrpdcheckart:          true
solved my problem.
Some articles had wrong size (from hundreds of MB to couple of GB)
and nnrpd was trying to malloc that amount of memory.
Now it's working fine.

Thanks for help anyway,

Technical Details
Message-ID: <bmgkvg$5tu$1@absinth.dialog.net.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!opal.futuro.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!news.dialog.net.pl!not-for-mail
References: <bltoir$hsa$1@absinth.dialog.net.pl> <bluukn$tqs$2@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <bmgkvg$5tu$1@absinth.dialog.net.pl>
Subject: Re: nnrpd memory leak
Date: Tue, 14 Oct 2003 12:58:36 +0200
From: "Kosmita" <sdfkl@sdljkf.pl>
References: <bltoir$hsa$1@absinth.dialog.net.pl> <bluukn$tqs$2@puck.litech.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!opal.futuro.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!news.dialog.net.pl!not-for-mail
Newsgroups: news.software.nntp
Organization: Dialog Net
Lines: 37
NNTP-Posting-Host: s-01.wroclaw.dialog.net.pl
X-Trace: absinth.dialog.net.pl 1066129200 6078 217.30.129.157 (14 Oct 2003
X-Complaints-To: http://www.dialog.pl/dialog/internet/internet.php?id=41
NNTP-Posting-Date: Tue, 14 Oct 2003 11:00:00 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165