Thread View: news.software.nntp
12 messages
12 total messages
Started by News Admin
Mon, 07 Jul 1997 00:00
nnrpd problems
Author: News Admin
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
18 lines
903 bytes
903 bytes
I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes we will see 10 or more nnrpd processes using 18megs of memory *each*. Doesn't take long to eat up all the available ram and get into swap that way :-) I am running INN v1.5.1 on BSDI 2. Compilation was done sans mmap. Has anyone seen this before? Any suggestions or questions welcomed. Thanks, Dave
Re: nnrpd problems
Author: Scott W. Gifford
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
20 lines
1116 bytes
1116 bytes
> I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes > we will see 10 or more nnrpd processes using 18megs of memory *each*. > > I am running INN v1.5.1 on BSDI 2. Compilation was done sans mmap. > > Has anyone seen this before? If it makes you feel any better, I'm having the same problem...Haven't been able to figure out why it's sucking up all that memory. My system is a Sparc/Solaris 2.5 system compiled with MMAP. So I have no help to offer, but some consolation. :-) -----Scott.
Re: nnrpd problems
Author: Jeremy
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
25 lines
1589 bytes
1589 bytes
David Van Cleef <dvc@gol.com> wrote: >On Mon, 7 Jul 1997 22:13:08 -0500, News Admin <dbtech@dbtsvr2.dbtech.net> wrote: > >>I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes >>we will see 10 or more nnrpd processes using 18megs of memory *each*. > >We are seeing it here as well. I really hate BSDI. > >>Doesn't take long to eat up all the available ram and get into swap that >>way :-) > >Our solution was to run a cron to kill off oversize nnrpds, throw more memory >at the reader machine and pray real hard that it'll survive long enough to >migrate to the new iron that's sitting in the back room waiting for enough >electric capacity to turn it on... Mine was to change DBZ_INCORE_DELAY to -1 and recompile. Cleared the problem right up. On BSDI, no less. :) -- Jeremy | jeremy@exit109.com "Do you think a princess, and a guy like me..." --Han Solo
Re: nnrpd problems
Author: Scott W. Gifford
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
13 lines
1064 bytes
1064 bytes
> Not by 18MB. They're almost definitely seeing their history file being > mapped incore. Make sure DBZ_INCORE (?) is set to -1. actived will help > too. > Looks like you're right. It's NNRP_DBZINCORE_DELAY, and mine was set to 40; docs say that means that anybody who reads more than 40 articles would have the history file go into core. I'll make the change and recompile, and post back how things go...
Re: nnrpd problems
Author: Joe Greco
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
22 lines
1349 bytes
1349 bytes
In news.software.nntp article <33C22794.7566@raleigh.ibm.com>, John Payne <john@raleigh.ibm.com> wrote: :News Admin wrote: :> :> I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes :> we will see 10 or more nnrpd processes using 18megs of memory *each*. :> :> Doesn't take long to eat up all the available ram and get into swap that :> way :-) : :Tried Joe's actived patch? I, and others, have seen drastic reductions :in the size of nnrpd Not by 18MB. They're almost definitely seeing their history file being mapped incore. Make sure DBZ_INCORE (?) is set to -1. actived will help too. There's nothing wrong with BSDI. Other than it's not free. :-) ... JG
Re: nnrpd problems
Author: John Payne
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
18 lines
1203 bytes
1203 bytes
News Admin wrote:
>
> I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes
> we will see 10 or more nnrpd processes using 18megs of memory *each*.
>
> Doesn't take long to eat up all the available ram and get into swap that
> way :-)
Tried Joe's actived patch? I, and others, have seen drastic reductions
in the size of nnrpd
--
John Payne | VM: JOHN at RTP
IBM Global Services NS | email: john@raleigh.ibm.com
OpenNet Services (EMEA) | Intranet http://w3.irc.ibm.com/jpayne
Re: nnrpd problems
Author: David Van Cleef
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
23 lines
1443 bytes
1443 bytes
On Mon, 7 Jul 1997 22:13:08 -0500, News Admin <dbtech@dbtsvr2.dbtech.net> wrote: > >I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes >we will see 10 or more nnrpd processes using 18megs of memory *each*. We are seeing it here as well. I really hate BSDI. >Doesn't take long to eat up all the available ram and get into swap that >way :-) Our solution was to run a cron to kill off oversize nnrpds, throw more memory at the reader machine and pray real hard that it'll survive long enough to migrate to the new iron that's sitting in the back room waiting for enough electric capacity to turn it on... >I am running INN v1.5.1 on BSDI 2. Compilation was done sans mmap. Have I mentioned how much I hate BSDI? -- David Van Cleef - Global Online Japan dvc@gol.com - Engineering Department
Re: nnrpd problems
Author: Joe Greco
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
19 lines
1517 bytes
1517 bytes
In news.software.nntp article <01bc8be9$3e0fe080$f8298acd@sgifford.tir.com>, "Scott W. Gifford" <sgifford@tir.com> wrote: :> Not by 18MB. They're almost definitely seeing their history file being :> mapped incore. Make sure DBZ_INCORE (?) is set to -1. actived will help :> too. : : Looks like you're right. It's NNRP_DBZINCORE_DELAY, and mine was set to :40; docs say that means that anybody who reads more than 40 articles would :have the history file go into core. I'll make the change and recompile, :and post back how things go... Read again. It says people doing retrieval by Message-ID. You probably don't want to encourage people to use readers that do that, anyways, as it's extra CPU and I/O to do it. Find the folks who are doing it, and kill them. :-) ... JG
Re: nnrpd problems
Author: paul
Date: Wed, 09 Jul 1997 00:00
Date: Wed, 09 Jul 1997 00:00
31 lines
1960 bytes
1960 bytes
Scott W. Gifford <sgifford@tir.com> wrote: > > I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes > > we will see 10 or more nnrpd processes using 18megs of memory *each*. > > > > I am running INN v1.5.1 on BSDI 2. Compilation was done sans mmap. > > > > Has anyone seen this before? > If it makes you feel any better, I'm having the same problem...Haven't > been able to figure out why it's sucking up all that memory. My system is > a Sparc/Solaris 2.5 system compiled with MMAP. > So I have no help to offer, but some consolation. :-) I think it's a non-problem. I started getting these large nnrpd's after I recompiled with MMAP recently (also running actived, under sparc/solaris 2.5.1). Well, a quick look at the memory map with /usr/proc/bin/pmap <pid> shows the 38meg that my process is consuming is read/write/shared. I'm no rocket scientist when it comes to these particular issues, but that tells me that it's not "really" using 38megs for each of those nnrpds - it's just that top and ps are giving a false picture of memory usage. I've noticed no degradation of performance with even a few dozen of the "giant" nnrpd's running while under full load. -- Paul Theodoropoulos admin@wco.com VP, West Coast Online, Inc. All work and no play makes Paul a normal system administrator
Re: nnrpd problems
Author: aos
Date: Wed, 09 Jul 1997 00:00
Date: Wed, 09 Jul 1997 00:00
22 lines
1711 bytes
1711 bytes
> I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes > we will see 10 or more nnrpd processes using 18megs of memory *each*. As long as only *some* of your nnrpd processes are doing this, not all, it sounds like some of your clients are not using the XOVER command (to use overview files). If a client connects and doesn't issue an XOVER (someone correct me if I'm wrong), the nnrpd will read the entire history file into memory, thus ending up with the massive size. You might want to run a program like lsof on the pid of the offending nnrpd's and see what's actually taking all that space. You can also find out which IP address is connected to that reader process and perhaps ask the customer if he can use an XOVER compatible client... -- Andrew Smith -- Sysadmin, Insync Internet Services | PGP Fingerprint: ----------------------------------------------------| 2A 50 AE 6D 51 53 18 77 "A lot of people are afraid to listen, because what | F7 6C E9 2E E9 E1 59 2C they hear may make them change." --Gloria Gery | (finger for full key)
Re: nnrpd problems
Author: News Admin
Date: Wed, 09 Jul 1997 00:00
Date: Wed, 09 Jul 1997 00:00
36 lines
1751 bytes
1751 bytes
On 8 Jul 1997, Joe Greco wrote: > In news.software.nntp article <33C22794.7566@raleigh.ibm.com>, John Payne <john@raleigh.ibm.com> wrote: > :News Admin wrote: > :> > :> I am seeing some bizarre nnrp behavior regarding memory usage. Sometimes > :> we will see 10 or more nnrpd processes using 18megs of memory *each*. > :> > :> Doesn't take long to eat up all the available ram and get into swap that > :> way :-) > : > :Tried Joe's actived patch? I, and others, have seen drastic reductions > :in the size of nnrpd > > Not by 18MB. They're almost definitely seeing their history file being > mapped incore. Make sure DBZ_INCORE (?) is set to -1. actived will help > too. > > There's nothing wrong with BSDI. Other than it's not free. :-) > > ... JG I have made the suggested change and re-compiled. I guess time will tell at this point :-) Just for the record, a tcpdump of the offending readers indicated an automated article collection. I still haven't been able to find out what the name of the reader is. Many thanks for the suggestion! Dave
Re: nnrpd problems
Author: Dave Rose
Date: Thu, 10 Jul 1997 00:00
Date: Thu, 10 Jul 1997 00:00
28 lines
1669 bytes
1669 bytes
aos@insync.net wrote:
> You might want to run a program like lsof on the pid of the offending
> nnrpd's and see what's actually taking all that space. You can also find
> out which IP address is connected to that reader process and perhaps ask
> the customer if he can use an XOVER compatible client...
Any tricks to running lsof on a solaris 2.5.1 box? I get the following:
20675 news 21 4 4320K 3652K sleep 0:01 1.26% 1.12% nnrpd
postern # lsof -p 20675
lsof: can't read proc table
===============================================================
___ c/o Computer Services
Dave Rose | |__ The University of Manitoba
|MBnet/ 603 Engineering Building
System Administrator | / 15 Gilson Street
Voice: (204) 474-7465 | | Winnipeg, Manitoba
FAX: (204) 474-7515 |____| R3T 5V6
===============================================================
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