Re: [Tracker] tracker-store takes a long time to terminate

2018-02-12 Thread Carlos Garnacho
Hi!,

On Mon, Jan 22, 2018 at 6:07 AM, Will S  wrote:
> I have noticed that tracker-store takes a long time to terminate.
> tracker-store is started by systemd when I log in. When I try to log out,
> systemd hangs 90 seconds waiting for the stop job on tracker-store.service
> to time out. I tried starting starting tracker-store on the command line
> myself and sending it SIGTERM from another terminal. After some amount of
> time (at least five minutes), tracker-store did finish shutting down
> cleanly. Besides the annoyance of the time out on log out, tracker also has
> to do a CPU intensive integrity check the next time I log in because systemd
> kills the process before it shuts down cleanly.
>
> Could there be something wrong with my configuration, or could this be a
> bug? What could I try to avoid this? I am using tracker 2.0.2 on Arch Linux.

This would be a bug. I traced this to the VACUUM that was added sort
of recently, which turned out to be a bit too eager.

I pushed 
https://git.gnome.org/browse/tracker/commit/?id=57235eb302194554feb077019d9c69a4bbd8214f
so it kicks in only when the database gets exceedingly large.

Thanks,
  Carlos
___
tracker-list mailing list
tracker-list@gnome.org
https://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] tracker-store takes a long time to terminate

2018-01-21 Thread Will S
Sorry, I forgot to add that I found this exchange where it appears two
other people see the same issue:

https://github.com/systemd/systemd/issues/1615#issuecomment-351433148

On Mon, Jan 22, 2018 at 12:07 AM, Will S  wrote:

> I have noticed that tracker-store takes a long time to terminate.
> tracker-store is started by systemd when I log in. When I try to log out,
> systemd hangs 90 seconds waiting for the stop job on tracker-store.service
> to time out. I tried starting starting tracker-store on the command line
> myself and sending it SIGTERM from another terminal. After some amount of
> time (at least five minutes), tracker-store did finish shutting down
> cleanly. Besides the annoyance of the time out on log out, tracker also has
> to do a CPU intensive integrity check the next time I log in because
> systemd kills the process before it shuts down cleanly.
>
> Could there be something wrong with my configuration, or could this be a
> bug? What could I try to avoid this? I am using tracker 2.0.2 on Arch Linux.
>
___
tracker-list mailing list
tracker-list@gnome.org
https://mail.gnome.org/mailman/listinfo/tracker-list