提高Apache下Passenger的并发性能

short version:

/etc/apache2/apache2.conf文件中加上

PassengerMaxPoolSize 2
PassengerPoolIdleTime 150


PassengerMaxPoolSize不要真的设置2,不然就2了,取值如下:


long version:

Performance Tuning for Phusion Passenger (an Introduction)

Production Rails Tuning with Passenger: PassengerMaxProcesses






你可能感兴趣的:(apache,Rails,performance)