Debugging Stuck Ruby Process - Workling\Starling

We have a rails app that about every 24 hours runs the load average on the machine well beyond 5. It looks like a stuck Ruby process specifically related to a background process running to manage event and calendar reminders. It seems like killing it and restarting the app resolves temporarily:

dd   6554     1  0 00:38 ?        00:00:15 /usr/local/bin/ruby /usr/local/bin/starling -d -p 15151 -P /u/apps/dd/shared/ -q /u/apps/dd/shared/starling -L /u/apps/dd/shared/starling.log

Is there anything better than debugging with GDB? I don't see much useful info there.

  • Ruby 1.8.7 x86_64
  • Rails 2.3.9
  • Eventmachine 1.0.3
  • Workling
  • Starling 0.10.1
  • CentOS 5.9



Pretty much everything you listed is super old. You're problem could be as simple as memory leaks that have been fixed in the years since all of those versions were released.

Otherwise, you could try out some Ruby profile tools such as ruby-prof.

Need Your Help

Vary Color Bar For Two Series Data in Jqplot

javascript jquery jqplot

I want to know how to make vary color bar for two series in Jqplot. If I have only one series data, it works perfectly like the image below

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.