Cédric
2008-Jul-14 14:18 UTC
[Backgroundrb-devel] loading BackgroundRB with max-memory limit?
Hi there, I still having some trouble with BackgroundRB... sorry per advance :-) My application has got a worker that takes, let''s say, too much RAM and while in load, it makes my mongrel running very slow. I wondered if it was possible to load BackgroundRB with a maximal limit of memory? Thanks. -- Bousmanne C?dric Jabber / XMPP : akyrho at gmail.com Mail : akyrho at gmail.com Blog : http://www.parenthese.be/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080714/556ebd9d/attachment.html>
hemant
2008-Jul-14 14:49 UTC
[Backgroundrb-devel] loading BackgroundRB with max-memory limit?
On Mon, Jul 14, 2008 at 7:48 PM, C?dric <akyrho at gmail.com> wrote:> Hi there, > > I still having some trouble with BackgroundRB... sorry per advance :-) > > My application has got a worker that takes, let''s say, too much RAM and > while in load, it makes my mongrel running very slow. I wondered if it was > possible to load BackgroundRB with a maximal limit of memory? >Why is it taking too much RAM? are you storing lots of results in cache or having lots of tasks in thread pool queue? If you are storing lots of objects in cache consider swtiching to memcache for result storage.