Knowledgebase: Reseller Linux Hosting
WHMCS cron error: mmap() failed: [12] Cannot allocate memory
Posted by Hasan B on 31 October 2019 12:06:40 PM

You may receive the below email regarding the failure of the daily WHMCS cron job

This is because the daily WHMCs cron job under /home/username/whmcsdata/crons/cron.php is scheduled to run every 15 minutes. We have a maximum memory_limit of 256 MB on our shared servers per account. The WHMCS cron performs a number of activities. The memory footprint of the cron can be lowered by skipping the WHMCS update check. You may modify the command to the below mentioned command:

php -q /home/username/whmcsdata/crons/cron.php -vvv skip --CheckForWhmcsUpdate

This can be done from cPanel>Advanced>Cron Jobs>Navigate to the above cron job>Edit.

You may refer the links below:


You can check for WHMCS updates manually from Utilities>WHMCS Update and clicking the Check for Updates button.

For any further queries, you can contact our 24/7 support team through the desired channel.
(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: