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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > APC/eAccelerator "restarts"

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2009, 06:36 AM
alatom alatom is offline
New Member
 
Join Date: Jan 2009
Posts: 4
Default APC/eAccelerator "restarts"

After installing Litespeed ent. which was rather easy even for a noob like me, we have a problem with APC.
For some reason APC "restarts" every now and then, sometimes its up for 5 sec sometimes for 5 min. We also tried eAccelerator with the same result.

We use PHP suEXEC, can this have anything to do with it?
Reply With Quote
  #2  
Old 01-29-2009, 11:18 AM
alatom alatom is offline
New Member
 
Join Date: Jan 2009
Posts: 4
Problem solved.. uninstalled litespeed enterprise and went for good old apache.. and voila! it works!
Reply With Quote
  #3  
Old 01-29-2009, 11:55 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
More likely the cache memory size has been set to a large value, you need to increase the memory limits for "lsphp5". Login to LSWS web console and check the configuration of server level lsphp5 external application.
Reply With Quote
  #4  
Old 01-29-2009, 12:11 PM
alatom alatom is offline
New Member
 
Join Date: Jan 2009
Posts: 4
I tried cache memory size from 8-128 mb and none worked, over 128 was just 503 error.
The memory limit for lsphp5 was 512 so that shouldn't be the problem..
Reply With Quote
  #5  
Old 01-29-2009, 01:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
What you experienced is normal I think, as PHP suEXEC will not share the same opcode cache memory like Apache mod_php does, each lsphp5 process will have its own cache memory, so, in order to make it more efficient, make the on disk cache storage available.
Reply With Quote
  #6  
Old 01-29-2009, 01:27 PM
alatom alatom is offline
New Member
 
Join Date: Jan 2009
Posts: 4
From what I understand by the wiki article only a single APC shared memory slice will be created and shared by all children when using that method.
Reply With Quote
  #7  
Old 01-29-2009, 01:44 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
That's true for PHP in non-suEXEC mode.
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 04:06 PM.



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