Tuning for 512Mb slice

Discussion in 'Ruby/Rails' started by conorh, Jun 5, 2008.

  1. conorh

    conorh New Member

    I'm trying to figure out how to tune my litespeed setup for my 512Mb slice at slicehost.com. The server will be running two rails apps and mysql, both apps are low volume for now.

    1. On a 512Mb server what are reasonable limits for Memory Soft Limit and Memory Hard Limit for a Rails app that on average takes 60Mb (of non virtual memory) per process?

    2. Memory I/O Buffer - This is set to 120M by default, can I set this lower (say 10M) so that it doesn't end up chewing up a lot of memory?
  2. mistwang

    mistwang LiteSpeed Staff

    For the ruby process, you should give enough memory, otherwise the application will break.
    For Memory I/O buffer, you don't have to change it as LSWS will allocate memory on demand. When the limit is hit, LSWS will start to swap to disk.

Share This Page