Article View: news.software.nntp
Article #83917Re: innd using excessive memory
From: Steve Crook
Date: Mon, 07 Mar 2011 10:33
Date: Mon, 07 Mar 2011 10:33
33 lines
2916 bytes
2916 bytes
On Sun, 06 Mar 2011 21:21:12 +0100, Julien รLIE wrote in
Message-Id: <8ti8loFce0U1@mid.individual.net>:
> 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 upgraded the server from Debian Lenny to Squeeze about a week before.
It ran fine for that week but it's possible that something in Squeeze is
causing the problem.
> I have just reviewed the changes made since January and do not see
> anything suspicious that could generate an increase in memory consumption.
I'll do some more investigating and see what I can find. This morning
innd was still up and running following a restart at 2pm yesterday.
Memory usage is still high:
total used free
Mem: 8191300 8060992 130308
Swap: 4198928 138620 4060308
Nothing in 'top' shows what's consuming it all though.
> Incidentally, what happens during regex backtracking issues? Is innd
> hanging until the filter has processed the article?
Yes, I'd expect to see innd sat at 100% CPU and locked up until
processing of that article is completed.
> 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โฆ
I'll ask the question in some of the Perl groups and see if there's a
way to terminate the process and return cleanly. The other option is to
come up with a completely alternative method of recognising binary
content in articles. It's a part of Cleanfeed I've never been happy
with as multiline regex's seem to frequently cause problems.
Technical Details
Message-ID:
<slrnin9d36.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!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<slrnin44gh.2pa.steve@news.mixmin.net> <8teos8F4l7U1@mid.individual.net> <slrnin592h.drg.steve@news.mixmin.net> <8ti8loFce0U1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnin9d36.drg.steve@news.mixmin.net> Subject: Re: innd using excessive memory Date: Mon, 07 Mar 2011 10:33:10 +0000 From: Steve Crook <steve@mixmin.net> References: <slrnin44gh.2pa.steve@news.mixmin.net> <8teos8F4l7U1@mid.individual.net> <slrnin592h.drg.steve@news.mixmin.net> <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!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 7 Mar 2011 10:33:10 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="15135"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.0-26 (Linux) Lines: 33