Ruby on Rails
Thursday, December 5, 2013
On Tuesday, December 3, 2013 8:03:51 PM UTC-5, John Merlino wrote:
-- I'm using Rails 3, Passenger, and Postgresql. Yesterday the rails application was running very slow. So I rebooted the server. Less than 24 hours later, it is consuming even more memory than before and when trying to load the web page, it just hangs forever. I ran passenger-memory-stats to inspect the issue. And once again, I notice 2 rack processes using over 2 gigabytes of private dirty RSS:
This blog post mentions using the xray gem to inspect running processes. That may or may not help, since you don't know if they're still doing whatever caused them to use so much memory by the time you find them. Couldn't hurt to try, though.
http://pivotallabs.com/inspect-running-ruby-processes-using-xray-and-kill-3/
Jim Crate
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c6e18c0a-45a2-4d29-88d5-95910f478ae6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment