On Fri, 2008-04-11 at 15:15 -0700, Paul Kmiec wrote:
> Hi everyone,
> 
> I noticed that script/backgroudrb requires config/environment which
> causes the backgroundrb server as well as the log worker to 'bloat' to
> 35MB each. I am kind of sensitive to memory issues, so I patched the
> code and essentially moved the require of environment from
> script/backgroundrb to the meta_worker. Everything seems good and now
> both backgroundrb server and log worker hang around 12MB.
> 
> Is there a reason why script/backgroundrb loads the environment? I
> suppose it makes spawning rail workers faster?
> 
> Anyways, if anyone is interested, I can post my simple patch.
> Paul

Environment loading is a little messy right now. I wanted to work on it
and make it clean, so i will welcome any patch.



_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to