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

RE: [cobalt-users] HELP HELP HELP RAQ4r CPU slowly creeps up till server is un-usable



Try netstat -vat and see your netstat.


- Mike

On Fri, 21 Mar 2003, Matt wrote:

> Larry,
> 
> I tried those and this is what I got:
> 
> [admin admin]$ ps faux | grep mail
> root     10663  0.0  0.3  2984 1820 ?        S    09:04   0:00 sendmail:
> q2/h2LH
> [admin admin]$ ps faux | grep http
> root       580  0.0  1.1  7704 5884 ?        S    07:25   0:01
> /usr/sbin/httpd.a
> root       604  0.0  1.7 13560 9152 ?        S    07:25   0:01
> /usr/sbin/httpd -
> httpd      662  0.3  2.6 17788 13808 ?       S    07:25   0:24  \_
> /usr/sbin/htt
> httpd      663  0.3  2.5 16816 12956 ?       S    07:25   0:27  \_
> /usr/sbin/htt
> httpd      664  0.3  2.4 16500 12640 ?       S    07:25   0:24  \_
> /usr/sbin/htt
> httpd      667  0.4  2.6 17520 13616 ?       S    07:26   0:34  \_
> /usr/sbin/htt
> httpd      668  0.4  2.7 18072 14212 ?       S    07:26   0:36  \_
> /usr/sbin/htt
> httpd      669  0.3  2.6 17832 13952 ?       S    07:26   0:25  \_
> /usr/sbin/htt
> httpd      670  0.2  2.3 16220 12364 ?       S    07:26   0:23  \_
> /usr/sbin/htt
> httpd      671  0.4  2.6 17708 13840 ?       S    07:26   0:33  \_
> /usr/sbin/htt
> httpd      672  0.3  2.6 17740 13880 ?       S    07:26   0:27  \_
> /usr/sbin/htt
> httpd      673  0.3  2.5 16956 13092 ?       S    07:26   0:27  \_
> /usr/sbin/htt
> httpd      759  0.3  2.5 17296 13436 ?       S    07:26   0:26  \_
> /usr/sbin/htt
> httpd      996  0.3  2.6 17364 13500 ?       S    07:26   0:27  \_
> /usr/sbin/htt
> httpd     1364  0.5  2.5 16964 13168 ?       S    07:26   0:40  \_
> /usr/sbin/htt
> httpd     1589  0.3  2.5 16808 12948 ?       S    07:28   0:29  \_
> /usr/sbin/htt
> httpd     1645  0.3  2.4 16596 12736 ?       S    07:28   0:28  \_
> /usr/sbin/htt
> httpd     1691  0.3  2.6 17472 13624 ?       S    07:29   0:28  \_
> /usr/sbin/htt
> httpd     1694  0.3  2.4 16552 12692 ?       S    07:29   0:29  \_
> /usr/sbin/htt
> httpd     1695  0.3  2.5 16856 12996 ?       S    07:29   0:24  \_
> /usr/sbin/htt
> httpd     1739  0.3  2.3 15856 11992 ?       S    07:29   0:30  \_
> /usr/sbin/htt
> httpd     1741  0.4  2.6 17408 13548 ?       S    07:29   0:35  \_
> /usr/sbin/htt
> httpd     4056  0.3  2.4 16516 12660 ?       S    07:55   0:21  \_
> /usr/sbin/htt
> httpd     4375  0.3  2.4 16664 12804 ?       S    07:58   0:21  \_
> /usr/sbin/htt
> httpd     5238  0.3  2.5 17236 13412 ?       S    08:03   0:19  \_
> /usr/sbin/htt
> httpd     6054  0.4  2.4 16660 12764 ?       S    08:11   0:23  \_
> /usr/sbin/htt
> httpd     6055  0.3  2.5 17124 13268 ?       S    08:11   0:20  \_
> /usr/sbin/htt
> httpd    11952  0.3  2.2 15492 11644 ?       S    09:31   0:02  \_
> /usr/sbin/htt
> httpd    11957  0.2  2.2 15272 11408 ?       S    09:31   0:01  \_
> /usr/sbin/htt
> httpd    12326  0.0  1.8 13676 9356 ?        S    09:37   0:00  \_
> /usr/sbin/htt
> httpd    12329  0.0  1.8 13712 9392 ?        S    09:37   0:00  \_
> /usr/sbin/htt
> httpd    12357  0.2  2.0 14516 10560 ?       S    09:38   0:00  \_
> /usr/sbin/htt
> httpd    12358  0.3  2.1 14928 10880 ?       S    09:38   0:00  \_
> /usr/sbin/htt
> 
> Matt
> 
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Larry Smith
> Sent: Friday, March 21, 2003 9:19 AM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] HELP HELP HELP RAQ4r CPU slowly creeps up till
> server is un-usable
> 
> 
> INRE RE: [cobalt-users] HELP HELP HELP RAQ4r CPU slowly creeps up till
> server 
> is un-usable:
> > -----Original Message-----
> > From: cobalt-users-admin@xxxxxxxxxxxxxxx
> > [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Larry Smith
> > Sent: Friday, March 21, 2003 7:25 AM
> > To: cobalt-users@xxxxxxxxxxxxxxx
> > Subject: Re: [cobalt-users] HELP HELP HELP RAQ4r CPU slowly creeps up 
> > till server is un-usable
> >
> >
> > INRE RE: [cobalt-users] HELP HELP HELP RAQ4r CPU slowly creeps up till 
> > server
> >
> > is un-usable:
> > > Hello,
> > >
> > > Alright this is a really weird issue and I am hoping that someone 
> > > may have some insite on how to fix this- it has become to 
> > > frustrating for words...
> > >
> > > What Happened:
> > > -Tuesday night around midnight my RAQ4r decided to max out the CPU 
> > > rendering SMTP useless and web pretty much the same. Every since 
> > > then I have had to pretty much reboot the server ever hour... After 
> > > that the server usually takes an hour for the CPU to ramp up to a 
> > > critical state.
> > >
> > > What I have done.
> > > - First I though it was the mirroring between my two drive (I have the
> > > latest kernel installed---slow, fixed with echo         ETC... command)
> > > that wasn't it..
> > > - Second I thought it was Tomkat- Removed it from my httpd.conf file..
> It
> > > doesn't start-- Which is good-- cause it would   take forever to get the
> > > thing started.. I though that was eating my CPU... Nope! Wasn't it..
> > > - Third I have read every log file I can think of.. /var/log--> 
> > > messages, secure, maillog, xferlog-- CD'd  to httpd read access, 
> > > error logs and I have found nothing suspicious other that the usual 
> > > CPU load to high,, POP login rejected cause Sendmail has shut it 
> > > self off due to the 20% process limit (Which I have gone into the 
> > > Sendmail.cf file and upped it to 80 just get users mail to send,, 
> > > ;-( This is not good and I know that but,, I am in a bad situation..
> > > - Fourth I have tailed all of the logs above, mainly the access log 
> > > in httpd and watch the CPU usage- Hoping to find the ONE site that 
> > > is killing my CPU.. But I have yet to find it.. I have also shut 
> > > down the sites that I
> > > suspected- but this did not help either.. It's just a gradual 
> > > process-
> >
> > that
> >
> > > the naked eye's cannot see..
> > >
> > > If anyone has experienced this, or heard about IT through someone's 
> > > second cousins grandpa's brothers best friend ;-)) and can tell me 
> > > about it or how they fixed it-- Or another way to track it down IT 
> > > WOULD BE SO GREATLY APPRECIATED!! I have put two day's into this 
> > > problem and it's driving me nutz!
> > >
> > > Thank You,
> >
> > Matt,
> >
> >   How about running "top" on the system and watch which processes are 
> > "eating" the cpu ???
> >
> > Yes, it my last email to the list I stated that I did this-
> >
> > "Also, I forgot to mention that I have been watching TOP and have 
> > found no one process that is using more than 1% or 1.0 of the CPU. 
> > Oh,, and I have been using the command ps -aux to try and find a 
> > runaway process that way and it pretty much showed me the same thing 
> > as TOP."
> >
> > How about something else?
> >
> > Thank You,
> >
> > Matt
> >
> 
>  Hmmm, interesting, but what does TOP say about memory, swap, CPU (idle) and
> 
> so forth.  If you are saying "my RAQ4r decided to max out the CPU" then 
> something has to show up either in the "ps fax" or top.  Top breaks down the
> 
> utilization figures into user, system, nice, idle.  Which one is "using" all
> 
> the cpu??  It may not be a "single" process, but may be the number of 
> processes that a particular program is spawning.
> 
> EG:  
> try "ps faux | grep mail" to see how many processes doing mail are running
> try "ps faux | grep http" to see how many http processes are running
> 
> -- 
> Larry Smith
> SysAd ECSIS.NET
> sysad@xxxxxxxxx
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>