knipper Posted March 10, 2010 Share Posted March 10, 2010 Hi all, Occassionaly when the WHMCS cron runs (not every time) I get the following error (account info changed): Mar 10 03:00:01 z06 suhosin[2488]: ALERT - script tried to increase memory_limit to 536870912 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/home/myacount/public_html/clientarea/cmsadmin/cron.php', line 0) It seems the cron for WHMCS is trying to increase the memory limit to 512Mb to run. I know when I get this same error during a wordpress update (for example) the update usually fails. HOWEVER, I am getting my cron e-mails, and when I check WHMCS, it apears it has updated overnight. (I check bandwidth useage) So I have a question... Is there somewhere I can edit a file within WHMCS to correct this, or am I going to have to edit my php.ini file & suhosin settings. (I have tried that with a couple different settings, but still get occassional errors) Thanks! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted March 10, 2010 WHMCS Developer Share Posted March 10, 2010 It is recommended to set your memory limit to around 512MB in order to stop any issues occurring with memory running out when the cron is running, setting this in your suhosin limits will stop this alert. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.