Skip to contentSkip to conversation

logging when SIGSEGV is processed?

DISCUSSION Folkert van Heusden 2 participants 3 messages Sep 14, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I found this patch for kernel 2.2 which logs a message when some process receives SIGSEGV. Imho something very usefull: I could create some script which sends an e-mail if some critical (apache, mysql, etc.) process segfaults. I was wondering: has anyone ported this patch to 2.4 or 2.6?

Folkert van Heusden

+--------------------------------------------------------------------------+
| UNIX sysop? Then give MultiTail ( http://www.vanheusden.com/multitail/ ) |
| a try, it brings monitoring logfiles (and such) to a different level!    |
+---------------------------------------------------= www.vanheusden.com =-+
#1 lore raw
Quoted 4 lines · Folkert van Heusden

I found this patch for kernel 2.2 which logs a message when some process receives SIGSEGV. Imho something very usefull: I could create some script which sends an e-mail if some critical (apache, mysql, etc.) process segfaults. I was wondering: has anyone ported this patch to 2.4 or 2.6?

What patch?

Signature · 1 line
Joshua Kwan
#2 lore raw
Quoted 7 lines · Joshua Kwan
Quoted 4 lines · Folkert van Heusden

I found this patch for kernel 2.2 which logs a message when some process receives SIGSEGV. Imho something very usefull: I could create some script which sends an e-mail if some critical (apache, mysql, etc.) process segfaults. I was wondering: has anyone ported this patch to 2.4 or 2.6?

What patch?

http://www.kyuzz.org/antirez/sigsegv/

Folkert van Heusden

+--------------------------------------------------------------------------+
| UNIX sysop? Then give MultiTail ( http://www.vanheusden.com/multitail/ ) |
| a try, it brings monitoring logfiles (and such) to a different level!    |
+---------------------------------------------------= www.vanheusden.com =-+