Cameron Booth
2006-Mar-28 01:55 UTC
[Rails] Apache/FCGI Rails - is apache restart required on DB change?
Hi all, wondering when I need to restart apache. I''m setting up a rails system for the first time, and it seems to be caching my database configuration, unless I restart apache. Is there any way out of this? Is there a way to do this without restarting apache? Thanks in advance! Cameron -- Posted via http://www.ruby-forum.com/.
Dorian Mcfarland
2006-Mar-28 02:03 UTC
[Rails] Apache/FCGI Rails - is apache restart required on DB change?
I *think* your environment and db details are cached even in dev mode, so you would either need to restart apache or at least kill all the dispatch.fcgi processes. There are some good pointers here: http://weblog.textdrive.com/article/175/rails-optimizing-resource-usage ...pointers that I would have done well to have read before the last 2 months on my project :) dorian Cameron Booth wrote:> Hi all, > > wondering when I need to restart apache. I''m setting up a rails system > for the first time, and it seems to be caching my database > configuration, unless I restart apache. > > Is there any way out of this? Is there a way to do this without > restarting apache? > > Thanks in advance! > > Cameron >-- -- I do things for love or money