[recoll-user] Re: Recoll index program freezes system

  • From: Jean-Francois Dockes <jfd@xxxxxxxxxx>
  • To: recoll-user@xxxxxxxxxxxxx
  • Date: Mon, 20 Feb 2017 08:04:27 +0100

Guillermo López Alejos writes:

Hi!

I'm a Debian user (I'm using Recoll 1.17.3 + Xapian 1.2.19) and I'm
experimenting a problem with the background indexing program that is
preventing me from using Recoll. Some times, after several hours of
indexing, the system just freezes. From that point, the only way to
recover the system is to power off the computer. 

I've found the following message in /var/log/syslog:

Feb 19 12:40:17 zeta kernel: [ 6379.695715] recoll[1889]: segfault at 
7f969bc87b50 ip 00007f92aa0b644c sp 00007fff8bb835f0 error 6 in 
libz.so.1.2.8[7f92aa0a9000+1a000]

I wonder why the kernel is affected by this process, since it should
reside in user space... I'm trying to gather more information about this
situation but Recoll logs doesn't show anything suspicious. I'm also
trying to use "auditd" to trace the problem, but I couldn't get any
useful information so far. 

Can anyone help me diagnose this problem?

Hi,

I don't think that the above message indicates a system issue, it's just an
indication of a userland program crash. Furthermore, the affected program
seems to be recoll (the GUI), so the message can't be related to indexing
(1.17 is the first Recoll release where indexing is always performed by
recollindex).

Indexing stresses the system a lot, so your crashes may just be an
indication of hardware trouble.

There has been a number of fixes in more recent recoll releases to avoid
situations triggering very high memory usage (along with other multiple
improvements). 1.17 is really ancient, I would advise updating to a newer
version. There are Debian binary packages on the Recoll web site:

http://www.lesbonscomptes.com/recoll/download.html#packages

I think that building the source package from Stretch should also work.

In the newer version, indexing should be a bit more gentle on the system,
especially if you disable multithreading:

https://www.lesbonscomptes.com/recoll/usermanual/webhelp/docs/RCL.INDEXING.CONFIG.THREADS.html

Cheers,

jf

Other related posts: