View Full Version : Who killed my process?
rainefan
May 3rd, 2007, 01:35 PM
Hi people! I really don't know if this forum can help me, but i'm having some problems in receiving kill signal from an UNKNOWN process. I wish i could now the pid or name of the killer process....is anyway? Bash or C?
Thanks!
Regards
dannyboy79
May 4th, 2007, 09:51 AM
Hi people! I really don't know if this forum can help me, but i'm having some problems in receiving kill signal from an UNKNOWN process. I wish i could now the pid or name of the killer process....is anyway? Bash or C?
Thanks!
Regards
could you be more specific? what process is getting killed on ya? when? what are you doing? what process is getting killed? you can't expect some1 to help with the info you've provided. I am not trying to be rude, I am merely informing you that it's most likely that no one has helped because no one want's to bother asking you for more info just so they can then help ya. Next time, post all the info you can so other's can help ya.
rainefan
May 6th, 2007, 08:28 PM
Sorry, i will be more specific...
My program (process) is receiving SIGTERM signals from a unknown process (don't know if it's from kernel or any other userspace process other than mine program).
I searched some info on the net and found something interesting: the OOM kernel process. It kills any process that's requesting more memory that system can give. But I'm sure is not my case since system resources are ok (disabled SIGTERM signal catch on my process and everything is working just fine).
I'm really interested in knowing from my program or any bash script or any kernel log, who's process is sending SIGTERM signals to my process/program.
Thank's again for the help, and sorry again for that as my English really sucks :(
Regards,
Raine
dannyboy79
May 7th, 2007, 09:01 AM
Sorry, i will be more specific...
My program (process) is receiving SIGTERM signals from a unknown process (don't know if it's from kernel or any other userspace process other than mine program).
I searched some info on the net and found something interesting: the OOM kernel process. It kills any process that's requesting more memory that system can give. But I'm sure is not my case since system resources are ok (disabled SIGTERM signal catch on my process and everything is working just fine).
I'm really interested in knowing from my program or any bash script or any kernel log, who's process is sending SIGTERM signals to my process/program.
Thank's again for the help, and sorry again for that as my English really sucks :(
Regards,
Raine
havbe you reviewed all the log files? they are in /var/log/. syslog might just show what's sending hte SIGTERM.
sickdude
May 7th, 2007, 04:09 PM
Is your system swapping? If your system is high in load or mem usage the kernel might kill some stuff to keep your system going
rainefan
May 8th, 2007, 02:16 PM
havbe you reviewed all the log files? they are in /var/log/. syslog might just show what's sending hte SIGTERM.
Hi danny! I didn't find anything on syslog or any other log that could be indentified as a sigterm...
Is your system swapping? If your system is high in load or mem usage the kernel might kill some stuff to keep your system going
Actually, no...all resources are OK
Is any way in C or bash to indicate the sender of that signal?
Thanks anyway!
Regards,
Raine
dannyboy79
May 8th, 2007, 03:16 PM
did you look in /var/log/messages for anything like this:
kernel: pid 19070 (perl), uid 1022: exited on signal 11
kernel: pid 9578 (perl), uid 1022: exited on signal 10
(NOTE: Perl is just the example I found)
I read that Signal 11 is a segmentation fault, indicating either (a) bugs in the
app or (b) hardware problems. Have you tried on
a different machine?
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.