For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > October 2004 > Re: [PHP-INSTALL] Apache segmentation faults









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Apache segmentation faults
Hendrik Schmieder

2004-10-18, 8:56 am

Bostjan Skufca @ domenca.com schrieb:

>Hello,
>
>every now and then I notice in apache logs there were few segmentation faults
>(on a daily basis) and all I am stuck with is PID of that process (which is
>of course dead by then) and nothing about what it was doing. Is there any way
>to figure out what request that apache process was serving when SIGSEGV
>occured? Is there any reading about this?
>
>I believe the request is not logged at all because (I think) every child
>writes to log files himself and not through parent. (+ log files usually
>provide outgoing bytes value, which is not available in such a situation - if
>it was logging through parent)
>
>Again, does anybody know how could I trace out what is causing this?
>
>Thank you,
>Bostjan
>
>
>PS: I ment to send it here in the first place but mistyped the address.
>
>
>

You could use strace .

Hendrik
Bostjan Skufca @ Domenca.Com

2004-10-18, 8:56 am

I could not because I do not know which process to trace and that is because
segfault happens so rarely - say on every 200.000th request.


On Monday 18 of October 2004 10:22, Hendrik Schmieder wrote:
> Bostjan Skufca @ domenca.com schrieb:
>
> You could use strace .
>
> Hendrik


--
Best regards,

Bostjan Skufca
system administrator

Domenca d.o.o.
Phone: +386 4 5835444
Fax: +386 4 5831999
http://www.domenca.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com