cronjob killed unexpected
I had a cronjob which run every 5 minutes to send SMS, my cpanel 1 working well even with hundred thousand SMS send, tried once, currently im setting up another cpanel account lets call account2, it send only 6 to 10 SMS ( seconds and cronjob killed ), i have no idea, is there any account specified limit at WHM i didn't setup? its been too long forget what to set at WHM/Cpanel
i google around found this thread but the solutions not fixing my problem, my crond is running
here is the log grab from /var/log/cron
Stopping crond: [ OK ]
Starting crond: [ OK ]
here is the log grab from /var/log/cron
Dec 23 13:00:01 s2 CROND[1724]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:05:01 s2 CROND[2725]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:10:01 s2 CROND[3696]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:15:01 s2 CROND[4677]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:20:01 s2 CROND[5523]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:25:01 s2 CROND[6457]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:30:01 s2 CROND[7377]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:35:01 s2 CROND[8473]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
Dec 23 13:40:01 s2 CROND[9524]: (account2) CMD (php-cli /home/account2/public_html/control/app/console sms:daemon -e prod >> /tmp/account2_sms_daemon.log 2>&1)
-
/bin/bash: line 1: 19441 Killed php-cli /home/account2/public_html/1/app/console sms:send -e prod >> /tmp/account2_sms_daemon.log
i found this error message once i set the cronjob to send email, i google around and found that is possible killed by OOM, i triedvm.overcommit_memory = 2
but still not work NOTE: this OOM changes i never done it before, btw now my account1 still able to send and just complete 10 thousand SMS, just today, what a weird case, in different cpanel account, it has different results, should be some config for each account specified i didn't setup??? any solutions or any clue ?0 -
Hello, The following StackOverflow discussion is a good place to start when troubleshooting OOM notifications: Debug out-of-memory with /var/log/messages Let us know if this helps. Thanks! 0
Please sign in to leave a comment.
Comments
2 comments