I run Sugar 4.5.1f CE
Apache 2.052
CentOS 4.2 on a VPS
PHP 5.2.5
It seemed to happen out of the blue, but my web-based SugarCRM installation along with other important web-programs (our company's online shopping cart) is now "Nothing"! It cannot be pulled up at all. The whole server seems to have just stopped, even though I've restarted Apache. My web-host tech support has helped me pinpoint the error:
It appears to be a script problem in PHP which is hogging memory, which would be in this section of code:HTML Code:[error] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 311296 bytes) in /home/webadmin/(mysite).com/html/vortex/index.php on line 612
HTML Code:// set user, theme and language cookies so that login screen defaults to last values if(isset($_SESSION['authenticated_user_id'])) { $GLOBALS['log']->debug("setting cookie ck_login_id_20 to ".$_SESSION['authenticated_user_id']); setcookie('ck_login_id_20', $_SESSION['authenticated_user_id'], time() + 86400 * 90); } if(isset($_SESSION['authenticated_user_theme'])) { $GLOBALS['log']->debug("setting cookie ck_login_theme_20 to ".$_SESSION['authenticated_user_theme']); setcookie('ck_login_theme_20', $_SESSION['authenticated_user_theme'], time() + 86400 * 90); } if(isset($_SESSION['authenticated_user_language'])) { $GLOBALS['log']->debug("setting cookie ck_login_language_20 to ".$_SESSION['authenticated_user_language']); setcookie('ck_login_language_20', $_SESSION['authenticated_user_language'], time() + 86400 * 90); }
My question is: I have had the memory_limit in the PHP.INI file set at 60MB when this happened, I have since tried upping it to 300 and restarted Apache and nothing changes. I even tried removing the index file temporarily in order to see if this would allow the web-commerce application to run properly, but it didn't help. My php settings can be found here:
http://(mysite).com/phpinfo.php
I have already looked at the other posts on this topic and none seem to have a resolution that I could find, short of rebuilding the server, which I have limited access to.
Please let me know if anyone knows how to fix this. Thanks in advance for any tips, and guidance on this,
John


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks