🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Kosmita Tue, 07 Oct 2003 06:50
nnrpd memory leak
#66785
Author: Kosmita
Date: Tue, 07 Oct 2003 06:50
25 lines
1963 bytes
Hello,

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. After such an operation many articles get
mixed among different groups - complete mess. Any ideas why nnrpd behaves
this way ?

Config follows:
dual PIII 1GHz, 2GB RAM,  scsi disks server
linux redhat 7.3, innd 2.3.5 (compiled from source)
CNFS buffers in 10x2GB files with tradindx
Tried also innd 2.3.0 from redhat 7.3 distribution
but had the same effect.

Regards Jack



Re: nnrpd memory leak
#66794
Author: Jeffrey M. Vinocur
Date: Tue, 07 Oct 2003 17:54
37 lines
2241 bytes
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?


>After such an operation many articles get
>mixed among different groups - complete mess.

They shouldn't be in the wrong groups -- some might be "missing",
though.  Can you show us exactly what you mean by in the wrong
group.


>linux redhat 7.3, innd 2.3.5 (compiled from source)
>Tried also innd 2.3.0 from redhat 7.3 distribution
>but had the same effect.

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
Re: nnrpd memory leak
#66832
Author: 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,

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads