CPU usage and indexing

Issue #505 resolved
Former user created an issue

We are having the issue with indexing of attachments slowly consuming 100% of CPU usage. We have to reboot the server a few times a day. We don't search for attachment containing a search term so I would like to know how to disable attachment indexing all together to resolve the CPU issue. Is there a way to do this? We simply want to archive all email and attachments with basic search function of email from, to, body, subject, and date.

Comments (3)

  1. Janos SUTO repo owner

    Attachment text is extracted via external helpers. When you run configure, it detects what helpers you have installed, and then piler uses them. So the current solution is to get rid of all helpers, and recompile piler.

    I'll add an option to piler.conf to enable / disable running those extractor utilities, and then it's a matter of toggling an option.

  2. Janos SUTO repo owner

    OK, get the master branch, and set extract_attachments=0 in piler.conf, then the parser should not try getting any text from attachments.

  3. Log in to comment