🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83916

Re: innd using excessive memory

#83916
From: Julien ÉLIE
Date: Sun, 06 Mar 2011 20:21
38 lines
2771 bytes
Hi Steve,

> It isn't linked to expire/expireover times.
>
> Actually today the kernel did kill other processes first (mysql and
> apache).  I'm not sure how the oom-killer task sequences the order of
> killing.

Did you change other things at the same time you upgraded from a CURRENT 
version dating back to January, to the last CURRENT version?

I have just reviewed the changes made since January and do not see 
anything suspicious that could generate an increase in memory consumption.



> I'm very suspcious that it might be a Perl Regex backtracking issue.
> There have been some complex articles coming out of Newsguy lately that
> have locked up filtering by having thousands of consecutive vertical
> whitespace characters.  I'd have expected this to show up in tools like
> ps and top though.

Reloading Perl filters with "ctlinnd reload filter.perl ''" does not do 
the trick because Perl is not closed.  The interpreter is still here and 
the functions only re-evaluated.  Only a ctlinnd xexec command will 
work, but that's overkill…

Incidentally, what happens during regex backtracking issues?  Is innd 
hanging until the filter has processed the article?
I wonder whether a timeout could be put somewhere in Cleanfeed (or 
directly in innd and nnrpd?).  I do not know if and how Perl handles a 
run that takes too much time…

-- 
Julien ÉLIE

« Quand on aime on ne compte pas… Ça tombe bien, je suis mauvaise
   en calcul ! »
Technical Details
Message-ID: <8ti8loFce0U1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnin44gh.2pa.steve@news.mixmin.net> <8teos8F4l7U1@mid.individual.net> <slrnin592h.drg.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <8ti8loFce0U1@mid.individual.net>
Subject: Re: innd using excessive memory
Date: Sun, 06 Mar 2011 21:21:12 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrnin44gh.2pa.steve@news.mixmin.net> <8teos8F4l7U1@mid.individual.net> <slrnin592h.drg.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 38
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net hsfeHRZHWn/pTkA28RxdtwbPGipp36amM3XyBlZrBEmNCe08A=
Cancel-Lock: sha1:C6ESPWuPC56spbGl+ATwmPzTonk=
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <slrnin592h.drg.steve@news.mixmin.net>