Article View: news.software.nntp
Article #50781Re: large nnrpd processes
From: 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
Technical Details
Message-ID:
<bqqd9tg0hg1r1db27n60ole4r3j53drhmo@4ax.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!209.81.14.120!feeder.via.net!enews.sgi.com!news.xtra.co.nz!newsfeed01.tsnz.net!news01.tsnz.net!not-for-mailReferences:
<6etc9t4ub0789erqtu6sgt16la47l0as99@4ax.com> <yl8zmxw27h.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <bqqd9tg0hg1r1db27n60ole4r3j53drhmo@4ax.com> Subject: Re: large nnrpd processes Date: Sat, 24 Feb 2001 12:08:36 +1300 From: pete <pc@tsnz.net> References: <6etc9t4ub0789erqtu6sgt16la47l0as99@4ax.com> <yl8zmxw27h.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!209.81.14.120!feeder.via.net!enews.sgi.com!news.xtra.co.nz!newsfeed01.tsnz.net!news01.tsnz.net!not-for-mail Newsgroups: news.software.nntp Organization: TelstraSaturn Lines: 76 NNTP-Posting-Host: 203-79-72-32.cable.paradise.net.nz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: raewyn.paradise.net.nz 982969714 92029 203.79.72.32 (23 Feb 2001 23:08:34 GMT) X-Complaints-To: abuse@tsnz.net NNTP-Posting-Date: Fri, 23 Feb 2001 23:08:34 +0000 (UTC) X-Newsreader: Forte Agent 1.8/32.548