LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Stray rails processes

Reply
 
Thread Tools Display Modes
  #11  
Old 04-17-2008, 07:24 PM
teej_m teej_m is offline
New Member
 
Join Date: Apr 2008
Posts: 4
I'll have to say sorry for crying wolf on this one. I tried reinstalling the ruby-lsapi gem (just in case it was using the old one) and I managed to get it working from there. I'll stop by if it seems to be causing issues again!
Reply With Quote
  #12  
Old 04-17-2008, 07:48 PM
teej_m teej_m is offline
New Member
 
Join Date: Apr 2008
Posts: 4
Change of plans. At the moment I have have a few Ruby-lsapi processes that are using cpu and memory and a mysql connection open. Mysql shows that the connection has been idle for 15+ minutes now. There are a few processes like this, and when strace'd, they show nothing happening.
Reply With Quote
  #13  
Old 04-17-2008, 07:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Maybe they are in a infinity loop.
You can try gdb attach to those processes.
Code:
gdb
attach <pid_of_ruby>
bt
Also check
http://www.litespeedtech.com/support...iki:ruby_debug
Reply With Quote
  #14  
Old 04-17-2008, 08:08 PM
teej_m teej_m is offline
New Member
 
Join Date: Apr 2008
Posts: 4
Debugging with gdb has pointed me in the right direction. Thanks for your help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:18 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.