RE: NNTPC: Performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using redhat 6.2 - kernel 2.2.19. nocem is off

here is an output of ps -auwxf | grep nntp and top

news     23338 90.8  0.2 67092  904 ?        R    Apr20 3843:33 nntpcache:
waiting for connections                                  
news     30224  0.6  0.2 67252 1124 ?        RN   08:58   0:00  \_
nntpcache: unknown@ns.mustek.co.za [alt.binaries.pictures.centerf
news     30225  0.2  0.2 67248 1120 ?        RN   08:58   0:00  \_
nntpcache: unknown@ns.mustek.co.za [alt.binaries.pictures.centerf

  8:59am  up 36 days, 21:03,  2 users,  load average: 2.77, 2.61, 2.54
28 processes: 24 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 48.7% user, 38.4% system, 10.2% nice,  2.5% idle
Mem:  387460K av, 384200K used,   3260K free,   9348K shrd, 318960K buff
Swap: 527828K av,    912K used, 526916K free                 22704K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
23338 news      10   0   904  904   756 R       0 86.7  0.2  3844m
nntpcached
31046 root      19  19 15876  15M   560 R N     0 10.3  4.0 18033m
setiathome
30248 root       1   0  1016 1016   832 R       0  1.3  0.2   0:00 top
    1 root       0   0   124   72    60 S       0  0.0  0.0   0:55 init
    2 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 SW      0  0.0  0.0   1:14 kupdate
    4 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kpiod
    5 root       0   0     0    0     0 SW      0  0.0  0.0   0:33 kswapd
    6 root     -20 -20     0    0     0 SW<     0  0.0  0.0   0:00
mdrecoveryd
  320 bin        0   0   248  212   164 S       0  0.0  0.0   0:00 portmap
  394 daemon     0   0   144  104    76 S       0  0.0  0.0   0:00 atd
  408 root       0   0   168  112    80 S       0  0.0  0.0   0:09 crond
  418 root       0   0   500  404   332 S       0  0.0  0.1   0:09 sshd
  448 root       0   0    84   24    16 S       0  0.0  0.0   0:00 gpm
  484 root       0   0    68    0     0 SW      0  0.0  0.0   0:00 mingetty
  485 root       0   0    68    0     0 SW      0  0.0  0.0   0:00 mingetty
  486 root       0   0    68    0     0 SW      0  0.0  0.0   0:00 mingetty
  487 root       0   0    68    0     0 SW      0  0.0  0.0   0:00 mingetty
  488 root       0   0    68    0     0 SW      0  0.0  0.0   0:00 mingetty
  489 root       0   0    68    0     0 SW      0  0.0  0.0   0:00 mingetty
23509 root       0   0   564  564   464 S       0  0.0  0.1   0:06 syslogd
23518 root       0   0   756  756   388 S       0  0.0  0.1   0:00 klogd
30108 root       0   0  1528 1476  1192 S       0  0.0  0.3   0:00 sshd
30109 root       0   0   996  996   772 S       0  0.0  0.2   0:00 bash
30206 root       0   0  1528 1476  1192 R       0  0.0  0.3   0:00 sshd
30209 root       0   0  1000 1000   772 S       0  0.0  0.2   0:00 bash
30247 news      10  10  1108 1108   876 S N     0  0.0  0.2   0:00
nntpcached
30249 news      10  10  1076 1076   876 S N     0  0.0  0.2   0:00
nntpcached








----
Chris Picton
BTG Networks Systems Developer
Chris.Picton@BTGNet.net 

> -----Original Message-----
> From: Peter Tonoli [mailto:anarchie@metaverse.org]
> Sent: Saturday, April 21, 2001 11:03 AM
> To: nntpcache-users@suburbia.net
> Cc: nntpcache-users@suburbia.net
> Subject: NNTPC: Performance
> 
> 
> 
> Hi!
> 
> On Fri, 20 Apr 2001, Chris Picton wrote:
> 
> > I'm runnning into a bit of a problem on our nntpcache machine
> >  
> > The main nntpcache process seems to stay at about 90% cpu 
> usage (PII 350)
> >  
> > I am beginning to suspect the disk drives as causing a 
> bottleneck here.
> >  
> > I have a 35 Gig spool for the news articles mounted on
> > /usr/local/var/nntpcache.
> 
> How many users have you got? total & simultaneous..
> 
> I don't know what OS you're using. If you're using Linux 2.4, 
> switching to
> ReiserFS might help for those article directories with multitudes of
> files.
> 
> > In nntpcache.config, I have cacheDir set to 
> /usr/local/var/nntpcache/
> >  
> > The history files are in /usr/local/var/nntpcache
> > The cached news articles are in 
> /usr/local/var/nntpcache/news.upstream.net.
> >  
> > If I were to change the history file to be on a different 
> scsi disk, would
> > this improve my performance?
> 
> A different spindle would help, so would RAID.. I can't say I've seen
> nntpcache chew up tremendous disk on the systems I have run it on.
> 
> > eg set historyFile to 
> /usr/local/var/nntpcache/history/cache.history, and
> > mount another scsi on /usr/local/var/nntpcache/history.
> >  
> > Would there be any other reason for nntpcached to be using 
> so much cpu?
> 
> NoCEM? If NoCEM's on, definitely turn it off! :-)
> 
> Cheers,
> Peter.
> 
> -- 
> Until I loved, life had no beauty;
> I did not know I lived until I had loved. (Theodor Korner)
> 
> 


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux