Now it becomes a huge problem for us.
We have about 15 Rails applications for our enterprise running on a massive server. The problem occurs when two or three applications are extremely popular, and they begin to accept all instances in PassengerMaxPoolSize. As soon as this happens, other applications will start playing instances, as a result of which several applications will be completely disabled at any time. We need the following mechanism:
PassengerMinInstancesPerApp 1
What is it.
BUT, the passenger does not have this, so we tried different options in PassengerMaxPoolSize, PassengerMaxRequests, PassengerMaxInstancesPerApp, PassengerPoolIdleTime and PassengerUseGlobalQueue.
Here are the problems with our configuration:
1: PassengerMaxPoolSize is set about 38 ... higher, and for some strange reason, the other 200 regular http sites start to crawl.
2: PassengerMaxRequests is set to 1000, but for applications that are used only once or twice a week, they are still downloaded and killed by other more popular applications.
3: PassengerPoolIdleTime is set to 0 because we have no reason to refuse applications unnecessarily.
4: PassengerGlobalQueue is included to provide slightly better load balancing.
5: PassengerMaxInstancesPerApp WAS is installed and should work, but for some reason it caused a huge lag similar to the PasengerMaxPoolSize problem ... this MAY solve the problem, but it does not seem to work ...
, ( ).
- , Phusion PassengerMinInstancesPerApp? , , ? (, , .
Cheerio!
Berns