How many fcgi processes can you have?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
kreek
New Forum User
New Forum User
Posts: 2
Joined: Fri Jul 21, 2006 3:37 am

How many fcgi processes can you have?

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
Post Reply