ABHIONLINUX
Site useful for linux administration and web hosting

2009/12/23

Fix for memory limit error in joomla site

You could see memory limit error on joomla sites. Even though you increase memory limit on php.ini file, it will not solve.

In Apache error logs you can find the following:-

===================================================
[Wed Feb 6 05:56:26 2008] [error] (22)Invalid argument: setrlimit: failed to set memory limit
[Wed Feb 7 09:48:26 2008] [error] (22)Invalid argument: setrlimit: failed to set memory limit
===================================================
Fix:-
Remove the following entries from apache configuration file.

1. RLimitMEM 519640064
2. RLimitCPU 240

Restart apache after this. This will fix the issue

No comments:

Post a Comment