7/9/2002 10:21:03 AM, "Simon Harper" <[EMAIL PROTECTED]> wrote:

>Hi All,
>
>I've been looking at some threads concerning the use of strace with CF, and I've 
>ended up editing my 
/opt/coldfusion/bin/start script to use the command:
>
>env -i $ENV_LIST  strace -ff -o /tmp/dump $CFHOME/bin/cfexec -j -s
>
>A number of dumps are written to /tmp when the server started the first time, but 
>what I was hoping for was dumps 
when the server '"Caught a fatal signal (11) - Aborting"'
>
>Does anyone know how to set that up ? - our server is crashing frequently and I've 
>tried all the usual things.  I'm 
hoping that it will help to see exactly what is going wrong.
>
>Thanks,
>
>Simon.

Hi Simon,

You may want to have a look at a this thread:
http://www.mail-archive.com/[email protected]/msg01792.html

I patched our kernel to log some of the system calls via kill(2) and discoverd
that a sig 11 is being hit.  Then the process kills all of the other threads with
a signal 6 after making the log entries we are so familliar with. 

I havn't had time to write a patch to give a stack trace from within the kernel
when the signal is generated.  An strace might help but I'm not sure how well
logging everything will work out (both with the threads and because of the
sheer size of the logs).  I'm curious how this works out.

Good Luck,
Chad

< chad @ webcorelabs . com >






______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to