LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Fatal error: Allowed memory size of 33554432 bytes exhausted

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2009, 09:31 AM
MarkPW MarkPW is offline
Member
 
Join Date: Apr 2008
Posts: 20
Question Fatal error: Allowed memory size of 33554432 bytes exhausted

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.
Reply With Quote
  #2  
Old 03-17-2009, 11:24 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can increase both limits in php.ini and LSWS web console. The memory used for opcode cache counted towards that limit.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:14 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.