<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Olly &amp; Xapian Developers,<div><br></div><div>I've done some more investigation and I think I may have an explanation.</div><div><br></div><div>I was looking at the individual processes and noticed that the /bin/cat process status:</div><div><b><span class="Apple-style-span" style="font-weight: normal; "><b># cat /proc/<span class="Apple-style-span" style="font-weight: normal; "><b>8207</b></span>/status | grep SigIgn</b></span></b></div><div><b>SigIgn:</b><span class="Apple-tab-span" style="white-space:pre"><b>        </b></span><b>0000000000000001 e.g. ignoring SIGHUP[1]</b></div><div><br></div><div>I looked at the process tree:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;&nbsp; &nbsp;&nbsp;<u>PID</u></div><div><div><b>&nbsp;8113 &nbsp;<u>8196</u> &nbsp;8111 &nbsp;8108 ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -1 Sl &nbsp; &nbsp; &nbsp;33 &nbsp; 0:06 &nbsp;| &nbsp; | &nbsp; &nbsp; &nbsp; \_ Passenger ApplicationSpawner: /srv/www/www.oriontransfer.co.nz &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp;8196 &nbsp;<u>8207</u> &nbsp;8111 &nbsp;8108 ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -1 S &nbsp; &nbsp; &nbsp; 33 &nbsp; 0:00 &nbsp;| &nbsp; | &nbsp; &nbsp; &nbsp; | &nbsp; \_ /bin/cat</b></div></div><div><br></div><div>Then I checked the status of the parent process:</div><div><br></div><div><div><b># cat /proc/8196/status | grep SigIgn</b></div><div><b>SigIgn:</b><span class="Apple-tab-span" style="white-space:pre"><b>        </b></span><b>0000000000000001</b></div></div><div><br></div><div>I can only assume that the <b>SigIgn</b> flag is being inherited by the process, and thus FlintLock <b>SIGKILL</b> is being ignored.</div><div><br></div><div>I would appreciate some feedback on this, if someone else can validate or review the issue.</div><div><br></div><div>I've forked the xapian tree on github. If I can make a change, how do I submit a patch?</div><div><br></div><div>Thanks,</div><div>Samuel</div><div><br></div><div>[1] man signal:</div><div><b>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; SIGHUP &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp; Term &nbsp; &nbsp;Hangup detected on controlling terminal</b></div><div><b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or death of controlling process</b></div><div><br></div><div><div><div>On 8/04/2011, at 9:21 PM, Olly Betts wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Fri, Apr 08, 2011 at 05:33:02PM +1200, Samuel Williams wrote:<br><blockquote type="cite">I noticed that it was sent SIGHUP, but it didn't quit for some reason.<br></blockquote><blockquote type="cite">Maybe you need to change this to SIGKILL? I was wondering if you knew<br></blockquote><blockquote type="cite">what "= ? ERESTARTSYS (To be restarted)" meant?<br></blockquote><br>Currently drowning in GSoC applications (as the deadline looms), but<br>using SIGKILL is probably a sane change and could help. &nbsp;Can you try<br>that and see how you do?<br><br>I'll try to make some sense of the logs later.<br><br>Cheers,<br> &nbsp;&nbsp;&nbsp;Olly<br></div></blockquote></div><br></div></body></html>