Thread View: news.software.nntp
11 messages
11 total messages
Started by Fu Bar
Wed, 25 Sep 1996 00:00
size of innd process
Author: Fu Bar
Date: Wed, 25 Sep 1996 00:00
Date: Wed, 25 Sep 1996 00:00
21 lines
1434 bytes
1434 bytes
Is there any limit to how big innd from 1.4unoff4 will get?
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
news 165 7.5 54.9 71392 70324 ? D Sep 5 2197:55
/usr/local/news/etc/innd -p4 -i0
This is after 20 days on a linux 2.0.16 system. Usually, it gets to
around 30mb after a few days, and stays there for a while. Are there some
memory leaks, or does innd do lots of internal caching of something? The
machine has lots of RAM...so I'm wondering if this is a bug, or just a
case of innd taking all the RAM it can reasonably get?
total used free shared buffers cached
Mem: 127948 125972 1976 9972 8172 22812
-/+ buffers: 94988 32960
Swap: 130748 1452 129296
Re: size of innd process
Author: Jonathan Larmour
Date: Thu, 26 Sep 1996 00:00
Date: Thu, 26 Sep 1996 00:00
29 lines
2034 bytes
2034 bytes
In article <Pine.LNX.3.95.960925162745.5319L-100000@yoda.fdt.net>, Fu Bar <fubar@gnv.fdt.net> wrote: >Is there any limit to how big innd from 1.4unoff4 will get? > >USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND >news 165 7.5 54.9 71392 70324 ? D Sep 5 2197:55 >/usr/local/news/etc/innd -p4 -i0 > >This is after 20 days on a linux 2.0.16 system. Usually, it gets to >around 30mb after a few days, and stays there for a while. Are there some One symptom of a memory leak is that the process just grows and grows. We see that here. But another symptom is that it grows, and when the "leaked" memory gets swapped out (which is guaranteed to happen with 2.0.16 as it has swap aging), it doesn't get swapped in again as it isn't accessed. Since your RSS is only just less than your size, I assume it _is_ actively using this memory and it isn't a leak. Assuming you have a large feed, perhaps someone else with a big feed will confirm this. Jonathan L. -- Origin UK, 323 Cambridge Science Park, Cambridge, England. CB4 4WG. -------[ Do not think that every sad-eyed woman has loved and lost... ]------ -----------------------[ she may have got him. -Anon ]----------------------- These opinions are all my own fault.
Re: size of innd process
Author: Matthew Ghio
Date: Thu, 26 Sep 1996 00:00
Date: Thu, 26 Sep 1996 00:00
18 lines
1306 bytes
1306 bytes
In article <Pine.LNX.3.95.960925162745.5319L-100000@yoda.fdt.net>, Fu Bar <fubar@gnv.fdt.net> wrote: >Is there any limit to how big innd from 1.4unoff4 will get? > >USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND >news 165 7.5 54.9 71392 70324 ? D Sep 5 2197:55 >/usr/local/news/etc/innd -p4 -i0 > >This is after 20 days on a linux 2.0.16 system. Usually, it gets to >around 30mb after a few days, and stays there for a while. Are there some >memory leaks, or does innd do lots of internal caching of something? The >machine has lots of RAM...so I'm wondering if this is a bug, or just a >case of innd taking all the RAM it can reasonably get? How big is your history file? INN will tend to load it all into memory.
Re: size of innd process
Author: Fu Bar
Date: Thu, 26 Sep 1996 00:00
Date: Thu, 26 Sep 1996 00:00
27 lines
1746 bytes
1746 bytes
On 26 Sep 1996, Jonathan Larmour wrote: > >USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND > >news 165 7.5 54.9 71392 70324 ? D Sep 5 2197:55 > >/usr/local/news/etc/innd -p4 -i0 > > > >This is after 20 days on a linux 2.0.16 system. Usually, it gets to > >around 30mb after a few days, and stays there for a while. Are there some > > Since your RSS is only just less than your size, I assume it _is_ actively > using this memory and it isn't a leak. Assuming you have a large feed, > perhaps someone else with a big feed will confirm this. I rebooted yesterday to upgrade to Linux 2.0.21 and the innd process is already quite large again: PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND 200 ? 552584 1116311 144 52832 53228 0 53228 948 252 13218 I do have a full feed from uunet...if you can call a uunet feed full, and have feeds going in and out to 5 additional servers, so we actually get a "full feed".
Re: size of innd process
Author: Dave Barr
Date: Fri, 27 Sep 1996 00:00
Date: Fri, 27 Sep 1996 00:00
23 lines
1258 bytes
1258 bytes
In article <Pine.LNX.3.95.960925162745.5319L-100000@yoda.fdt.net>, Fu Bar <fubar@gnv.fdt.net> wrote: >Is there any limit to how big innd from 1.4unoff4 will get? Try applying the patch mentioned in my INN page (http://www.math.psu.edu/barr/INN.html): ftp://ftp.math.psu.edu/pub/INN/patches/proctable-bug.patch While you're there look at ftp://ftp.math.psu.edu/pub/INN/patches/innd-idle-time.patch and ftp://ftp.math.psu.edu/pub/INN/patches/crosspost.patch If you don't like the fact that INN does loads history.pag into memory, try setting INND_DBZINCORE 0 in your config.data. This may help on servers with low memory. --Dave
Re: size of innd process
Author: Cor Bosman
Date: Fri, 27 Sep 1996 00:00
Date: Fri, 27 Sep 1996 00:00
29 lines
1833 bytes
1833 bytes
Jonathan Larmour <jlarmour@origin-at.co.uk> writes: >In article <Pine.LNX.3.95.960925162745.5319L-100000@yoda.fdt.net>, >Fu Bar <fubar@gnv.fdt.net> wrote: >>Is there any limit to how big innd from 1.4unoff4 will get? >> >>USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND >>news 165 7.5 54.9 71392 70324 ? D Sep 5 2197:55 >>/usr/local/news/etc/innd -p4 -i0 >> >>This is after 20 days on a linux 2.0.16 system. Usually, it gets to >>around 30mb after a few days, and stays there for a while. Are there some >One symptom of a memory leak is that the process just grows and grows. We >see that here. But another symptom is that it grows, and when the "leaked" >memory gets swapped out (which is guaranteed to happen with 2.0.16 as it >has swap aging), it doesn't get swapped in again as it isn't accessed. >Since your RSS is only just less than your size, I assume it _is_ actively >using this memory and it isn't a leak. Assuming you have a large feed, >perhaps someone else with a big feed will confirm this. We feed several hundred others, and the innd process is around 65mb. Seems to be correct. Cor
Re: size of innd process
Author: Fu Bar
Date: Sun, 29 Sep 1996 00:00
Date: Sun, 29 Sep 1996 00:00
22 lines
1431 bytes
1431 bytes
On 27 Sep 1996, Dave Barr wrote: > ftp://ftp.math.psu.edu/pub/INN/patches/proctable-bug.patch Applied that and recompiled/restarted innd last night, and after about 15 hours so far, its only up to 24mb. > ftp://ftp.math.psu.edu/pub/INN/patches/innd-idle-time.patch > and > ftp://ftp.math.psu.edu/pub/INN/patches/crosspost.patch Applied these both and some others. Idle time varies quite a bit on news.fdt.net. Anywhere from the 20's during expire to the 30's to 200's other times. I might try to hack some lines into innlog.awk to report average, min and max idle times. Anyone have a working shared active patch for linux 2.0.x? Last time I tried that, in.nnrpd would not run.
Re: size of innd process
Author: Fu Bar
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
14 lines
1116 bytes
1116 bytes
On 26 Sep 1996, Matthew Ghio wrote: > >USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND > >news 165 7.5 54.9 71392 70324 ? D Sep 5 2197:55 > >/usr/local/news/etc/innd -p4 -i0 > > How big is your history file? INN will tend to load it all into memory. About 120mb...but it's been that big for quite some time, and innd has only recently been getting huge.
Re: size of innd process
Author: Alan Brown
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
19 lines
1277 bytes
1277 bytes
In article <Pine.LNX.3.95.960929145514.214X-100000@yoda.fdt.net>, Fu Bar <fubar@gnv.fdt.net> wrote: >Anyone have a working shared active patch for linux 2.0.x? Last time I >tried that, in.nnrpd would not run. I'm running shared active with no trouble under 2.0.21 The secret is to update syslogd to sysklogd v 1.3 as the earlier versions block, which leads to lots of hangs. AB -- One net to rule them all, one net to find them, one net to bring them all, using Unix to bind them.
Re: size of innd process
Author: Chris Adams
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
21 lines
1513 bytes
1513 bytes
In article <52sjvg$l0@papaioea.manawatu.gen.nz>, Alan Brown <alan@papaioea.manawatu.gen.nz> wrote: >I'm running shared active with no trouble under 2.0.21 > >The secret is to update syslogd to sysklogd v 1.3 as the earlier versions >block, which leads to lots of hangs. Well, I tried running the shared active patch under RedHat 3.0.3 updated for kernel 2.0.9, which includes sysklogd 1.3, but I got hanging in.nnrpds in connect mode. What else did you change when you changed sysklogd? It isn't the problem. -- Chris Adams - cadams@ro.com - System Admin - Renaissance Internet Services "So, if anybody wants to have hardware sent to them: don't call me, but instead write your own unix operating system. It has worked every time for me." - Linus Torvalds, author of Linux (Unix-like) OS
Re: size of innd process
Author: Fu Bar
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
17 lines
1423 bytes
1423 bytes
On 2 Oct 1996, Alan Brown wrote: > I'm running shared active with no trouble under 2.0.21 > > The secret is to update syslogd to sysklogd v 1.3 as the earlier versions > block, which leads to lots of hangs. This should not be the problem. As you say, earlier syslogd's do an fsync after every entry (which is sort of like kicking the disks in the nuts every time you log something), but this heavy disk i/o should not cause in.nnrpd to fail. Also, sysklogd 1.3 is buggy. I've found it to be unreliable on busy systems. It tends to either stop logging or simply terminate after a while.
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