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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > odd error.log messages, lots of lsapi spawning

Reply
 
Thread Tools Display Modes
  #11  
Old 06-14-2008, 02:23 PM
fantasydreaming fantasydreaming is offline
Senior Member
 
Join Date: Sep 2006
Posts: 76
Me too.

I was told long ago that it was the "Dynamic" half of the processes - the "max" you set is always there, and an additional number equal to that number are spawned as necessary.

But in my experience they're almost always spawned, they just only stay for about ~6 seconds. At least 2 "temporary" ones are spawned about 60% of the time, checking at about 1 second intervals for me. My server load is at .4, and there's not any waiting in the queue when I check on the website - the 4 "base" processes should be enough to handle it really...

This is annoying because even though it's copying-on-writing the memory from the parent process, rails still does a bunch of junk unique each time and so the memory gets dirtied pretty quickily. If you're at all short on memory this means thrashing and really low performance.

I'd thought it was more fixed in the past, but perhaps not. Perhaps the most recent patch added problems back again too though, it's hard to tell...
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 10:53 AM.



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