🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83927

Re: innd using excessive memory

#83927
From: Steve Crook
Date: Wed, 16 Mar 2011 16:38
28 lines
2523 bytes
On 14 Mar 2011 12:00:55 GMT, Miquel van Smoorenburg wrote in
Message-Id: <4d7e0377$0$41113$e4fe514c@news.xs4all.nl>:

> Well, from the looks of it it's not innd that is using all memory.
> I mean it uses just 3.1 % of memory. Where did the other 96.9% go ?
> Looks like either the kernel is leaking memory or the RAM is being used
> by POSIX/Sysv SHM or tmpfs/ramfs instances.

Hi Mike,

Thanks for your feedback.  There appear to be two tempfs filesystems:-

Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 4.0G     0  4.0G   0% /lib/init/rw
tmpfs                 4.0G     0  4.0G   0% /dev/shm

I'm pretty convinced that this is a problem of some kind with Perl
filtering in inn.  Although I'd previously stated that the problem was
still occuring with filtering disabled, I think the constant crashes and
restarts were clouding the issue.

At the moment I've got a stable system with Perl filtering disabled and
I'm trying to reintroduce the filters in a gradual manner to isolate
what's causing the memory drain.  It's taking a long time as only
specifically crafted news articles trigger the problem.  It doesn't help
that I upgraded Lenny to Squeeze, compiled a new INN and updated
Cleanfeed all within a short period.  Bad planning!
Technical Details
Message-ID: <slrnio1psl.cv0.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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
References: <slrnin44gh.2pa.steve@news.mixmin.net> <slrnin9d36.drg.steve@news.mixmin.net> <4d75622a$0$81485$e4fe514c@news.xs4all.nl> <slrninbvso.drg.steve@news.mixmin.net> <4d7e0377$0$41113$e4fe514c@news.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrnio1psl.cv0.steve@news.mixmin.net>
Subject: Re: innd using excessive memory
Date: Wed, 16 Mar 2011 16:38:45 +0000
From: Steve Crook <steve@mixmin.net>
References: <slrnin44gh.2pa.steve@news.mixmin.net> <slrnin9d36.drg.steve@news.mixmin.net> <4d75622a$0$81485$e4fe514c@news.xs4all.nl> <slrninbvso.drg.steve@news.mixmin.net> <4d7e0377$0$41113$e4fe514c@news.xs4all.nl>
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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Injection-Date: Wed, 16 Mar 2011 16:38:45 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4";
 logging-data="22038"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-26 (Linux)
Lines: 28
X-Original-Bytes: 2334