Re: [Tracker] Use of fork() in tracker-extract-pdf
- From: Martyn Russell <martyn lanedo com>
- To: Ralph Böhme <rb netafp com>
- Cc: "tracker-list gnome org" <tracker-list gnome org>
- Subject: Re: [Tracker] Use of fork() in tracker-extract-pdf
- Date: Fri, 16 Aug 2013 12:23:29 +0100
On 14/08/13 15:36, Ralph Böhme wrote:
Am 14.08.2013 um 14:33 schrieb Ralph Böhme <rb netafp com>:
Looks like we're using malloc() in a signal handler. That must be
l.469 in tracker-extract-pdf.c:
g_debug ("Parent: Zombie %d reaped", child_pid); ... I'll run
another test with the log statements removed and report back.
success, that fixes the issue.
<https://github.com/slowfranklin/tracker/commit/88ae53a78b48e39f4fe39b03217d629733d746c0>
The change to increase the watchdog timeout in tracker-extract from
10 to (afair) 120 seconds was in place too though, but from looking
at the tracker logs the whole process of indexing ~1100 files, a
subset of that are the large PDFs I mentioned, only took 58 seconds
so I assume fixing the signal handler is all that's needed for now.
Seriously? Removing the debug statement is fixing the issue for you?
--
Regards,
Martyn
Founder & Director @ Lanedo GmbH.
http://www.linkedin.com/in/martynrussell
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]