Re: [Tracker] Killing run-away child processes
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Edward Duffy <eduffy gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Killing run-away child processes
- Date: Thu, 16 Nov 2006 22:42:05 +0000
Edward Duffy wrote:
Text filtering, metadata extraction, and thumbnail generation are all
handled out of process so they can't crash trackerd. However these
processes are called with g_spawn_sync and there's no gaurentee they
will come back.
Here's a patch that will set SIGALRM for these external processes, it
uses the child_setup callback function, so there's no need for every
possible child process to set its own alarm.
thanks - have now added to cvs
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]