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

Re: [cobalt-users] [RAQ3] Server down - suggestions please?!??



> > Later today, the box went competely nuts again, and used all 192Mb of
>physical RAM and again, about 10% of available swap.
>>
>> Now I have a box that won't start mail or named on startup, or from the
>shell, plus about 60 hosting clients on the box, all on IP hosting, and none
>of their sites can be seen - HELP!!!!
>
>Find out what process is doing it. Do a top (if it's a cpu-intensive process
>doing the work) or look at the output of ps -auxww.
>
>Then kill the process responsible.
>
>I had someone do the same when they accidentally had a bad CGI script which
>got into an infinite "use" loop, using all the memory. Kill -9 on the
>process solved the problem...


There are not processes eating all the cpu/ram

 11:46pm  up 46 min,  3 users,  load average: 0.00, 0.00, 0.00
53 processes: 52 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  1.9% user,  1.3% system,  0.0% nice, 96.6% idle
Mem:  192936K av,  60632K used, 132304K free,  94612K shrd,   4524K buff
Swap: 131536K av,      0K used, 131536K free                 24508K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 2971 root       4   0   528  528   416 S       0  0.9  0.2   0:04 strace
 4687 root       6   0  1052 1052   864 R       0  0.9  0.5   0:00 top
 2981 httpd     11   0  6780 6780  5660 S       0  0.3  3.5   0:00 httpd
 4707 root      11   0  1416 1416  1088 S       0  0.3  0.7   0:00 sendmail
 2973 root       1   0  1920 1920   876 S       0  0.1  0.9   0:02 named
 3432 root       1   0   772  772   612 S       0  0.1  0.4   0:00 in.telnetd
    1 root       0   0   484  484   412 S       0  0.0  0.2   0:05 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   0:00 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:00 kswapd
    6 root     -20 -20     0    0     0 SW<     0  0.0  0.0   0:00 mdrecoveryd
   91 root       0   0   528  528   432 S       0  0.0  0.2   0:01 syslogd
  100 root       0   0   780  780   388 S       0  0.0  0.4   0:00 klogd
 2383 root       0   0   540  540   456 S       0  0.0  0.2   0:00 crond
 2395 root       0   0   484  484   412 S       0  0.0  0.2   0:00 inetd
 2404 root       0   0   780  780   620 S       0  0.0  0.4   0:00 nlservd

The problem now is the sendmail not working, and the DNS is not resolving, even though named processes are visible on the box.

Greg





>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users

-- 
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970)266-0195 FAX: (970)266-0158