The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cronjob killed unexpected

Discussion in 'General Discussion' started by vronn, Dec 22, 2016.

Tags:
  1. vronn

    vronn Registered

    Joined:
    Dec 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Malaysia, Kuala Lumpur
    cPanel Access Level:
    Root Administrator
    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

    Code:
    Stopping crond:                                            [  OK  ]
    Starting crond:                                            [  OK  ]
    
    here is the log grab from /var/log/cron

    Code:
    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)
    
     
  2. vronn

    vronn Registered

    Joined:
    Dec 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Malaysia, Kuala Lumpur
    cPanel Access Level:
    Root Administrator
    Code:
    /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 tried
    Code:
    vm.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 ?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page