Bug#718446: tracker-extract possibly prevents shutdown to complete
Vincent Lefevre
vincent at vinc17.net
Mon Jan 29 14:22:31 GMT 2024
On 2013-07-31 23:41:49 +0200, Sebastian Niehaus wrote:
> Am 31.07.2013 23:15, schrieb Michael Biebl:
>
> >> I suppose the other processes regarding NFS are okay to be running after
> >> /etc/init.d/sendsigs but tracker-extract should have been finished.
> >
> > Are you using NFS for your $HOME directory?
>
> No, $HOME is on the maschine's local disk.
>
> The NFS file system however is mounted into one user's home like
>
> /home/user1/nfs
IMHO, the process should stop immediately at shutdown and not try
to finish its task first.
When I upgraded a machine from stable to testing in December 2023,
tracker-extract was also preventing the shutdown (always, AFAIK),
and I had no NFS, just the local disk. However, in my case,
tracker-extract (gst-plugin-scan) was yielding a crash in nouveau
2023-12-19T03:10:02.176832+01:00 qaa tracker-extract-3[1967]: nvc0_screen_create:1077 - Error allocating PGRAPH context for M2MF: -16
2023-12-19T03:10:02.177550+01:00 qaa kernel: ------------[ cut here ]------------
2023-12-19T03:10:02.177568+01:00 qaa kernel: nouveau 0000:01:00.0: timeout
[...]
2023-12-19T03:10:02.177710+01:00 qaa kernel: CPU: 3 PID: 1967 Comm: gst-plugin-scan Tainted: G W 6.5.0-5-amd64 #1 Debian 6.5.13-1
and gst-plugin-scan even survived SIGKILL:
[...]
2023-12-19T03:13:06.240298+01:00 qaa systemd[2079]: tracker-extract-3.service: State 'final-sigterm' timed out. Killing.
2023-12-19T03:13:06.240435+01:00 qaa systemd[2079]: tracker-extract-3.service: Killing process 2150 (gst-plugin-scan) with signal SIGKILL.
2023-12-19T03:13:40.973708+01:00 qaa kernel: INFO: task gst-plugin-scan:2150 blocked for more than 120 seconds.
2023-12-19T03:13:40.973803+01:00 qaa kernel: Tainted: G W 6.5.0-5-amd64 #1 Debian 6.5.13-1
2023-12-19T03:13:40.973810+01:00 qaa kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
2023-12-19T03:13:40.973816+01:00 qaa kernel: task:gst-plugin-scan state:D stack:0 pid:2150 ppid:2079 flags:0x00000006
[...]
2023-12-19T03:14:36.240345+01:00 qaa systemd[2079]: tracker-extract-3.service: Processes still around after final SIGKILL. Entering failed mode.
[...]
So perhaps in this particular case, there was nothing that could
be done on the tracker-extract side, but I'm wondering.
Since then, the nouveau issue has been fixed, but I had removed
tracker-extract earlier, and I didn't try again to see whether
the problem was solved about it.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the pkg-gnome-maintainers
mailing list