Summary: | sys-apps/man-db: high CPU usage in cronjob after upgrading to glibc-2.31 on x86 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Huemi <gentoobugs> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | admorgan, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 761436 |
Description
Huemi
2020-09-25 18:54:01 UTC
I am also seeing this on my x86 system, but not my x86_64 system. I see exactly the same thing on s390. (In reply to Sam James from comment #2) > I see exactly the same thing on s390. Aha: https://lists.nongnu.org/archive/html/man-db-devel/2020-08/msg00000.html. >This is motivated by my arm32 (musl) machine and discussion with Rich >Felker. Without these changes, man invokes xz which calls >clock_gettime64 in a loop, spinning endlessly. clock_gettime64 is surprisingly missing from man-db's seccomp sandbox. We need to add it in, as upstream have (not yet in a release): https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=7315a9475d8fa37af49e9e7ed11e1534f23ef70b This is the obvious solution but it's nice to not have to make things up. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6efe6b3e28eea299401244e7b506a6f9c22d51 commit de6efe6b3e28eea299401244e7b506a6f9c22d51 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-12-23 19:13:51 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-12-23 19:13:51 +0000 sys-apps/man-db: allow clock_gettime64 syscall Closes: https://bugs.gentoo.org/744712 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../files/man-db-2.9.3-clock_gettime64.patch | 44 ++++++ sys-apps/man-db/man-db-2.9.3-r1.ebuild | 162 +++++++++++++++++++++ sys-apps/man-db/man-db-9999.ebuild | 4 +- 3 files changed, 209 insertions(+), 1 deletion(-) |