🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83908

innd using excessive memory

#83908
From: Steve Crook
Date: Sat, 05 Mar 2011 10:36
47 lines
3093 bytes
Hi all,

Two days ago I upgraded to INN 2.6.0 (20110303 prerelease).  Since then,
each night the server has exhausted its memory and started killing
processes, starting with innd.

Mar  5 02:44:43 news kernel: [45680.742618] innd invoked oom-killer:
gfp_mask=0x280da, order=0, oom_adj=0
Mar  5 02:44:43 news kernel: [45680.742621] innd cpuset=/ mems_allowed=0
Mar  5 02:44:43 news kernel: [45680.742623] Pid: 2133, comm: innd Not
tainted 2.6.32-5-amd64 #1
Mar  5 02:44:43 news kernel: [45680.742625] Call Trace:
Mar  5 02:44:43 news kernel: [45680.742630]  [<ffffffff810b5e98>] ?
oom_kill_process+0x7f/0x23f
Mar  5 02:44:43 news kernel: [45680.742633]  [<ffffffff810b63bc>] ?
__out_of_memory+0x12a/0x141
Mar  5 02:44:43 news kernel: [45680.742635]  [<ffffffff810b6513>] ?
out_of_memory+0x140/0x172
Mar  5 02:44:43 news kernel: [45680.742637]  [<ffffffff810ba271>] ?
__alloc_pages_nodemask+0x4e5/0x5f4
Mar  5 02:44:43 news kernel: [45680.742640]  [<ffffffff810bc229>] ?
____pagevec_lru_add+0x160/0x176
Mar  5 02:44:43 news kernel: [45680.742643]  [<ffffffff810cc725>] ?
handle_mm_fault+0x27a/0x80f
Mar  5 02:44:43 news kernel: [45680.742647]  [<ffffffff812fe0b6>] ?
do_page_fault+0x2e0/0x2fc
Mar  5 02:44:43 news kernel: [45680.742650]  [<ffffffff812fbf55>] ?
page_fault+0x25/0x30

Although the process was killed, the memory doesn't appear to be
released, but no more is consumed.  The kernel then goes on to kill
a few more heavy processes until a stable state is achieved.  At the
moment, top is showing:

Mem:   8191300k total,  2439904k used,  5751396k free,    31804k buffers
Swap:  4198928k total,        0k used,  4198928k free,  1837468k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2497 news      20   0  448m 244m 188m D    9  3.1   1:16.51 innd

This is about 15 minutes after a reboot and it will continue rise
at a steady rate until the server kills it again.  If there's any more
info I can provide to help locate the cause, please let me know.

Server is configured with:
./configure --with-perl --with-openssl
--with-sendmail=/usr/sbin/sendmail --enable-ipv6
Technical Details
Message-ID: <slrnin44gh.2pa.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!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrnin44gh.2pa.steve@news.mixmin.net>
Subject: innd using excessive memory
Date: Sat, 05 Mar 2011 10:36:01 +0000
From: Steve Crook <steve@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!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Injection-Date: Sat, 5 Mar 2011 10:36:01 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4";
 logging-data="2862"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-26 (Linux)
Lines: 46