I got an VPS at burst.net, very cheap one, but this doesn't matter.

The strange behavior of it is, the php-cgi process, which started using lighthttpd's spawn-cgi, dies every a few minutes. however, other processes are fine and great, even include a java process, and I'm sure there is no "out of memory" issue, so it's not killed by OOM killer.

I used strace to trace the process, and found out it was killed by SIGKILL, hence no single log was left on the disk, just dies suddenly.

Is there anyway I can find out what process/thing sent the SIGKILL to the poor php process?

Filed a ticket with the vendor, but they said they won't care.

strace -p 7176
Process 7176 attached - interrupt to quit
wait4(-1, <unfinished ...>
+++ killed by SIGKILL +++
link|improve this question
What kind of virtualization is used for your VM? – Mircea Vutcovici Dec 23 '11 at 7:38
@mircea-vutcovici openvz it is – Shawn Dec 23 '11 at 18:55
feedback

1 Answer

A singnal can be send only be a process run as the same user as the destination or as root. You can use systemtap to find the culprit. See: SystemTap SigMon

link|improve this answer
thanks..this is a cool however it seems I need some new kernel to get it to work. yum install systemstap will give me a new kernel and I doubt it will not work on the VPS -- using openvz. probably I should find something using Xen – Shawn Dec 23 '11 at 18:57
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.