read passenger for nginx configuring , record
1 passenger_root
2 passenger_log_level 0 1 2 3 日志级别
3 passenger_ruby choose ruby
4 passenger_use_global_queue on or off default off 。on or off have 5% minor performance .
5 passenger_user_switching on or off default on
6 passenger_default_user default nobody
7 passenger_enabled on or off .this is important default disable
8 passenger_max_pool_size default 6. the value should be at least equal to the number of CPUs (or CPU cores) that you have. If your system has 2 GB of RAM, then we recommend a value of 30. If your system is a Virtual Private Server (VPS) and has about 256 MB RAM, and is also running other services such as MySQL, then we recommend a value of 2
9 passenger_max_instances_per_app default 0
10 passenger_pool_idle_time default 300 second
11 rails_env
12 rails_spawn_method default smart-lv2
13 rails_framework_spawner_idle_time 1800
14 rails_app_spawner_idle_time 600
http://www.modrails.com/documentation/Users%20guide%20Nginx.html#moving_phusion_passenger
1 passenger_root
2 passenger_log_level 0 1 2 3 日志级别
3 passenger_ruby choose ruby
4 passenger_use_global_queue on or off default off 。on or off have 5% minor performance .
5 passenger_user_switching on or off default on
6 passenger_default_user default nobody
7 passenger_enabled on or off .this is important default disable
8 passenger_max_pool_size default 6. the value should be at least equal to the number of CPUs (or CPU cores) that you have. If your system has 2 GB of RAM, then we recommend a value of 30. If your system is a Virtual Private Server (VPS) and has about 256 MB RAM, and is also running other services such as MySQL, then we recommend a value of 2
9 passenger_max_instances_per_app default 0
10 passenger_pool_idle_time default 300 second
11 rails_env
12 rails_spawn_method default smart-lv2
13 rails_framework_spawner_idle_time 1800
14 rails_app_spawner_idle_time 600
http://www.modrails.com/documentation/Users%20guide%20Nginx.html#moving_phusion_passenger