# Apache + mod\_rails apache config

**URL:** <https://www.ruby-forum.com/t/apache-mod-rails-apache-config/159161>\
**Category:** Rails\
**Created:** [February 1, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/apache-mod-rails-apache-config/159161 "2009-02-01T18:07:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thabenksta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/97f17d/32.png) [@thabenksta](https://www.ruby-forum.com/u/thabenksta)\
**Post date:** [February 1, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/apache-mod-rails-apache-config/159161/1 "2009-02-01T18:07:34Z")

</div>

We have a 2GB memory xen setup with ubuntu, apache and mod\_rails only  
(no db, etc.) – is this a reasonable setup (taken from our apache2.conf  
)?

MaxKeepAliveRequests 390

StartServers 50  
MinSpareServers 50  
MaxSpareServers 50  
MaxClients 400  
MaxRequestsPerChild 0

What’s the best way to optimize a server. We currently have 837 MB free  
ram with the above setup, so I’m debating add more Start/Min/Max  
servers.

Thanks.
