itsjinx

Registered
Feb 19, 2007
1
0
151
I'm not sure why my server crashes almost every night while im asleep. i dont know if i have a virus or if a cron job is crashing it or if i got hacked or a spammer or what else it could be. When it crashes it is down all night until i wake up and have to reboot the server. I am wondering if cron jobs are taking up alot of the cpu or something because the server load isn't that much. here is my specs:

Server:
Softlayer
2 CPUS - dual core xenon 3.0mhz
500gb hd
2 gb DDR memory

Softare:
WHM/Control Panel with Ipanel back admin

Sites:
I am currently hosting 2,500 sites on the server.

The server load usually stays below 1 and is blazing fast. I just cannot figure out why it crashes when i sleep. I dont know if there is a virus or what. PHP mail is disabled so there would be no spamming(i think) crashing it. Here is my cron jobs:

17 2 * * * /scripts/upcp
0 1 * * * /scripts/cpbackup
*/15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
31 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
56 18 * * * cd /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/scripts/ ; /usr/local/cpanel/3rdparty/bin/php cron.php > /d$
0 8 * * * /root/homedb_update.sh > /dev/null 2>&1
0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1







any ideas?
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
You have to check the log files for more information. Can't help much without having a check. Anyway please see if the domlogs are too large and the stats takes much resources while processing the stats.
 

brendanrtg

Well-Known Member
Oct 4, 2006
311
0
166
Another good place to check will be your CPBACLUP, is your server setup to perform backup of your sites to a remote server?

If is it, GZIP takes a whole lot of CPU Reseources if you are running backup daily on 2500 sites.

Try weekly or one alternate days to reduce the loads.
 

ExtremeIS

Member
Jul 11, 2003
17
0
151
Does anyone have any further information on this? I have a cpanel server that has been crashing every night for the past 5 days. We haven't been able to locate anything indicating a software problem in logs at all.

We have replaced the psu, ram, hdd with no luck at all, it's still occuring. Perhaps I'm not the only one experiencing this issue.
 

webhostfreak1

Member
PartnerNOC
Oct 13, 2004
10
0
151
I was able to login to a box and see about 200 processes running where dcpumon was trying to spawn over and over and over again. This was on a VPS and was causing the number of processes to get exceeded.

root 1383 0.0 0.0 3880 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1390 0.0 0.0 2064 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1391 0.0 0.0 3092 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1399 0.0 0.0 3740 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1412 0.0 0.0 4012 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1414 0.0 0.0 3120 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1423 0.0 0.0 2848 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1427 0.0 0.0 3208 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1430 0.0 0.0 2324 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1431 0.0 0.0 2400 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1432 0.0 0.0 3656 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1433 0.0 0.0 3220 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1434 0.0 0.0 2472 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1437 0.0 0.0 2300 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1439 0.0 0.0 2636 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1440 0.0 0.0 3912 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1443 0.0 0.0 2984 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1444 0.0 0.0 2080 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1445 0.0 0.0 2596 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1446 0.0 0.0 3228 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1447 0.0 0.0 3432 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1448 0.0 0.0 3716 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1453 0.0 0.0 2904 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1459 0.0 0.0 2420 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1466 0.0 0.0 2624 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1473 0.0 0.0 3080 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1478 0.0 0.0 3192 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1482 0.0 0.0 3944 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1487 0.0 0.0 3520 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1490 0.0 0.0 3412 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1502 0.0 0.0 2636 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1505 0.0 0.0 2740 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1513 0.0 0.0 2088 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1516 0.0 0.0 3660 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1522 0.0 0.0 2744 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1525 0.0 0.0 3468 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1527 0.0 0.0 3040 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1532 0.0 0.0 2176 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1533 0.0 0.0 3836 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1534 0.0 0.0 2384 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1539 0.0 0.0 3784 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1542 0.0 0.0 3124 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1544 0.0 0.0 2992 72 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1548 0.0 0.0 3124 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1550 0.0 0.0 3680 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1551 0.0 0.0 2616 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1552 0.0 0.0 3232 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1554 0.0 0.0 2240 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1555 0.0 0.0 2860 76 ? T 10:57 0:00 /bin/csh -cf set nonomatch; glob /var/log/dcpumon/toplog.*
root 1879 0.0 0.0 2844 528 ? S 10:58 0:00 sleep 60