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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > core dumps

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2008, 01:32 PM
cswilliams cswilliams is offline
Member
 
Join Date: Jan 2007
Posts: 24
Default core dumps

Hi,
We just added a piece of code that queries an API using net/http when a visitor visits a certain page on our site. This block of code is also surrounded by a timeout block, just in case it takes too long querying the API, we don't want it to hang for the visitor. Once we added this, our vhost root started filling up with core dump files. I'm not all that well versed with reading coredump files, but it seems to be saying this:

Core was generated by `ruby /opt/lsws/fcgi-bin/RailsRunner.rb'.
Program terminated with signal 6, Aborted.
---Type <return> to continue, or q <return> to quit---
#0 0xb7e42518 in raise () from /lib/tls/libpthread.so.0

Not sure if that's helpful, is there a way to get something more useful out of it? I can also send you a link to download the core file if that would be helpful.

I'd say this page gets about 1 req/s, and we are getting a new core dump file every 15 minutes or so.

Thanks,
Chris
Reply With Quote
  #2  
Old 06-03-2008, 01:46 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is more likely a ruby internal problem, so, you may get more helpful tips if you write to the ruby email lists about this.

If you want to, you can try debug a live Ruby process with

http://www.litespeedtech.com/support...iki:ruby_debug
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 05:12 AM.



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