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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Trying to debug dispatch.lsapi

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2008, 01:32 AM
solars solars is offline
New Member
 
Join Date: May 2008
Posts: 5
Default Trying to debug dispatch.lsapi

Hey again,

dispatch.lsapi suddenly gets killed on the first request on one app, this might be due to path changes in the framework and the LS environment.
Everything runs fine on script/server, mongrel, thin and mod_rails.

I don't get any meaningful error messages (litespeed only reports runaway process) so I tried it with strace:

Here is the (hopefully) important output: http://pastie.caboo.se/200732

can anyone please tell me whats going wrong here? I can't really understand it ....

Last edited by solars; 05-21-2008 at 04:18 AM..
Reply With Quote
  #2  
Old 05-21-2008, 11:27 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
The strace output does not show anything useful.
You have to strace it when it is serving a problem request.
Reply With Quote
  #3  
Old 05-21-2008, 11:28 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
for trouble shooting, please follow our guide

http://www.litespeedtech.com/support...s:troubleshoot
Reply With Quote
  #4  
Old 05-22-2008, 04:07 AM
solars solars is offline
New Member
 
Join Date: May 2008
Posts: 5
sorry, yeah that was the wrong snippet obviously.

I finally found the bug and fixed it, it's quite hard to debug though
Reply With Quote
  #5  
Old 05-25-2008, 08:17 PM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
What was the bug?
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 12:14 PM.



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