Slow initial server startup when using Phusion Passenger and Rails

前端 未结 7 723
攒了一身酷
攒了一身酷 2020-11-29 14:58

To jump on the band-wagon of Phusion Passenger we\'ve setup a staging server for a small rails app to test things out.

So far it has been very nice to use, it makes

7条回答
  •  借酒劲吻你
    2020-11-29 15:11

    RE:

    # Additionally keep a copy of the Rails framework in memory. If you're 
    # using multiple apps on the same version of Rails, this will speed up
    # the creation of new RailsAppSpawners. This isn't necessary if you're
    # only running one or 2 applications, or if your applications use
    # different versions of Rails.
    RailsFrameworkSpawnerIdleTime 0
    

    Just something to add and might be useful.

    The default spawn method in the current release is "smart-lv2", which skips the framework spawner, so setting the framework spawner timeout wouldn't have effect anyway unless you explicitly set the spawn method to "smart".

    Source: http://groups.google.com/group/phusion-passenger/browse_thread/thread/c21b8d17cdb073fd?pli=1

提交回复
热议问题