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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > litespeed plus rails memory usage

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2007, 09:14 AM
Shelby Shelby is offline
Member
 
Join Date: Aug 2006
Location: Dallas, TX
Posts: 22
Default litespeed plus rails memory usage

I am not an advanced user, and am somewhat confused about memory usage. I have a server machine with 2 gig RAM that only runs litespeed version 2.2), nothing else. I have about 20 virtual hosts, and about 10 rails webapps, 5 of which are kind of big. When I start the server, and look at the Real Time Report, vmstat reports free memory of about 1600000. A day later, this has dropped to 1477948. And, over time it continues to drop, usually down to 800000 or so. This seems like a lot of RAM use for only a few virtual hosts and webapps.

My first question - why is free memory dropping from that show right after startup? What, exactly is getting instantiated to use up this RAM, (that is not already instantiated on startup)? Why does the free memory never rise back up as garbage collection takes place? Occasionally I see it rise a bit, but not much. Is there any tuning that I should be doing with litespeed that I don't know about? Also, I'm concerned about a memory leak in my applications, but I'm not really sure how to test for it. Anyway, any advice would be appreciated.

Shelby
Reply With Quote
  #2  
Old 02-08-2007, 05:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
That's normal. you also need to add up memory used for cache and buffer.
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 03:44 PM.



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