eventmachine - Debugging Stuck Ruby Process - Workling\Starling -
we have rails app every 24 hours runs load average on machine beyond 5. looks stuck ruby process related background process running manage event , calendar reminders. seems killing , restarting 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/starling.pid -q /u/apps/dd/shared/starling -l /u/apps/dd/shared/starling.log
is there better debugging gdb? don't see useful info there.
- ruby 1.8.7 x86_64
- rails 2.3.9
- eventmachine 1.0.3
- workling 0.4.9.9
- starling 0.10.1
- centos 5.9
thanks
pretty listed super old. you're problem simple memory leaks have been fixed in years since of versions released.
otherwise, try out ruby profile tools such ruby-prof.
Comments
Post a Comment