I have a few dozen daemons and all of them load the rails environment.
Each one uses the DaemonSpawn gem to daemonize itself. I was
thinking that I could save a lot of memory if I could somehow share
the rails environment between all of these daemons. It seems to me
the simplest thing to do would be to use the daemonize gem and do a
Daemons.run('myserver.rb') for each of the daemons but I am not sure
that this would actually solve my problem or not.
I am wondering if anybody else has had this issue and what they did to solve it.