LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2011, 02:27 PM   #1
LoThaR71
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Help with huge cpu consuming and crash afterwords


Hi, I have a Centos 5 with asterisk running on it with MySQL 5.

Since a couple of months, the machine is hanging itself. I can't connect in any way to it. I have it in a Datacenter far away my office, so when it happens I have to ask the provider to reboot it manually because it always happen in working hours and my clients gets mad on that moments. It happens every 15 days (more or less).
It is very difficult to get the procesess status, but today hangs again and I could connect (a very very slow connection) and save a "ps aux".

I really appreciatte that you can help me to find the problem, this is the ps aux before definitely hangs:

Quote:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2072 628 ? Ss Mar03 0:02 init [3]
root 2 0.0 0.0 0 0 ? S< Mar03 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Mar03 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< Mar03 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< Mar03 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN Mar03 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S< Mar03 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< Mar03 0:00 [migration/2]
root 9 0.0 0.0 0 0 ? SN Mar03 0:00 [ksoftirqd/2]
root 10 0.0 0.0 0 0 ? S< Mar03 0:00 [watchdog/2]
root 11 0.0 0.0 0 0 ? S< Mar03 0:00 [migration/3]
root 12 0.0 0.0 0 0 ? SN Mar03 0:00 [ksoftirqd/3]
root 13 0.0 0.0 0 0 ? S< Mar03 0:00 [watchdog/3]
root 14 0.0 0.0 0 0 ? S< Mar03 0:00 [events/0]
root 15 0.0 0.0 0 0 ? S< Mar03 0:00 [events/1]
root 16 0.0 0.0 0 0 ? S< Mar03 0:06 [events/2]
root 17 0.0 0.0 0 0 ? S< Mar03 0:00 [events/3]
root 18 0.0 0.0 0 0 ? S< Mar03 0:00 [khelper]
root 19 0.0 0.0 0 0 ? S< Mar03 0:00 [kthread]
root 25 0.0 0.0 0 0 ? S< Mar03 0:00 [kblockd/0]
root 26 0.0 0.0 0 0 ? S< Mar03 0:00 [kblockd/1]
root 27 0.0 0.0 0 0 ? S< Mar03 0:06 [kblockd/2]
root 28 0.0 0.0 0 0 ? S< Mar03 0:00 [kblockd/3]
root 29 0.0 0.0 0 0 ? S< Mar03 0:00 [kacpid]
root 153 0.0 0.0 0 0 ? S< Mar03 0:00 [cqueue/0]
root 154 0.0 0.0 0 0 ? S< Mar03 0:00 [cqueue/1]
root 155 0.0 0.0 0 0 ? S< Mar03 0:00 [cqueue/2]
root 156 0.0 0.0 0 0 ? S< Mar03 0:00 [cqueue/3]
root 159 0.0 0.0 0 0 ? S< Mar03 0:00 [khubd]
root 161 0.0 0.0 0 0 ? S< Mar03 0:00 [kseriod]
root 238 0.0 0.0 0 0 ? S< Mar03 0:03 [kswapd0]
root 239 0.0 0.0 0 0 ? S< Mar03 0:00 [aio/0]
root 240 0.0 0.0 0 0 ? S< Mar03 0:00 [aio/1]
root 241 0.0 0.0 0 0 ? S< Mar03 0:00 [aio/2]
root 242 0.0 0.0 0 0 ? S< Mar03 0:00 [aio/3]
root 405 0.0 0.0 0 0 ? S< Mar03 0:00 [kpsmoused]
root 451 0.0 0.0 0 0 ? S< Mar03 0:00 [ata/0]
root 452 0.0 0.0 0 0 ? S< Mar03 0:00 [ata/1]
root 453 0.0 0.0 0 0 ? S< Mar03 0:00 [ata/2]
root 454 0.0 0.0 0 0 ? S< Mar03 0:00 [ata/3]
root 455 0.0 0.0 0 0 ? S< Mar03 0:00 [ata_aux]
root 461 0.0 0.0 0 0 ? S< Mar03 0:00 [scsi_eh_0]
root 462 0.0 0.0 0 0 ? S< Mar03 0:00 [scsi_eh_1]
root 463 0.0 0.0 0 0 ? S< Mar03 0:00 [scsi_eh_2]
root 464 0.0 0.0 0 0 ? S< Mar03 0:00 [scsi_eh_3]
root 470 0.0 0.0 0 0 ? S< Mar03 0:00 [kstriped]
root 491 0.0 0.0 0 0 ? S< Mar03 0:00 [ksnapd]
root 514 0.0 0.0 0 0 ? D< Mar03 1:24 [kjournald]
root 544 0.0 0.0 0 0 ? S< Mar03 0:00 [kauditd]
root 577 0.0 0.0 2892 1396 ? S<s Mar03 0:00 /sbin/udevd -d
root 741 2.1 0.0 5880 1520 ? S 16:01 1:28 crond
root 742 0.0 0.0 0 0 ? Zs 16:01 0:00 [sh] <defunct>
smmsp 1240 2.4 0.0 8152 2992 ? D 16:02 1:40 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root 1465 0.0 0.0 0 0 ? S< Mar03 0:00 [hd-audio0]
smmsp 1649 2.6 0.0 8152 2992 ? D 16:03 1:47 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root 1653 0.0 0.0 0 0 ? S< Mar03 0:00 [kmpathd/0]
root 1654 0.0 0.0 0 0 ? S< Mar03 0:00 [kmpathd/1]
root 1655 0.0 0.0 0 0 ? S< Mar03 0:00 [kmpathd/2]
root 1656 0.0 0.0 0 0 ? S< Mar03 0:00 [kmpathd/3]
root 1657 0.0 0.0 0 0 ? S< Mar03 0:00 [kmpath_handlerd]
root 1681 0.0 0.0 0 0 ? S< Mar03 0:00 [kjournald]
root 2321 0.0 0.0 13552 812 ? S<sl Mar03 0:00 auditd
root 2323 0.0 0.0 13108 728 ? S<sl Mar03 0:00 /sbin/audispd
root 2345 0.0 0.3 11584 10060 ? Ss Mar03 0:00 /usr/sbin/restorecond
root 2358 0.0 0.0 1728 612 ? Ds Mar03 0:00 syslogd -m 0
root 2361 0.0 0.0 1680 392 ? Ss Mar03 0:00 klogd -x
root 2375 0.0 0.0 2472 364 ? Ss Mar03 0:00 irqbalance
root 2392 0.0 0.0 2172 512 ? Ss Mar03 0:00 mcstransd
rpc 2412 0.0 0.0 1816 548 ? Ss Mar03 0:00 portmap
root 2444 0.0 0.0 0 0 ? S< Mar03 0:00 [rpciod/0]
root 2445 0.0 0.0 0 0 ? S< Mar03 0:00 [rpciod/1]
root 2446 0.0 0.0 0 0 ? S< Mar03 0:00 [rpciod/2]
root 2447 0.0 0.0 0 0 ? S< Mar03 0:00 [rpciod/3]
rpcuser 2457 0.0 0.0 1868 736 ? Ss Mar03 0:00 rpc.statd
root 2489 0.0 0.0 5524 584 ? Ss Mar03 0:00 rpc.idmapd
dbus 2512 0.0 0.0 13000 1024 ? Ssl Mar03 0:00 dbus-daemon --system
root 2526 0.0 0.0 2172 764 ? Ss Mar03 0:00 /usr/sbin/hcid
root 2530 0.0 0.0 1748 504 ? Ss Mar03 0:00 /usr/sbin/sdpd
root 2561 0.0 0.0 0 0 ? S< Mar03 0:00 [krfcommd]
root 2605 0.0 0.0 12868 1344 ? Ssl Mar03 0:05 pcscd
root 2619 0.0 0.0 1676 524 ? Ss Mar03 0:00 /usr/sbin/acpid
root 3039 0.0 0.0 1916 452 ? Ss Mar03 0:00 /usr/bin/hidd --server
root 3069 0.0 0.0 27252 1368 ? Ssl Mar03 0:00 automount
root 3093 0.0 0.0 7088 1060 ? Ss Mar03 0:00 /usr/sbin/sshd
root 3106 0.0 0.3 17412 9784 ? Ss Mar03 0:00 cupsd
ntp 3128 0.0 0.1 4400 4396 ? SLs Mar03 0:07 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root 3146 0.0 0.0 5880 1520 ? S 16:07 0:00 crond
root 3147 0.0 0.0 0 0 ? Zs 16:07 0:00 [sh] <defunct>
root 3148 0.0 0.1 19828 6136 ? S 16:07 0:00 php /var/www/html/jumper2.php
root 3165 0.0 0.0 4536 1208 ? S Mar03 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --user=mysql
mysql 3212 14.9 3.5 244820 109600 ? Sl Mar03 216:22 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
smmsp 3226 0.0 0.0 8148 2876 ? S 16:07 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root 3258 0.0 0.0 1880 476 ? Ss Mar03 0:00 /usr/sbin/dovecot
root 3269 0.0 0.0 7728 1736 ? S Mar03 0:00 dovecot-auth
root 3281 0.0 0.0 9300 1892 ? Ss Mar03 0:00 sendmail: accepting connections
smmsp 3290 0.0 0.0 8148 1492 ? Ss Mar03 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 3304 0.0 0.0 1908 364 ? Ss Mar03 0:00 gpm -m /dev/input/mice -t exps2
dovecot 3318 0.0 0.0 4904 1504 ? S Mar03 0:00 pop3-login
dovecot 3319 0.0 0.0 4904 1752 ? S Mar03 0:00 pop3-login
dovecot 3320 0.0 0.0 4904 1504 ? S Mar03 0:00 pop3-login
dovecot 3321 0.0 0.0 4908 1504 ? S Mar03 0:00 imap-login
dovecot 3322 0.0 0.0 4908 1756 ? S Mar03 0:00 imap-login
dovecot 3323 0.0 0.0 4908 1820 ? S Mar03 0:00 imap-login
root 3324 0.0 0.2 24332 7524 ? Ss Mar03 0:00 /usr/sbin/httpd
root 3353 0.0 0.0 4536 548 ? S Mar03 0:00 /bin/sh /usr/sbin/safe_asterisk
root 3369 0.0 0.0 5300 1192 ? Ss Mar03 0:00 crond
root 3393 1.1 0.5 43668 16588 ? Sl Mar03 16:54 /usr/sbin/asterisk -f -vvvg -c
apache 3394 0.0 0.2 25904 8564 ? S Mar03 0:08 /usr/sbin/httpd
apache 3395 0.0 0.2 25900 8552 ? S Mar03 0:03 /usr/sbin/httpd
apache 3396 0.0 0.2 25896 8560 ? S Mar03 0:05 /usr/sbin/httpd
apache 3397 0.0 0.2 25888 8528 ? S Mar03 0:03 /usr/sbin/httpd
apache 3398 0.0 0.2 25904 8556 ? S Mar03 0:06 /usr/sbin/httpd
apache 3399 0.0 0.2 25904 8548 ? S Mar03 0:03 /usr/sbin/httpd
apache 3400 0.0 0.2 25904 8548 ? S Mar03 0:04 /usr/sbin/httpd
apache 3401 0.0 0.2 25896 8556 ? S Mar03 0:04 /usr/sbin/httpd
xfs 3411 0.0 0.0 3168 960 ? Ss Mar03 0:00 xfs -droppriv -daemon
root 3436 0.0 0.0 2276 432 ? Ss Mar03 0:00 /usr/sbin/atd
root 3451 0.0 0.0 5600 640 ? Ss Mar03 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
avahi 3466 0.0 0.0 2600 1340 ? Ss Mar03 0:00 avahi-daemon: running [BARNA-ALPHA.local]
root 3467 0.0 0.0 5600 376 ? S Mar03 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 3468 0.0 0.0 5600 364 ? S Mar03 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 3469 0.0 0.0 5600 364 ? S Mar03 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
root 3470 0.0 0.0 5600 364 ? S Mar03 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
avahi 3471 0.0 0.0 2600 316 ? Ss Mar03 0:00 avahi-daemon: chroot helper
68 3486 0.0 0.1 6088 4308 ? Ss Mar03 0:00 hald
root 3487 0.0 0.0 3164 980 ? S Mar03 0:00 hald-runner
68 3502 0.0 0.0 2020 828 ? S Mar03 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 3523 66.7 0.2 20100 6800 ? R 16:07 41:18 php /var/www/html/call_engine.php 69680XXXX xtratelecom 107837 91130XXXX 60 60 91130XXXX 743318 7 232445 telefono XXX.XXX.X.XXX
root 3563 0.0 0.0 3516 508 ? S Mar03 0:00 /usr/sbin/smartd -q never
root 3568 0.0 0.2 10672 8496 ? Ss Mar03 0:00 /usr/bin/perl /usr/local/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 3571 0.0 0.0 1664 424 tty1 Ss+ Mar03 0:00 /sbin/mingetty tty1
root 3572 0.0 0.0 1664 420 tty2 Ss+ Mar03 0:00 /sbin/mingetty tty2
root 3573 0.0 0.0 1664 448 tty3 Ss+ Mar03 0:00 /sbin/mingetty tty3
root 3574 0.0 0.0 1664 424 tty4 Ss+ Mar03 0:00 /sbin/mingetty tty4
root 3575 0.0 0.0 1664 420 tty5 Ss+ Mar03 0:00 /sbin/mingetty tty5
root 3576 0.0 0.0 1664 424 tty6 Ss+ Mar03 0:00 /sbin/mingetty tty6
apache 4095 0.0 0.2 24736 6476 ? S 16:12 0:00 /usr/sbin/httpd
apache 4097 0.0 0.1 24708 6040 ? S 16:12 0:00 /usr/sbin/httpd
apache 4099 0.0 0.2 24736 6452 ? S 16:12 0:00 /usr/sbin/httpd
apache 4362 0.0 0.2 25888 8532 ? S Mar03 0:06 /usr/sbin/httpd
apache 4367 0.0 0.2 25916 8560 ? S Mar03 0:03 /usr/sbin/httpd
apache 4368 0.0 0.3 27568 10212 ? S Mar03 0:05 /usr/sbin/httpd
root 4626 0.0 0.2 19828 6688 ? S 16:19 0:00 php /var/www/html/jumper2.php
root 4967 56.5 0.2 20100 6792 ? R 16:20 28:03 php /var/www/html/call_engine.php 63025XXXX xtratelecom 107255 91130XXXX 60 60 91130XXXX 741002 7 232619 telefono XXX.XXX.X.XXX
root 5092 0.0 0.0 0 0 ? D 16:20 0:00 [pdflush]
root 5378 44.0 0.2 20100 6796 ? R 16:22 20:42 php /var/www/html/call_engine.php 62605XXXX xtratelecom 108745 91130XXXX 60 60 91130XXXX 747757 9 232666 telefono XXX.XXX.X.XXX
root 5410 0.0 0.0 0 0 ? D 16:23 0:00 [pdflush]
root 5512 2.3 0.0 5880 1520 ? S 16:24 1:03 crond
root 5513 0.0 0.0 0 0 ? Zs 16:24 0:00 [sh] <defunct>
root 5744 0.0 0.0 5876 1508 ? S 16:27 0:00 crond
root 5745 0.0 0.0 0 0 ? Zs 16:27 0:00 [sh] <defunct>
root 5850 0.0 0.0 0 0 ? D 16:27 0:00 [pdflush]
root 5938 0.0 0.0 5876 1508 ? S 16:28 0:00 crond
root 5939 0.0 0.0 5872 856 ? S 16:28 0:00 crond
root 6032 0.0 0.0 5876 1508 ? S 16:29 0:00 crond
root 6033 0.0 0.0 5872 856 ? S 16:29 0:00 crond
root 6081 0.0 0.0 5876 1508 ? S 16:30 0:00 crond
root 6082 0.0 0.0 5876 1508 ? S 16:30 0:00 crond
root 6083 0.0 0.0 5872 856 ? S 16:30 0:00 crond
root 6084 0.0 0.0 5872 856 ? S 16:30 0:00 crond
root 6255 0.0 0.0 5876 1508 ? S 16:31 0:00 crond
root 6256 0.0 0.0 5872 856 ? S 16:31 0:00 crond
root 6335 0.0 0.0 0 0 ? D 16:31 0:00 [pdflush]
smmsp 6395 3.3 0.0 8148 2984 ? D 16:31 1:16 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root 6428 0.0 0.0 5876 1508 ? S 16:32 0:00 crond
root 6429 0.0 0.0 5872 856 ? S 16:32 0:00 crond
root 6474 0.0 0.0 5876 1508 ? S 16:33 0:00 crond
root 6475 0.0 0.0 5872 856 ? S 16:33 0:00 crond
root 6601 0.0 0.0 5876 1508 ? S 16:34 0:00 crond
root 6602 0.0 0.0 5872 856 ? S 16:34 0:00 crond
root 6791 0.0 0.0 5876 1508 ? S 16:35 0:00 crond
root 6792 0.0 0.0 5872 856 ? S 16:35 0:00 crond
root 6913 0.0 0.0 5876 1508 ? S 16:36 0:00 crond
root 6914 0.0 0.0 5872 856 ? S 16:36 0:00 crond
root 6944 3.2 0.2 20100 6240 ? S 16:37 1:04 php /var/www/html/call_engine.php 66908XXXX xtratelecom 108727 91130XXXX 60 60 91130XXXX 747670 17 232869 telefono XXX.XXX.X.XXX
root 6948 6.2 0.2 20100 6244 ? S 16:37 2:02 php /var/www/html/call_engine.php 66908XXXX xtratelecom 108727 91130XXXX 60 60 91130XXXX 747670 17 232871 telefono XXX.XXX.X.XXX
apache 6970 4.2 0.2 20100 6792 ? D 16:37 1:23 php /var/www/html/call_engine.php 66908XXXX xtratelecom 108727 91130XXXX 60 60 91130XXXX 747670 17 232872 telefono XXX.XXX.X.XXX
root 7004 0.0 0.0 5876 1508 ? S 16:37 0:00 crond
root 7005 0.0 0.0 5872 856 ? S 16:37 0:00 crond
apache 7022 0.0 0.2 19828 6672 ? S 16:37 0:00 php /var/www/html/jumper2.php TRIGGER
root 7043 0.0 0.0 0 0 ? D 16:37 0:00 [pdflush]
root 7044 0.0 0.0 0 0 ? D 16:37 0:00 [pdflush]
apache 7055 0.0 0.2 25900 8544 ? S Mar03 0:03 /usr/sbin/httpd
root 7125 0.0 0.0 5876 1508 ? S 16:38 0:00 crond
root 7126 0.0 0.0 5872 856 ? S 16:38 0:00 crond
root 7161 0.0 0.0 5876 1508 ? S 16:39 0:00 crond
root 7162 0.0 0.0 5872 856 ? S 16:39 0:00 crond
root 7183 0.0 0.0 5876 1508 ? S 16:40 0:00 crond
root 7184 0.0 0.0 5872 856 ? S 16:40 0:00 crond
root 7198 6.4 0.2 20100 6788 ? S 16:40 1:53 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232896 telefono XXX.XXX.X.XXX
apache 7205 3.0 0.2 20100 6800 ? D 16:40 0:53 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232904 telefono XXX.XXX.X.XXX
apache 7207 3.1 0.2 20100 6792 ? D 16:40 0:54 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232905 telefono XXX.XXX.X.XXX
root 7208 59.6 0.2 20100 6240 ? R 16:40 17:30 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232900 telefono XXX.XXX.X.XXX
root 7212 5.8 0.2 20100 6792 ? S 16:40 1:42 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232906 telefono XXX.XXX.X.XXX
root 7213 2.6 0.2 20100 6240 ? S 16:40 0:46 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232903 telefono XXX.XXX.X.XXX
root 7219 59.8 0.2 20100 6788 ? R 16:40 17:34 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232908 telefono XXX.XXX.X.XXX
root 7274 0.0 0.0 5876 1508 ? S 16:41 0:00 crond
root 7275 0.0 0.0 5872 856 ? S 16:41 0:00 crond
apache 7282 0.0 0.2 19828 6700 ? S 16:41 0:00 php /var/www/html/jumper2.php TRIGGER
root 7299 0.0 0.0 5876 1508 ? S 16:42 0:00 crond
root 7300 0.0 0.0 5872 856 ? S 16:42 0:00 crond
apache 7309 0.0 0.1 19828 6124 ? S 16:42 0:00 php /var/www/html/jumper2.php TRIGGER
apache 7312 0.0 0.2 19828 6756 ? S 16:42 0:00 php /var/www/html/jumper2.php TRIGGER
root 7322 0.0 0.0 5876 1508 ? S 16:43 0:00 crond
root 7323 0.0 0.0 5872 856 ? S 16:43 0:00 crond
root 7342 0.0 0.0 5876 1508 ? S 16:44 0:00 crond
root 7343 0.0 0.0 5872 856 ? S 16:44 0:00 crond
root 7371 0.0 0.0 5876 1508 ? S 16:45 0:00 crond
root 7372 0.0 0.0 5876 1508 ? S 16:45 0:00 crond
root 7373 0.0 0.0 5872 856 ? S 16:45 0:00 crond
root 7374 0.0 0.0 5872 856 ? S 16:45 0:00 crond
root 7401 0.0 0.0 5876 1508 ? S 16:46 0:00 crond
root 7402 0.0 0.0 5872 856 ? S 16:46 0:00 crond
root 7428 0.0 0.0 5876 1508 ? S 16:47 0:00 crond
root 7429 0.0 0.0 5872 856 ? S 16:47 0:00 crond
root 7475 0.0 0.0 5876 1508 ? S 16:48 0:00 crond
root 7476 0.0 0.0 5872 856 ? S 16:48 0:00 crond
root 7479 0.0 0.0 5876 1508 ? S 16:49 0:00 crond
root 7480 0.0 0.0 5872 856 ? S 16:49 0:00 crond
root 7522 0.0 0.0 5876 1508 ? S 16:50 0:00 crond
root 7523 0.0 0.0 5872 856 ? S 16:50 0:00 crond
root 7542 0.0 0.0 5876 1508 ? S 16:51 0:00 crond
root 7543 0.0 0.0 5872 856 ? S 16:51 0:00 crond
apache 7569 0.0 0.2 19828 6672 ? S 16:51 0:00 php /var/www/html/jumper2.php TRIGGER
root 7588 0.0 0.0 5876 1508 ? S 16:52 0:00 crond
root 7589 0.0 0.0 5872 856 ? S 16:52 0:00 crond
root 7623 0.0 0.0 5876 1508 ? S 16:53 0:00 crond
root 7624 0.0 0.0 5872 856 ? S 16:53 0:00 crond
root 7628 0.0 0.0 5876 1508 ? S 16:54 0:00 crond
root 7629 0.0 0.0 5872 856 ? S 16:54 0:00 crond
apache 7651 0.0 0.2 19828 6676 ? S 16:54 0:00 php /var/www/html/jumper2.php TRIGGER
root 7680 0.0 0.0 5876 1508 ? S 16:55 0:00 crond
root 7681 0.0 0.0 5872 856 ? S 16:55 0:00 crond
root 7719 0.0 0.0 5876 1508 ? S 16:56 0:00 crond
root 7720 0.0 0.0 5872 856 ? S 16:56 0:00 crond
root 7723 0.0 0.0 5876 1508 ? S 16:57 0:00 crond
root 7724 0.0 0.0 5872 856 ? S 16:57 0:00 crond
root 7738 0.0 0.1 19828 6120 ? S 16:57 0:00 php /var/www/html/jumper2.php
root 7740 0.0 0.0 5876 1508 ? S 16:58 0:00 crond
root 7741 0.0 0.0 5872 856 ? S 16:58 0:00 crond
root 7777 0.0 0.0 0 0 ? D 16:58 0:00 [pdflush]
root 7778 0.0 0.0 0 0 ? D 16:58 0:00 [pdflush]
root 7789 0.0 0.0 5876 1508 ? S 16:59 0:00 crond
root 7790 0.0 0.0 5872 856 ? S 16:59 0:00 crond
root 7827 0.0 0.0 5876 1508 ? S 17:00 0:00 crond
root 7828 0.0 0.0 5876 1508 ? S 17:00 0:00 crond
root 7829 0.0 0.0 5872 856 ? S 17:00 0:00 crond
root 7830 0.0 0.0 5872 856 ? S 17:00 0:00 crond
root 7883 0.0 0.0 5876 1508 ? S 17:01 0:00 crond
root 7884 0.0 0.0 5876 1508 ? S 17:01 0:00 crond
root 7885 0.0 0.0 5872 856 ? S 17:01 0:00 crond
root 7886 0.0 0.0 5872 856 ? S 17:01 0:00 crond
root 7944 0.0 0.0 5876 1508 ? S 17:02 0:00 crond
root 7945 0.0 0.0 5872 856 ? S 17:02 0:00 crond
root 7975 0.0 0.0 5876 1508 ? S 17:03 0:00 crond
root 7976 0.0 0.0 5872 856 ? S 17:03 0:00 crond
root 7981 0.0 0.0 5876 1508 ? S 17:04 0:00 crond
root 7982 0.0 0.0 5872 856 ? S 17:04 0:00 crond
apache 7995 0.0 0.2 19828 6580 ? S 17:04 0:00 php /var/www/html/jumper2.php TRIGGER
root 8001 0.0 0.0 5876 1508 ? S 17:05 0:00 crond
root 8002 0.0 0.0 5872 856 ? S 17:05 0:00 crond
apache 8008 0.0 0.2 20232 6960 ? S 17:05 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232984 telefono XXX.XXX.X.XXX
root 8028 0.0 0.0 5876 1508 ? S 17:06 0:00 crond
root 8029 0.0 0.0 5872 856 ? S 17:06 0:00 crond
root 8064 0.0 0.0 5876 1508 ? S 17:07 0:00 crond
root 8065 0.0 0.0 5872 856 ? S 17:07 0:00 crond
root 8081 0.0 0.2 20232 6976 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232987 telefono XXX.XXX.X.XXX
root 8083 0.0 0.2 20232 7036 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232988 telefono XXX.XXX.X.XXX
root 8084 0.2 0.2 20240 6408 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232986 telefono XXX.XXX.X.XXX
apache 8086 0.2 0.2 20240 6408 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232985 telefono XXX.XXX.X.XXX
apache 8092 0.0 0.2 20240 6408 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232990 telefono XXX.XXX.X.XXX
apache 8094 0.0 0.2 20232 6956 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232991 telefono XXX.XXX.X.XXX
apache 8097 0.1 0.2 20232 6956 ? S 17:07 0:00 php /var/www/html/call_engine.php 65265XXXX xtratelecom 108687 91130XXXX 60 60 91130XXXX 746963 17 232989 telefono XXX.XXX.X.XXX
apache 8105 0.0 0.2 19828 6596 ? S 17:07 0:00 php /var/www/html/jumper2.php TRIGGER
apache 8114 0.0 0.2 20232 7036 ? S 17:07 0:00 php /var/www/html/call_engine.php 98181XXXX xtratelecom 109070 91130XXXX 60 60 91130XXXX 748982 8 232992 telefono XXX.XXX.X.XXX
root 8122 0.0 0.0 5876 1508 ? S 17:08 0:00 crond
root 8123 0.0 0.0 5872 856 ? S 17:08 0:00 crond
root 8169 0.0 0.0 5876 1508 ? S 17:09 0:00 crond
root 8170 0.0 0.0 5872 856 ? S 17:09 0:00 crond
apache 8175 0.0 0.2 20100 6728 ? S 17:09 0:00 php /var/www/html/call_engine.php 97134XXXX xtratelecom 109074 91130XXXX 60 60 91130XXXX 748990 17 232993 telefono XXX.XXX.X.XXX
root 8181 0.0 0.0 4260 940 pts/0 R+ 17:09 0:00 ps aux
root 26812 0.0 0.0 10096 2928 ? Ss 14:29 0:00 sshd: root@notty
root 26816 0.0 0.0 6528 1592 ? Ss 14:29 0:00 /usr/libexec/openssh/sftp-server
root 27615 0.0 0.0 10072 2940 ? Ss 14:46 0:00 sshd: root@pts/0
root 27618 0.0 0.0 4672 1520 pts/0 Ss 14:46 0:00 -bash
root 30837 0.0 0.0 5876 1516 ? S 15:53 0:00 crond
root 30838 0.0 0.0 0 0 ? Zs 15:53 0:00 [sh] <defunct>
root 31298 0.0 0.0 5876 1516 ? S 15:55 0:00 crond


There are some scripts that you can see as "php /var/www/html/call_engine.php ..." that are consuming CPU more than I expect and I will correct, but I would like to know about the other processes like many crond or the "/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t". Or maybe the whole problem would be the php script?


Thanks in advance.
 
Old 03-04-2011, 03:33 PM   #2
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 889

Rep: Reputation: 182Reputation: 182
Hi,

The only abnormal thing I see are the processes :

Quote:
root 3523 66.7 0.2 20100 6800 ? R 16:07 41:18 php /var/www/html/call_engine.php 69680XXXX xtratelecom 107837 91130XXXX 60 60 91130XXXX 743318 7 232445 telefono XXX.XXX.X.XXX


root 4967 56.5 0.2 20100 6792 ? R 16:20 28:03 php /var/www/html/call_engine.php 63025XXXX xtratelecom 107255 91130XXXX 60 60 91130XXXX 741002 7 232619 telefono XXX.XXX.X.XXX

root 5378 44.0 0.2 20100 6796 ? R 16:22 20:42 php /var/www/html/call_engine.php 62605XXXX xtratelecom 108745 91130XXXX 60 60 91130XXXX 747757 9 232666 telefono XXX.XXX.X.XXX

root 7208 59.6 0.2 20100 6240 ? R 16:40 17:30 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232900 telefono XXX.XXX.X.XXX

root 7219 59.8 0.2 20100 6788 ? R 16:40 17:34 php /var/www/html/call_engine.php 93394XXXX xtratelecom 107865 91130XXXX 60 60 91130XXXX 743487 17 232908 telefono XXX.XXX.X.XXX
Just check in the message logs for these processes, if you find something for last few months.

Though there may be some hardware related issue like overheating or something.
 
Old 03-04-2011, 06:17 PM   #3
LoThaR71
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Hi, these processes are scripts launched by a cron. It's part of an asterisk application. And there's a lot of "crond" commands. My cron is executing every minute and run that php scripts, but usually the crond command show up in the top for a few seconds just to run the script and dissapear. This time seems to freeze there sucking too much CPUs processing.

If this is all the problem, I could handle it because I will rewrite the script.

It's reasonable an overheating problem too because after each reboot, I don't have any clue of errors in the messages log. That is a sign of (unexpected) halting or power down.

I don't know if someone can see any other possible problem before I change the hardware of the machine.

Regards

Last edited by LoThaR71; 03-05-2011 at 09:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kacpi_notify consuming 50% of cpu ratitu Linux - Laptop and Netbook 1 06-21-2010 02:48 AM
X server consuming 100% CPU on 12.1 gmelendez Slackware 2 08-19-2008 05:22 PM
Apache is consuming all CPU resources romeo_tango Solaris / OpenSolaris 6 01-04-2008 06:43 AM
printer consuming 100% cpu jonfa Solaris / OpenSolaris 8 05-18-2007 05:34 PM
udevd consuming lot of CPU svangati Linux - General 3 05-15-2006 05:11 PM


All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration