Hi everybody, I''m running different rails applications in a production environment and I saw that the memory used by mongrels is increasing every day. What can I do to monitor this memory increasing? (the applications seems also to be very slow). Since I''ve been started my busiest application, each mongrel (4) has increased by 70-80 Megs and they keep increasing. Could the problem be a series of mysql connection not closed properly? if yes, is there a way to monitor this kind of connection? Thanks for your help! Roberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The company which is hosting one of our sites has installed a system called Munin, which monitors a lot of information like memory usage, logins, registrations, number of up/downloads and so on. It''s great. Sorry, that I can''t give you much information about it, since, as mentioned, it wasn''t installed by us, but here is the link to their site: http://munin.projects.linpro.no/ We had some memory leak (by ImageMagick, when it crashed) and could easy enough find the source just by comparing times of error logs with the memory usage profile. Another useful tool is Exception Notifier Plugin for Rails --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
That''s a good tool, I''ll try it. Thanks Thorsten! On Sep 12, 3:06 pm, Thorsten Müller <thors...-1oxKqHKwyltBDgjK7y7TUQ@public.gmane.org> wrote:> The company which is hosting one of our sites has installed a system > called Munin, which monitors a lot of information like memory usage, > logins, > registrations, number of up/downloads and so on. It''s great. > > Sorry, that I can''t give you much information about it, since, as > mentioned, > it wasn''t installed by us, but here is the link to their site: > > http://munin.projects.linpro.no/ > > We had some memory leak (by ImageMagick, when it crashed) and could > easy enough find the source just by comparing times of error logs with > the memory usage profile. > > Another useful tool is Exception Notifier Plugin for Rails--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Check out the Scout plugin for monitoring memory usage: http://scoutapp.com/plugin_urls/1-process-usage We use this to monitor memory usage, and along with other Scout plugins, try and fix problems like this. Generally, if you have a leaky app, it could be that you''re opening a file (a log or any other type of file) and not closing it when done. Disclaimer: I work for the company that built Scout (Highgroove Studios). -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com Scout - Web Monitoring and Reporting Software www.scoutapp.com On Fri, Sep 12, 2008 at 9:28 AM, Roberto Druetto <roberto.druetto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > Hi everybody, > I''m running different rails applications in a production environment > and I saw that the memory used by mongrels is increasing every day. > What can I do to monitor this memory increasing? (the applications > seems also to be very slow). > > Since I''ve been started my busiest application, each mongrel (4) has > increased by 70-80 Megs and they keep increasing. > > Could the problem be a series of mysql connection not closed properly? > if yes, is there a way to monitor this kind of connection? > > Thanks for your help! > Roberto > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---