2008-06-12 21:37:55

by Mahmoud Hanafi

[permalink] [raw]
Subject: Tracking all signals how to

We have random nodes experience killing of most daemons( syslog, ssh,
cron, etc). All these daemons report getting a sigkill or sigterm.

My question.... Is there a way to log all signals and the originator
pid/proc name.

Thanks,
Mahmoud


2008-06-13 05:45:34

by Bart Van Assche

[permalink] [raw]
Subject: Re: Tracking all signals how to

On Thu, Jun 12, 2008 at 11:37 PM, Mahmoud Hanafi <[email protected]> wrote:
> We have random nodes experience killing of most daemons( syslog, ssh,
> cron, etc). All these daemons report getting a sigkill or sigterm.
>
> My question.... Is there a way to log all signals and the originator
> pid/proc name.

Did you already have a look in the kernel messages to make sure it's
not an OOM problem ? I do not know of any Linux software that sends
random signals to random processes.

Bart.

2008-06-13 13:29:00

by Mahmoud Hanafi

[permalink] [raw]
Subject: Re: Tracking all signals how to

Yes I have verified that it was the OOM killer. We always get lots of
messages in the conole log when the oom killer starts. This is a very odd
problem as there are no logs showing what is doing the killing.

May I can wrap the kill() systemcall?


Computer Sciences Corporation
Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia 22042,
USA
Registered in Nevada, USA No: C-489-59

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------





"Bart Van Assche"
<bart.vanassche@g
mail.com> To
Mahmoud Hanafi/DEF/CSC@CSC
06/13/2008 01:45 cc
AM [email protected]
Subject
Re: Tracking all signals how to










On Thu, Jun 12, 2008 at 11:37 PM, Mahmoud Hanafi <[email protected]> wrote:
> We have random nodes experience killing of most daemons( syslog, ssh,
> cron, etc). All these daemons report getting a sigkill or sigterm.
>
> My question.... Is there a way to log all signals and the originator
> pid/proc name.

Did you already have a look in the kernel messages to make sure it's
not an OOM problem ? I do not know of any Linux software that sends
random signals to random processes.

Bart.