Huh.. per O'Reilly: "The kernel uses the SIGTERM signal to inform the target process that it should stop."
http://linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html?page=2 Is that out of date? On Tue, Oct 30, 2012 at 8:19 PM, Brandon Allbery <[email protected]>wrote: > On Tue, Oct 30, 2012 at 11:14 PM, Timothy Balcer <[email protected]>wrote: > >> The OOM killer *is* the kernel, so the AFS logs just know it's dead, >> >>> not that the kernel >>> decided "heeeey...." >>> >> >> Yeah.. I knew that ;-) What I was suggesting was that upon receiving the >> signal, salvager didn't note that fact in the Salvage log. You could trap >> SIGTERM, and log it on the way out, no? >> > > The kernel's OOM killer sends SIGKILL, which cannot be trapped or ignored. > > -- > brandon s allbery kf8nh sine nomine > associates > [email protected] > [email protected] > unix/linux, openafs, kerberos, infrastructure > http://sinenomine.net > > -- Timothy Balcer / IT Services Telmate / San Francisco, CA Direct / (415) 300-4313 Customer Service / (800) 205-5510
