600MB cron jobs
-
I’ve been debugging resource usage and separated out the cron to run via wp-cli and log what is happening, the results I get are eg:
lfd alert:
lfd : Excessive resource usage: mysite (24747 (Parent PID:24740)) Time: Fri May 4 22:30:56 2018 +0000 Account: mysite Resource: Virtual Memory Size Exceeded: 611 > 512 (MB) Executable: /home/virtfs/mysite/opt/cpanel/ea-php71/root/usr/bin/php Command Line: /opt/cpanel/ea-php71/root/usr/bin/php /usr/local/bin/wp cron event run --due-now --url=https://www.mysite.com/ PID: 24747 (Parent PID:24740) Killed: Nocron running at that time:
04-05-18/22:30:01 Notice: Undefined index: ii in /home/mysite/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/bg.api.php on line 48 Notice: Undefined index: ii in /home/mysite/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/bg.api.php on line 48 Notice: A non well formed numeric value encountered in /home/mysite/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php on line 369 Notice: Undefined variable: cType in /home/mysite/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/fl.api.php on line 44 Notice: Undefined offset: 2 in /home/mysite/public_html/wp-content/plugins/nxs-snap-pro-upgrade/nxs-snap-pro-upgrade.php(40) : eval()'d code on line 60 Notice: Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/nxs-snap-pro-upgrade/nxs-snap-pro-upgrade.php(40) : eval()'d code on line 60 Notice: Array to string conversion in /home/mysite/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/tr.php on line 238 Notice: A non well formed numeric value encountered in /home/mysite/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php on line 369 Executed the cron event 'nxs_querypost_event' in 69.71s. Notice: Constant DOING_CRON already defined in /home/mysite/public_html/wp-content/plugins/woocommerce-abandoned-cart/cron/wcal_send_email.php on line 9 Executed the cron event 'woocommerce_ac_send_email_action' in 0.128s. Success: Executed a total of 2 cron events. Reposter [Time to Post] Reposter ID:19542 + Finished crons for https://www.mysite.com/ 04-05-18/22:31:16 DoneI don’t always see those error messages but a recurring theme is a very long running nxs_querypost_event appearing at the same time as very high memory usage as per previous
Executed the cron event ‘nxs_querypost_event’ in 69.71s.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘600MB cron jobs’ is closed to new replies.