Load testing


#1

hi,
does anyone have any pointers for load testing an app running on apache2
with fastcgi?
I have an app running circa 3000 page requests per day, most of which
are static pre-cached files and fastcgi seems to be coping well so far
(crosses fingers) but I would like to be able to work out my server
limit.

Currently I have the following in my apache conf:
FastCgiServer /var/rails/production/public/dispatch.fcgi -initial-env
RAILS_ENV=production -idle-timeout 120 -processes 1
but curiously this seems to spawn 2 processes, only one of which ever
seems to be used.

I suppose I just want to know what will happen on the days we spike, and
I’m not sure how fastcgi deals with that sort of thing. Any pointers
gratefully recieved.

thanks
dorian


I do things for love or money


#2

http://wiki.rubyonrails.com/rails/pages/HowToStressOrLoadTest