PDA

View Full Version : Fatal error: Allowed memory size of 33554432 bytes exhausted


MarkPW
03-17-2009, 09:31 AM
I'm running Litespeed 2-CPU Enterprise edition (v3.3.11) on Linux x86 4GB RAM (web server only) and my users are reporting the following error on my forums:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16783 bytes) in /path/to/mysite/forum/showthread.php on line 1265

Is it a case of adjusting memory_limit in php.ini or is there a setting within the Litespeed admin that I can amend? Also, what would be the suggested memory limit for a site that has around 2800 users online peak, 2200 average (15 min timeout).

Your help would be appreciated.

mistwang
03-17-2009, 11:24 AM
You can increase both limits in php.ini and LSWS web console. The memory used for opcode cache counted towards that limit.