Page 1 of 1

How many fcgi processes can you have?

Posted: Thu Aug 10, 2006 4:44 pm
by kreek
I'm running ruby on rails on a couple of sites with my dedicated virtual server. Each site has two ruby fcgi processes assigned to it. Most of my dynamic sites going forward willl be Rails and I'm wondering if I give each site 2 fcgi processes when will it max out (I'm sure it's dependant on my cpu allocation RAM etc)?

Through a brief Google I've found most people have 10 max per server.

Posted: Fri Aug 11, 2006 7:45 am
by scott
you'll run into a file descriptor limit eventually. Apache can only open 1024 by default. Each log file counts, and on PSA you'll either have 2 or 4 per domain depending on if you use SSL or not. Your ruby processes will consume 1 per instance as well, so add that to your base and you'll get a quick calculation on where you're going to run into problems.