[Bug 1213571] New: mandb.service: "find: ‘standard output’: Broken pipe", "find: write error", "status=0/SUCCESS"
https://bugzilla.suse.com/show_bug.cgi?id=1213571 Bug ID: 1213571 Summary: mandb.service: "find: ‘standard output’: Broken pipe", "find: write error", "status=0/SUCCESS" Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: martin.jacobs@arcor.de QA Contact: qa-bugs@suse.de CC: alynx.zhou@suse.com, qa-bugs@suse.de, Ulrich.Windl@rz.uni-regensburg.de, werner@suse.com Depends on: 1155879 Target Milestone: --- Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #1155879 +++ I noticed this problem in the journal: mandb.service seems to fail for unknown reasons, but "success" is reported: +++ This is new output that matches exactly that of Bug #1155879 +++ # systemctl status mandb.service ○ mandb.service - Do daily mandb update Loaded: loaded (/usr/lib/systemd/system/mandb.service; static) Active: inactive (dead) since Sun 2023-07-23 07:40:05 CEST; 10h ago TriggeredBy: ● mandb.timer Docs: man:mandb(8) man:catman(8) Process: 2116 ExecStart=/usr/lib/man-db/do_mandb (code=exited, status=0/SUCCESS) Main PID: 2116 (code=exited, status=0/SUCCESS) From journalctl: Jul 23 07:39:00 Schnecke2G.Jacobs.home systemd[1]: Started Do daily mandb update. Jul 23 07:39:00 Schnecke2G.Jacobs.home systemd[1]: Starting Do daily mandb update... Jul 23 07:40:05 Schnecke2G.Jacobs.home do_mandb[2371]: find: ‘standard output’: Datenübergabe unterbrochen (broken pipe) Jul 23 07:40:05 Schnecke2G.Jacobs.home do_mandb[2371]: find: Schreibfehler. Jul 23 07:40:05 Schnecke2G.Jacobs.home systemd[1]: mandb.service: Deactivated successfully. Jul 23 07:40:05 Schnecke2G.Jacobs.home systemd[1]: Finished Do daily mandb update. Summary is translated from German. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213571 https://bugzilla.suse.com/show_bug.cgi?id=1213571#c6 --- Comment #6 from Martin Jacobs <martin.jacobs@arcor.de> --- Maybe I did forget to mention: The error seems to occur only as part of system start, while many tasks run in parallel. I did recognize this only because command apropos did not give any results. Here are top 5 lines of output of systemd-analyze blame 1min 8.819s mandb.service 1min 8.238s mlocate.service 26.635s clamd.service 23.526s backup-rpmdb.service 21.007s logrotate.service The astonishing result is, that mandb.service is listed in top, even before mlocate.service and clamd.service! mandb.service is NOT part of critical chain! I guess the performance issue of mandb.service triggers timeouts on read statement (-t 1) and thus hinders mandb.service to successfully complete its job. And running do_mandb from the command line after boot does not give more insight, as it runs fine in this state if the system. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213571 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |werner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213571 https://bugzilla.suse.com/show_bug.cgi?id=1213571#c8 --- Comment #8 from Martin Jacobs <martin.jacobs@arcor.de> --- And here's result of todays boot: top 5 lines from systemd-analyze blame 1min 32.931s mlocate.service 1min 13.890s mandb.service 30.181s clamd.service 24.693s backup-rpmdb.service 13.217s dev-disk-by\x2duuid-a988af6f\x2de4bd\x2d4e00\x2dab22\x2d5092449311ee.device And result of journalctl -b 0 -o with-unit --unit mandb.service Thu 2023-07-27 20:17:33 CEST Schnecke2G.Jacobs.home init.scope[1]: Starting Do daily mandb update... Thu 2023-07-27 20:18:48 CEST Schnecke2G.Jacobs.home init.scope[1]: mandb.service: Deactivated successfully. Thu 2023-07-27 20:18:48 CEST Schnecke2G.Jacobs.home init.scope[1]: Finished Do daily mandb update. So, your patch improves behavior of do_mandb definitely! -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213571 https://bugzilla.suse.com/show_bug.cgi?id=1213571#c9 --- Comment #9 from Martin Jacobs <martin.jacobs@arcor.de> --- Same result today. :-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com