I have a question regarding mod_passenger and Singleton classes (rails 2.3.5 and ruby 1.9.1).
In my aplication, I have a Singleton class that implements a thread pool (thread safe).
Also there is controller to manage all the threads (kill and start them). This controller uses the previous singleton class to do the actions over the threads.
In local, using WEBrick with config.cache_classes = true it works right. In production, using mod_passenger (also config.cache_classes = true), it doesn't work: the threads aren't killed. However, if I use the singleton class from a console (production environment), it works ok.
Could be the problem mod_passenger? Any tips?
Thanks.