Topic: FastCGI recycling behaviour on IIS7


I am currently trying to tweak Ruby's performance on IIS7/VistaSP1, later to be moved to Windows Server 2008. Everything is working fine.

If I use a benchmarking tool I see that my 4 worker processes get recycled after 400 requests.

I tried instanceMaxRequests="20000" but still after 400 requests the processes get recycled. With Ruby on Rails this is a very expensive operation since all classes are recompiled so I want to avoid this as long as possible (indefinite?).

Is instanceMaxRequests in applicationHost.config not working or are other settings (on the RoR side?) involved.

Anyone who knows, please let me know.