Mukund Rajamannar
2009-Mar-17 12:59 UTC
[Backgroundrb-devel] how does backgroundrb allocate memory to a worker?
In the Rails environment, does backgroundrb start a separate process (equal to a mongrel instance) for each worker? Is there any optimization possible? My Rails app is rather large and starting backgroundrb consumes too much memory for 4 workers. Thanks, Mukund -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090317/0c6bb17b/attachment.html>
Samer Masry
2009-Mar-17 16:31 UTC
[Backgroundrb-devel] how does backgroundrb allocate memory to a worker?
You can use set_no_auto_load(http://backgroundrb.rubyforge.org/workers/) so the worker does not startup automatically. Samer Masry 2009/3/17 Mukund Rajamannar <talksense101 at gmail.com>> In the Rails environment, does backgroundrb start a separate process (equal > to a mongrel instance) for each worker? Is there any optimization possible? > > My Rails app is rather large and starting backgroundrb consumes too much > memory for 4 workers. > > Thanks, > Mukund > > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090317/885698a3/attachment.html>