I have a Ubuntu linux setup with 512MB of RAM. We haven’t launched our
site yet, so we only have about 100 unique visitors per day. Our site
is very dynamic in nature (i.e. database driven). We are running Rails
behind Apache 2.2 with 4 instances of Mongrel. However, we keep running
out of memory and are swapping way too much.
My problem is very similar to what’s described here:
Has anyone here run into this? I’m wondering what’s a good
solution/workaround (e.g. JRuby + Java app server instead of Mongrel,
the fork() and ActiveRecord kluge).