Cron Segmentation fault WHMCS
hi i have probleme with cron jobs cron commande */5 * * * * php -q /home/myuser/public_html/client/crons/cron.php ssh with option on docs php -q /home/myuser/public_html/client/crons/cron.php all -F -vvv
WHMCS Automation Task Utility: all ================================== Daily Cron Automation Mode Queuing Tasks ------------- Force run any tasks: ignore "in progress" and "is due" Task queues ready Executing Application Queue --------------------------- 0/24 [????????????????????????????] 0% < 1 sec/< 1 sec 22.0 MiB Currency Exchange Rates 1/24 [????????????????????????????] 4% < 1 sec/< 1 sec 22.0 MiB Product Pricing Updates 2/24 [????????????????????????????] 8% < 1 sec/< 1 sec 22.0 MiB Invoices 3/24 [????????????????????????????] 12% < 1 sec/< 1 sec 22.0 MiB Late Fees 4/24 [????????????????????????????] 16% 1 sec/6 secs 22.0 MiB Credit Card Charges 5/24 [????????????????????????????] 20% 1 sec/5 secs 22.0 MiB Invoice & Overdue Reminders 6/24 [????????????????????????????] 25% 2 secs/8 secs 22.0 MiB Domain Renewal Notices 7/24 [????????????????????????????] 29% 3 secs/10 secs 22.0 MiB Cancellation Requests 8/24 [????????????????????????????] 33% 4 secs/12 secs 22.0 MiB Overdue Suspensions 9/24 [????????????????????????????] 37% 4 secs/11 secs 22.0 MiB Overdue Terminations 10/24 [????????????????????????????] 41% 5 secs/12 secs 22.0 MiB Fixed Term Terminations 11/24 [????????????????????????????] 45% 5 secs/11 secs 22.0 MiB Inactive Tickets 12/24 [????????????????????????????] 50% 5 secs/10 secs 22.0 MiB Delayed Affiliate Commissions 13/24 [????????????????????????????] 54% 5 secs/9 secs 22.0 MiB Affiliate Reports 14/24 [????????????????????????????] 58% 6 secs/10 secs 24.0 MiB Email Marketer Rules 15/24 [????????????????????????????] 62% 6 secs/10 secs 24.0 MiB Credit Card Expiry Notices 16/24 [????????????????????????????] 66% 6 secs/9 secs 24.0 MiB Server Usage Stats 17/24 [????????????????????????????] 70% 8 secs/11 secs 26.0 MiB Overage Billing Charges 18/24 [????????????????????????????] 75% 8 secs/11 secs 26.0 MiB Client Status Update 19/24 [????????????????????????????] 79% 9 secs/11 secs 26.0 MiB Domain Expiry 20/24 [????????????????????????????] 83% 9 secs/11 secs 26.0 MiB Ticket Escalation Rules 21/24 [????????????????????????????] 87% 9 secs/10 secs 26.0 MiB Data Retention Pruning 22/24 [????????????????????????????] 91% 10 secs/11 secs 26.0 MiB WHMCS Updates Erreur de segmentation
docs whmcs
https://docs.whmcs.com/Cron_Job_Issues#Segmentation_fault
This error is not something directly related to the WHMCS software and can occur for multiple different reasons. It most commonly indicates a PHP crash is occurring and would suggest there is an issue with your PHP installation, for example a malfunctioning extension. It is something your server admin/hosting provider would need to investigate, using the 'strace' utility for example.
i run
strace php -q /home/webhosti/public_html/client/crons/cron.php
thx for it and call me for more information
sorry my English is bad bad bad bad bad
-
Not really a whmcs forum but it almost looks like your trouble starts during a mysql query: sendto(3, "w\0\0\0\26select * from `tbltask_stat"..., 123, MSG_DONTWAIT, NULL, 0) = 123 This repeats several times directly before the crash. You may want to check that query yourself in mysql, it is possible your query is taking too long to process and getting disconnected from mysql, or there is an issue with the table you are querying. I also suggest posting on the whmcs forum, you may not get an answer back for a bit because moderation over there is pretty heavy, sometimes around 2 days for a post to be approved but someone should be able to help you. 0 -
oh thx i change max_execution_time 60 to 90. and max_input_time 30 to 60 ... 22/24 [????????????????????????????] 91% 7 secs/8 secs 38.0 MiB WHMCS Updates 23/24 [????????????????????????????] 95% 9 secs/9 secs 48.0 MiB Run Jobs Queue 24/24 [????????????????????????????] 100% 9 secs/9 secs 48.0 MiB Sending Daily Cron Digest email Executing System Queue ---------------------- 4/4 [????????????????????????????] 100% 4 secs/4 secs 52.0 MiB [OK] Completed 0 -
Excellent! Glad you got it resolved. 0 -
Hello, Thank you for adding the resolution! I'm glad to see you were able to get your issue resolved @kiozix and thank you for lending a hand @scristopher Thanks! 0
Please sign in to leave a comment.
Comments
4 comments