Results 1 to 14 of 14
-
04-13-2008, 02:12 PM #1Newbie
- Join Date
- Apr 2008
- Posts
- 8
Server processes takin up so much cpu... what are they?
My server has been crashing quite alot lately, it does have some high traffic sites on there but it has never really been this bad before. Today i noticed these in cpanel, what are they and is there anyway I can control them? :/
Screenshot:
http://i31.tinypic.com/i5du2d.png
any help appreciated.
-
04-13-2008, 04:30 PM #2Temporarily Suspended
- Join Date
- Apr 2008
- Posts
- 30
Login as root and killall netstat.
What is sadc on your server?
-
04-13-2008, 04:36 PM #3Newbie
- Join Date
- Apr 2008
- Posts
- 8
# killall netstat
netstat: no process killed
sadc?
-
04-13-2008, 04:40 PM #4Newbie
- Join Date
- Jan 2008
- Location
- India
- Posts
- 11
sadc
sadc - System activity data collector
The sadc command samples system data a specified number of times ( count ) at a specified interval measured in seconds ( interval ).Keep Smiling !!
-
04-13-2008, 04:42 PM #5Aspiring Evangelist
- Join Date
- Aug 2007
- Location
- Greece
- Posts
- 390
sadc is system activity data collector.
Can you paste your top and ps -aux output ?NOT a webhost!helping here just for the fun of it!
G(r)eek inside.
-
04-13-2008, 04:44 PM #6Temporarily Suspended
- Join Date
- Apr 2008
- Posts
- 30
-
04-13-2008, 04:50 PM #7Newbie
- Join Date
- Apr 2008
- Posts
- 8
Code:Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2500 544 ? S Apr12 0:03 init [3] root 2 0.0 0.0 0 0 ? S Apr12 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN Apr12 0:01 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S Apr12 0:00 [migration/1] root 5 0.0 0.0 0 0 ? SN Apr12 0:00 [ksoftirqd/1] root 6 0.0 0.0 0 0 ? S< Apr12 0:01 [events/0] root 7 0.0 0.0 0 0 ? S< Apr12 0:11 [events/1] root 8 0.0 0.0 0 0 ? S< Apr12 0:00 [khelper] root 9 0.0 0.0 0 0 ? S< Apr12 0:00 [kacpid] root 41 0.0 0.0 0 0 ? S< Apr12 0:00 [kblockd/0] root 42 0.0 0.0 0 0 ? S< Apr12 0:02 [kblockd/1] root 60 0.0 0.0 0 0 ? S Apr12 0:32 [pdflush] root 61 0.0 0.0 0 0 ? S Apr12 0:28 [pdflush] root 63 0.0 0.0 0 0 ? S< Apr12 0:00 [aio/0] root 64 0.0 0.0 0 0 ? S< Apr12 0:00 [aio/1] root 43 0.0 0.0 0 0 ? S Apr12 0:00 [khubd] root 62 0.1 0.0 0 0 ? S Apr12 1:48 [kswapd0] root 208 0.0 0.0 0 0 ? S Apr12 0:00 [kseriod] root 324 0.0 0.0 0 0 ? S< Apr12 0:00 [kmirrord] root 336 0.5 0.0 0 0 ? S Apr12 6:33 [kjournald] root 970 0.0 0.0 0 0 ? S< Apr12 0:00 [kauditd] root 1390 0.0 0.0 1824 436 ? S<s Apr12 0:00 udevd root 1894 0.0 0.0 0 0 ? S Apr12 0:00 [kjournald] root 2781 0.0 0.0 3292 528 ? Ss Apr12 0:01 syslogd -m 0 root 2785 0.0 0.0 3228 380 ? Ss Apr12 0:00 klogd -x root 2798 0.0 0.0 2420 280 ? Ss Apr12 0:04 irqbalance named 2815 0.0 0.1 49188 3168 ? Ssl Apr12 0:18 /usr/sbin/named -u named -t /var/named/chroot root 2881 0.0 0.0 2896 288 ? S Apr12 0:00 /usr/sbin/courierlogger -pid=/var/spool/authd root 2882 0.0 0.0 3440 576 ? S Apr12 0:00 /usr/libexec/courier-authlib/authdaemond root 2902 0.0 0.0 3440 252 ? S Apr12 0:00 /usr/libexec/courier-authlib/authdaemond root 2903 0.0 0.0 3440 252 ? S Apr12 0:00 /usr/libexec/courier-authlib/authdaemond root 2904 0.0 0.0 3440 252 ? S Apr12 0:00 /usr/libexec/courier-authlib/authdaemond root 2905 0.0 0.0 3440 252 ? S Apr12 0:00 /usr/libexec/courier-authlib/authdaemond root 2906 0.0 0.0 3440 252 ? S Apr12 0:00 /usr/libexec/courier-authlib/authdaemond root 2915 0.0 0.0 5424 296 ? Ss Apr12 0:01 rpc.idmapd root 2979 0.0 0.0 2788 484 ? S Apr12 0:00 /usr/sbin/smartd root 2988 0.0 0.0 1804 428 ? Ss Apr12 0:00 /usr/sbin/acpid root 3064 0.0 0.0 2864 684 ? Ss Apr12 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pi root 3082 0.0 0.2 9580 4100 ? S Apr12 0:02 chkservd root 3093 0.0 0.0 2720 292 ? S Apr12 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd.p root 3094 0.0 0.0 2196 508 ? S Apr12 0:00 /usr/lib/courier-imap/libexec/couriertcpd -ad root 3100 0.0 0.0 2740 220 ? S Apr12 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd-s root 3101 0.0 0.0 2672 476 ? S Apr12 0:00 /usr/lib/courier-imap/libexec/couriertcpd -ad root 3107 0.0 0.0 3036 292 ? S Apr12 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d.p root 3108 0.0 0.0 2832 508 ? S Apr12 0:00 /usr/lib/courier-imap/libexec/couriertcpd -ad root 3114 0.0 0.0 2236 224 ? S Apr12 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d-s root 3115 0.0 0.0 2832 480 ? S Apr12 0:00 /usr/lib/courier-imap/libexec/couriertcpd -ad root 3187 0.0 3.1 108840 63760 ? Ss Apr12 0:21 /usr/sbin/clamd mailnull 3209 0.0 0.0 9388 1732 ? Ss Apr12 0:00 /usr/sbin/exim -bd -q60m mailnull 3213 0.0 0.0 8016 1708 ? Ss Apr12 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465 root 3219 0.0 0.0 4268 1588 ? S Apr12 0:10 antirelayd root 3247 0.0 0.0 7760 1084 ? Ss Apr12 0:00 pure-ftpd (SERVER) root 3250 0.0 0.0 6712 684 ? S Apr12 0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r root 3258 0.0 0.0 6144 680 ? Ss Apr12 0:01 crond xfs 3293 0.0 0.0 4448 1172 ? Ss Apr12 0:00 xfs -droppriv -daemon root 3573 0.0 0.3 14856 6536 ? S Apr12 0:00 cpdavd - accepting connections on 2077 and 20 root 3596 0.0 0.1 5920 2652 ? S Apr12 0:00 cpbandwd root 3597 0.0 0.5 15680 11360 ? SN Apr12 0:18 cpanellogd - sleeping for logs dbus 3631 0.0 0.0 2588 704 ? Ss Apr12 0:00 dbus-daemon-1 --system root 3642 0.0 0.0 5176 944 ? Ss Apr12 0:14 hald root 3663 0.0 0.0 1488 300 ? Ss Apr12 0:00 /usr/sbin/portsentry -tcp root 3769 0.0 0.0 0 0 ? S< Apr12 0:10 [loop0] root 3772 0.0 0.0 0 0 ? S Apr12 0:02 [kjournald] root 3949 0.0 0.0 2172 356 tty1 Ss+ Apr12 0:00 /sbin/mingetty tty1 root 3950 0.0 0.0 2656 356 tty2 Ss+ Apr12 0:00 /sbin/mingetty tty2 root 3951 0.0 0.0 1728 356 tty3 Ss+ Apr12 0:00 /sbin/mingetty tty3 root 3952 0.0 0.0 2560 356 tty4 Ss+ Apr12 0:00 /sbin/mingetty tty4 root 3953 0.0 0.0 2416 356 tty5 Ss+ Apr12 0:00 /sbin/mingetty tty5 root 3954 0.0 0.0 2044 356 tty6 Ss+ Apr12 0:00 /sbin/mingetty tty6 mailnull 5018 0.0 0.2 11412 4616 ? S Apr12 0:06 eximstats root 6901 0.0 0.2 18580 4288 ? S Apr12 0:00 cpsrvd - waiting for connections root 26453 0.0 0.0 9528 2000 ? Ss 04:02 0:00 cupsd root 23783 0.0 0.0 4268 1044 ? Ss 12:15 0:00 /usr/sbin/sshd root 3474 0.0 0.3 15192 6620 ? Ss 15:14 0:01 /usr/local/apache/bin/httpd -DSSL root 3501 0.0 0.2 9116 4968 ? S 15:14 0:00 /usr/local/cpanel/bin/leechprotect nobody 3502 0.0 0.6 22336 13484 ? S 15:14 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3503 0.2 0.7 23792 15032 ? S 15:14 0:12 /usr/local/apache/bin/httpd -DSSL nobody 3504 0.1 0.6 22916 14148 ? S 15:14 0:10 /usr/local/apache/bin/httpd -DSSL nobody 3505 0.5 0.6 22580 13928 ? S 15:14 0:31 /usr/local/apache/bin/httpd -DSSL nobody 3506 0.1 0.6 22392 13476 ? S 15:14 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3508 0.2 0.6 22520 13548 ? S 15:14 0:11 /usr/local/apache/bin/httpd -DSSL nobody 3509 0.0 0.6 22184 13120 ? S 15:14 0:01 /usr/local/apache/bin/httpd -DSSL nobody 3510 0.0 0.6 21824 12752 ? S 15:14 0:01 /usr/local/apache/bin/httpd -DSSL nobody 3511 0.1 0.6 23328 14236 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3512 0.1 0.6 22836 13904 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3513 0.1 0.6 22900 14092 ? S 15:14 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3514 0.1 0.6 22376 13544 ? S 15:14 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3515 0.0 0.6 23000 13992 ? S 15:14 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3516 0.1 0.6 22332 13728 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3517 0.1 0.6 22988 14152 ? S 15:14 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3518 0.1 1.0 30920 21908 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3519 0.1 0.6 22428 13772 ? S 15:14 0:09 /usr/local/apache/bin/httpd -DSSL nobody 3520 0.0 0.6 22788 13796 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3521 0.0 0.6 22016 12976 ? S 15:14 0:02 /usr/local/apache/bin/httpd -DSSL nobody 3522 0.1 0.6 22376 13536 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3526 0.1 0.6 22548 13672 ? S 15:14 0:06 /usr/local/apache/bin/httpd -DSSL nobody 3527 0.0 0.6 22540 13608 ? S 15:14 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3528 0.1 0.6 22888 13908 ? S 15:14 0:06 /usr/local/apache/bin/httpd -DSSL nobody 3529 0.0 0.7 23000 14464 ? S 15:14 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3530 0.0 0.6 22844 14000 ? S 15:14 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3531 0.1 0.6 22404 13496 ? S 15:14 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3532 0.0 0.6 22412 13576 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3533 0.1 0.6 22440 13704 ? S 15:14 0:10 /usr/local/apache/bin/httpd -DSSL nobody 3534 0.0 0.6 22364 13476 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3535 0.1 0.6 22384 13332 ? S 15:14 0:09 /usr/local/apache/bin/httpd -DSSL nobody 3536 0.1 0.6 23096 14108 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3537 0.1 0.6 22660 13652 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3538 0.0 0.4 17140 8212 ? S 15:14 0:03 /usr/local/apache/bin/httpd -DSSL nobody 3539 0.1 0.6 22540 13536 ? S 15:14 0:06 /usr/local/apache/bin/httpd -DSSL nobody 3540 0.0 0.6 22372 13356 ? S 15:14 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3541 0.1 0.6 22776 13764 ? S 15:14 0:05 /usr/local/apache/bin/httpd -DSSL nobody 3542 0.1 0.7 23764 14792 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3543 0.1 0.6 23088 14084 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3544 0.1 0.7 23184 14356 ? S 15:14 0:09 /usr/local/apache/bin/httpd -DSSL nobody 3545 0.1 0.6 22344 13688 ? S 15:14 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3546 0.0 0.4 17448 8432 ? S 15:14 0:02 /usr/local/apache/bin/httpd -DSSL nobody 3547 0.1 0.7 23888 14952 ? S 15:14 0:09 /usr/local/apache/bin/httpd -DSSL nobody 3548 0.2 0.7 24808 15912 ? S 15:14 0:13 /usr/local/apache/bin/httpd -DSSL nobody 3549 0.1 0.6 23352 14272 ? S 15:14 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3553 0.1 0.6 22788 13788 ? S 15:15 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3554 0.1 1.0 31088 22172 ? S 15:15 0:08 /usr/local/apache/bin/httpd -DSSL nobody 3558 0.1 0.6 22460 13484 ? S 15:15 0:09 /usr/local/apache/bin/httpd -DSSL nobody 3562 0.2 0.6 23012 14220 ? S 15:15 0:12 /usr/local/apache/bin/httpd -DSSL nobody 3563 0.2 0.7 24512 15844 ? S 15:15 0:14 /usr/local/apache/bin/httpd -DSSL nobody 3566 0.1 0.6 22948 13884 ? S 15:15 0:09 /usr/local/apache/bin/httpd -DSSL nobody 3567 0.1 0.6 22952 13920 ? S 15:15 0:06 /usr/local/apache/bin/httpd -DSSL nobody 3568 0.0 0.7 24796 16200 ? S 15:15 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3569 0.0 0.6 22012 13000 ? S 15:15 0:02 /usr/local/apache/bin/httpd -DSSL nobody 3570 0.0 0.7 23160 14468 ? S 15:15 0:04 /usr/local/apache/bin/httpd -DSSL nobody 3571 0.1 0.8 25224 16552 ? S 15:15 0:06 /usr/local/apache/bin/httpd -DSSL nobody 3572 0.1 0.6 22860 13792 ? S 15:15 0:07 /usr/local/apache/bin/httpd -DSSL nobody 3579 0.1 0.6 22084 13112 ? S 15:15 0:06 /usr/local/apache/bin/httpd -DSSL nobody 3580 0.0 0.4 17368 8348 ? S 15:15 0:01 /usr/local/apache/bin/httpd -DSSL nobody 3820 0.1 0.6 23324 14228 ? S 15:18 0:05 /usr/local/apache/bin/httpd -DSSL nobody 5081 0.0 0.3 16400 7144 ? S 15:34 0:00 /usr/local/apache/bin/httpd -DSSL nobody 5123 0.0 0.6 21900 12824 ? S 15:34 0:00 /usr/local/apache/bin/httpd -DSSL nobody 6653 0.0 0.3 16336 7164 ? S 15:59 0:00 /usr/local/apache/bin/httpd -DSSL root 7705 0.0 0.0 4172 1112 ? S 16:09 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/l mysql 7731 0.5 1.3 183296 27204 ? Sl 16:09 0:12 /usr/sbin/mysqld --basedir=/ --datadir=/var/l nobody 8320 0.0 0.3 16384 7232 ? S 16:20 0:00 /usr/local/apache/bin/httpd -DSSL root 9126 0.0 0.1 7576 2308 ? Ss 16:33 0:00 sshd: root@pts/0 root 9189 0.0 0.0 6276 1460 pts/0 Ss 16:34 0:00 -bash nobody 9413 0.0 0.3 16432 7208 ? S 16:37 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9545 0.1 0.6 21836 12752 ? S 16:40 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9667 0.3 0.6 22572 13484 ? S 16:40 0:01 /usr/local/apache/bin/httpd -DSSL nobody 9668 0.4 0.7 24216 15216 ? S 16:41 0:01 /usr/local/apache/bin/httpd -DSSL nobody 9669 0.0 0.2 15336 5884 ? S 16:41 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9670 0.0 0.2 15388 5676 ? S 16:41 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9671 0.1 0.6 22072 12924 ? S 16:41 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9716 0.0 0.2 15336 5884 ? S 16:42 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9754 0.1 0.4 17368 8340 ? S 16:43 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9755 0.0 0.3 16624 7540 ? S 16:43 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9756 0.1 0.6 22048 12972 ? S 16:43 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9797 0.2 0.6 22648 13520 ? S 16:44 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9819 0.0 0.3 16420 7144 ? S 16:44 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9825 0.5 0.3 16624 7212 ? S 16:44 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9831 0.2 0.4 17364 8324 ? S 16:44 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9832 0.7 0.3 16632 7220 ? S 16:44 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9964 0.0 0.3 16632 7560 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9965 0.0 0.3 16812 7684 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9966 0.1 0.3 16792 7684 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9967 0.0 0.3 16988 7504 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9968 0.2 0.3 17064 7984 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9969 0.0 0.2 15324 5620 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9970 0.2 0.6 21840 12352 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9971 0.0 0.2 15324 5288 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9972 0.1 0.3 16624 7196 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9975 0.1 0.3 16980 7888 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9976 0.0 0.3 16792 7696 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL nobody 9977 0.2 0.3 17060 7516 ? S 16:46 0:00 /usr/local/apache/bin/httpd -DSSL root 10015 0.0 0.0 3832 768 pts/0 R+ 16:47 0:00 ps -aux
-
04-13-2008, 04:55 PM #8Temporarily Suspended
- Join Date
- Apr 2008
- Posts
- 30
I dont see anything here... run command:
top -ci and paste the output.
-
04-13-2008, 04:57 PM #9Newbie
- Join Date
- Apr 2008
- Posts
- 8
Code:top - 16:56:22 up 18:38, 1 user, load average: 0.30, 0.26, 0.27 Tasks: 159 total, 3 running, 156 sleeping, 0 stopped, 0 zombie Cpu(s): 2.2% us, 0.3% sy, 0.0% ni, 88.7% id, 1.3% wa, 7.5% hi, 0.0% si Mem: 2041272k total, 2001084k used, 40188k free, 21648k buffers Swap: 2031608k total, 35164k used, 1996444k free, 1211460k cached PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND 10738 root 16 0 0 0:00.28 0.1 2672 1064 780 R top -ci 3536 nobody 16 0 0 0:06.92 0.7 23096 13m 2704 R /usr/local/apache/bin/httpd -DSSL 3566 nobody 16 0 0 0:10.30 0.7 22948 13m 2716 D /usr/local/apache/bin/httpd -DSSL 9126 root 16 0 0 0:00.20 0.1 7724 2416 1840 R sshd: root@pts/0
-
04-13-2008, 05:08 PM #10Temporarily Suspended
- Join Date
- Apr 2008
- Posts
- 30
It looks normal for me. try to reboot apache.
Where do you have your server hosted? It is self-managed?
-
04-13-2008, 05:22 PM #11Newbie
- Join Date
- Apr 2008
- Posts
- 8
Its unmanaged. I think its gone back to normal now, because those stats in my 1st post are from this morning. If i check in the live stats, it seems fine: http://my-image-hosting.com/show.php/16947_22.JPG.html
Last edited by davidj2; 04-13-2008 at 05:26 PM.
-
04-13-2008, 05:26 PM #12Temporarily Suspended
- Join Date
- Apr 2008
- Posts
- 30
I suppose that you sent wrong image
-
04-13-2008, 05:26 PM #13Newbie
- Join Date
- Apr 2008
- Posts
- 8
ya lool, just edited it
-
04-13-2008, 05:28 PM #14Aspiring Evangelist
- Join Date
- Aug 2007
- Location
- Greece
- Posts
- 390
You can check your crons to see if something is set to run in the morning.
NOT a webhost!helping here just for the fun of it!
G(r)eek inside.