Thread View: news.software.nntp
16 messages
16 total messages
Started by pete
Fri, 23 Feb 2001 14:43
large nnrpd processes
Author: pete
Date: Fri, 23 Feb 2001 14:43
Date: Fri, 23 Feb 2001 14:43
16 lines
1434 bytes
1434 bytes
hi we're running 2.3.1 on a freebsd 4.2 box with binaries in cnfs the rest in tradspool. each nnrpd process is ~12m, ~5m resident. for 100 users thats alot of memory. am i right in thinking it's because of the tradspool.map file that needs to be in memory? playing around putting eveything in cnfs seems to drop nnrpd down to 1.6m res. anyone have any tips on how to decrease nnrpd's size? pete
Re: large nnrpd processes
Author: Russ Allbery
Date: Fri, 23 Feb 2001 20:53
Date: Fri, 23 Feb 2001 20:53
19 lines
1571 bytes
1571 bytes
pete <pc@tsnz.net> writes:
> we're running 2.3.1 on a freebsd 4.2 box with binaries in cnfs the
> rest in tradspool.
> each nnrpd process is ~12m, ~5m resident. for 100 users thats alot of
> memory.
> am i right in thinking it's because of the tradspool.map file that
> needs to be in memory?
How many groups to you carry? How big is the tradspool.map file?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: large nnrpd processes
Author: pete
Date: Fri, 23 Feb 2001 23:08
Date: Fri, 23 Feb 2001 23:08
77 lines
4859 bytes
4859 bytes
Russ Allbery <rra@stanford.edu> wrote: >pete <pc@tsnz.net> writes: > >> we're running 2.3.1 on a freebsd 4.2 box with binaries in cnfs the >> rest in tradspool. > >> each nnrpd process is ~12m, ~5m resident. for 100 users thats alot of >> memory. > >> am i right in thinking it's because of the tradspool.map file that >> needs to be in memory? > >How many groups to you carry? How big is the tradspool.map file? raewyn:~/db$ wc -l active 64396 active raewyn:~/db$ wc -l ../spool/tradspool.map 64493 ../spool/tradspool.map raewyn:~/db$ ls -l ../spool/tradspool.map -rw-rw-r-- 1 news news 1740701 Feb 24 04:22 ../spool/tradspool.map if i make active 5 lines, rm tradspool.map and restart inn the nnrpd processes are under 2m, if i convert all groups to cnfs, rm tradespool.map and restart inn the nnrpd processes are under 2m. with binaries in cnfs and the rest in traditional spool nnrpd blows up. we initially were running everything in tradspool and added the binaries cnfs later. thanx pete a bit of top output: last pid: 91741; load averages: 0.27, 0.41, 0.46 up 1+20:57:27 11:59:10 72 processes: 1 running, 71 sleeping CPU states: 10.1% user, 0.0% nice, 5.1% system, 1.8% interrupt, 83.1% idle Mem: 600M Active, 275M Inact, 99M Wired, 29M Cache, 112M Buf, 2260K Free Swap: 256M Total, 3060K Used, 253M Free, 1% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 181 news -6 0 75696K 49160K biord 1 346:03 21.00% 21.00% innd 91741 news 2 4 14224K 12132K select 1 0:00 13.66% 1.90% nnrpd 91738 news 2 4 14328K 9740K sbwait 0 0:01 5.18% 1.71% nnrpd 91737 news 2 4 14224K 9640K select 0 0:00 4.73% 1.56% nnrpd 81331 news -6 0 103M 99M biord 1 7:05 0.24% 0.24% expire 91739 news 28 0 1980K 1080K CPU1 0 0:00 0.38% 0.10% top 80 root 2 0 924K 440K select 0 6:28 0.00% 0.00% syslogd 214 news 10 0 668K 228K wait 1 0:17 0.00% 0.00% sh 153 root 2 -12 1260K 564K select 1 0:15 0.00% 0.00% ntpd 151 root 10 0 908K 136K nanslp 0 0:14 0.00% 0.00% ipmon 89735 news 2 4 14276K 10344K sbwait 0 0:08 0.00% 0.00% nnrpd 104 root 2 0 2016K 620K select 0 0:02 0.00% 0.00% sshd 89337 news 2 4 14224K 8228K select 1 0:02 0.00% 0.00% nnrpd 90812 news 2 4 14580K 9492K select 0 0:02 0.00% 0.00% nnrpd 89650 news 2 4 14356K 8504K sbwait 0 0:02 0.00% 0.00% nnrpd 89641 news 2 4 14224K 8372K select 0 0:02 0.00% 0.00% nnrpd 91332 news 2 4 14444K 9444K select 0 0:01 0.00% 0.00% nnrpd 88861 news 2 4 14376K 8196K select 1 0:01 0.00% 0.00% nnrpd 596 root 2 0 2048K 456K select 0 0:01 0.00% 0.00% sshd 101 root 10 0 960K 484K nanslp 1 0:01 0.00% 0.00% cron 91698 news 2 4 14292K 9736K select 0 0:01 0.00% 0.00% nnrpd 90273 news 2 4 14240K 8948K select 1 0:01 0.00% 0.00% nnrpd 91659 news 2 4 14232K 9392K select 0 0:01 0.00% 0.00% nnrpd 91217 news 2 4 14376K 9340K sbwait 0 0:01 0.00% 0.00% nnrpd 90587 news 2 4 14224K 8960K select 0 0:01 0.00% 0.00% nnrpd 91465 news 2 4 14240K 9188K select 1 0:01 0.00% 0.00% nnrpd 91022 news 2 4 14388K 9468K sbwait 0 0:01 0.00% 0.00% nnrpd 91108 news 2 4 14288K 9196K sbwait 1 0:01 0.00% 0.00% nnrpd 91362 news 2 4 14224K 9660K select 1 0:01 0.00% 0.00% nnrpd 91714 news 2 4 14240K 9400K select 0 0:01 0.00% 0.00% nnrpd 90171 news 2 4 9296K 8140K select 0 0:01 0.00% 0.00% innfeed
Re: large nnrpd processes
Author: Russ Allbery
Date: Fri, 23 Feb 2001 23:57
Date: Fri, 23 Feb 2001 23:57
27 lines
2067 bytes
2067 bytes
pete <pc@tsnz.net> writes:
> raewyn:~/db$ wc -l active
> 64396 active
> raewyn:~/db$ wc -l ../spool/tradspool.map
> 64493 ../spool/tradspool.map
> raewyn:~/db$ ls -l ../spool/tradspool.map
> -rw-rw-r-- 1 news news 1740701 Feb 24 04:22 ../spool/tradspool.map
> if i make active 5 lines, rm tradspool.map and restart inn the nnrpd
> processes are under 2m,
Yup, the combination of active and tradspool.map is what's bloating the
size of your nnrpd processes. The space used by active should be *mostly*
shared, but tradspool.map isn't.
I'm not sure of a good solution for this; the only things that I can think
of are rather complicated and would require running nnrpd in daemon mode.
The size of tradspool.map can't be shrunken much because it needs to store
the names of the newsgroups.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: large nnrpd processes
Author: pete
Date: Sat, 24 Feb 2001 00:22
Date: Sat, 24 Feb 2001 00:22
15 lines
1631 bytes
1631 bytes
Russ Allbery <rra@stanford.edu> wrote: >Yup, the combination of active and tradspool.map is what's bloating the >size of your nnrpd processes. The space used by active should be *mostly* >shared, but tradspool.map isn't. thanx russ i'll try and get more groups into cnfs. am i ok to stop inn, move groups to cnfs, rm tradspool.map, restart inn and tradspool.map will be recreated with less groups? pete
Re: large nnrpd processes
Author: Miquel van Smoorenburg
Date: Sat, 24 Feb 2001 00:39
Date: Sat, 24 Feb 2001 00:39
14 lines
1704 bytes
1704 bytes
In article <yld7c9rm06.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >I'm not sure of a good solution for this; the only things that I can think >of are rather complicated and would require running nnrpd in daemon mode. >The size of tradspool.map can't be shrunken much because it needs to store >the names of the newsgroups. So, are there plans for 2.4 to put the tradspool.map info into the active file ? Mike. -- I live the way I type; fast, with a lot of mistakes.
Re: large nnrpd processes
Author: Russ Allbery
Date: Sat, 24 Feb 2001 00:52
Date: Sat, 24 Feb 2001 00:52
22 lines
2015 bytes
2015 bytes
pete <pc@tsnz.net> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> Yup, the combination of active and tradspool.map is what's bloating the
>> size of your nnrpd processes. The space used by active should be
>> *mostly* shared, but tradspool.map isn't.
> i'll try and get more groups into cnfs. am i ok to stop inn, move groups
> to cnfs, rm tradspool.map, restart inn and tradspool.map will be
> recreated with less groups?
No, that could result in a different number being assigned to the group as
was assigned the first time, which would be really bad. You'll need to
remove the lines for the groups that you've moved from tradspool.map by
hand while INN is stopped.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: large nnrpd processes
Author: Russ Allbery
Date: Sat, 24 Feb 2001 00:54
Date: Sat, 24 Feb 2001 00:54
21 lines
1961 bytes
1961 bytes
Miquel van Smoorenburg <miquels@cistron-office.nl> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> I'm not sure of a good solution for this; the only things that I can
>> think of are rather complicated and would require running nnrpd in
>> daemon mode. The size of tradspool.map can't be shrunken much because
>> it needs to store the names of the newsgroups.
> So, are there plans for 2.4 to put the tradspool.map info into
> the active file ?
Not for 2.4 unless someone gets a chance to do the work; I have too much
already on my plate to make 2.4 with that. I think it's high on the list
of things to do for 2.5, though.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: large nnrpd processes
Author: bill davidsen
Date: Tue, 06 Mar 2001 15:54
Date: Tue, 06 Mar 2001 15:54
22 lines
2297 bytes
2297 bytes
In article <yld7c9rm06.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | Yup, the combination of active and tradspool.map is what's bloating the | size of your nnrpd processes. The space used by active should be *mostly* | shared, but tradspool.map isn't. | | I'm not sure of a good solution for this; the only things that I can think | of are rather complicated and would require running nnrpd in daemon mode. | The size of tradspool.map can't be shrunken much because it needs to store | the names of the newsgroups. Is there a reason not to run as daemon? I have been running my innd on the usual alternate feed port and a daemon on nntp (119) port. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc At LinuxExpo Sun was showing Linux applications running on Solaris. They don't get it, the arrow points the other way. There's a reason why there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a religion, a way of life, and only incidentally an operating system.
Re: large nnrpd processes
Author: Russ Allbery
Date: Wed, 07 Mar 2001 03:01
Date: Wed, 07 Mar 2001 03:01
15 lines
1690 bytes
1690 bytes
bill davidsen <davidsen@tmr.com> writes:
> Is there a reason not to run as daemon? I have been running my innd on
> the usual alternate feed port and a daemon on nntp (119) port.
There was a thread here about it a while back; basically, there are a few
things about it that are kind of odd and that I want to clean up. But no,
other than that, not really.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: large nnrpd processes
Author: Karsten Thygesen
Date: Wed, 07 Mar 2001 09:02
Date: Wed, 07 Mar 2001 09:02
15 lines
1848 bytes
1848 bytes
>>>>> "bill" == bill davidsen <davidsen@tmr.com> writes: bill> Is there a reason not to run as daemon? I have been running bill> my innd on the usual alternate feed port and a daemon on nntp bill> (119) port. What is "the ususal alternate feed port"? I have seen so many different ports in use, and I'm currently migrating to INN (again :-), and would like to get it "right". So, I know there is no standard, but are there any consensus? Best regards, Karsten SunSITE.dk
Re: large nnrpd processes
Author: Andrew Gierth
Date: Wed, 07 Mar 2001 09:11
Date: Wed, 07 Mar 2001 09:11
15 lines
1716 bytes
1716 bytes
>>>>> "Karsten" == Karsten Thygesen <karthy@SunSITE.dk> writes: >>>>> "bill" == bill davidsen <davidsen@tmr.com> writes: bill> Is there a reason not to run as daemon? I have been running my bill> innd on the usual alternate feed port and a daemon on nntp bill> (119) port. Karsten> What is "the ususal alternate feed port"? 433 (usually listed as "nnsp" in /etc/services - and yes, this _is_ what it was registered for use as.) -- Andrew.
Re: large nnrpd processes
Author: Partitioned Meowbot
Date: Wed, 07 Mar 2001 09:21
Date: Wed, 07 Mar 2001 09:21
14 lines
2070 bytes
2070 bytes
Karsten Thygesen <karthy@SunSITE.dk> wrote: > What is "the ususal alternate feed port"? I have seen so many > different ports in use, and I'm currently migrating to INN (again :-), > and would like to get it "right". So, I know there is no standard, but > are there any consensus? There are the tattered remnants of a standard. Port 433 is reserved for just this purpose, but the official split of NNTP into separate reader and server protocols never happened. There is also the mysterious port 532, reserved for some kind of news thing that nobody seems to remember.
Re: large nnrpd processes
Author: Karsten Thygesen
Date: Wed, 07 Mar 2001 09:51
Date: Wed, 07 Mar 2001 09:51
24 lines
2246 bytes
2246 bytes
>>>>> "AG" == Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: >>>>> "Karsten" == Karsten Thygesen <karthy@SunSITE.dk> writes: >>>>> "bill" == bill davidsen <davidsen@tmr.com> writes: bill> Is there a reason not to run as daemon? I have been running my bill> innd on the usual alternate feed port and a daemon on nntp bill> (119) port. Karsten> What is "the ususal alternate feed port"? AG> 433 (usually listed as "nnsp" in /etc/services - and yes, this AG> _is_ what it was registered for use as.) Hmm..Ok - that leads me to the next question :-) - is there any way to make INN listen to both port 119 and 433 (or some other port)? My "problem" is, that today I have my news router on port 434 and my reader on 119 and I would like to merge both into INN. Perhaps I should just make INN listen to 434 and nnrpd on 119? Karsten
Re: large nnrpd processes
Author: Russ Allbery
Date: Wed, 07 Mar 2001 10:03
Date: Wed, 07 Mar 2001 10:03
13 lines
1708 bytes
1708 bytes
Karsten Thygesen <karthy@SunSITE.dk> writes:
> Perhaps I should just make INN listen to 434 and nnrpd on 119?
That's the recommendation. It's a bit annoying to try to do the
switchover, but then everything becomes much cleaner.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: large nnrpd processes
Author: bill davidsen
Date: Wed, 14 Mar 2001 16:16
Date: Wed, 14 Mar 2001 16:16
17 lines
1839 bytes
1839 bytes
In article <ylelw999q3.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | Karsten Thygesen <karthy@SunSITE.dk> writes: | | > Perhaps I should just make INN listen to 434 and nnrpd on 119? | | That's the recommendation. It's a bit annoying to try to do the | switchover, but then everything becomes much cleaner. That's the way I run most of my systems, with "readers: no" in inn.conf and daemon nnrpd. But I use the more standard 433 for innd. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "I am lost. I am out looking for myself. If I should come back before I return, please ask me to wait." -seen in a doctor's office
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