Public issue detail

Runaway CPU investigation for postgres: busy poll at __legitimize_mnt

postgres is stuck in a likely busy poll loop: 50.00% of sampled CPU passed through __legitimize_mnt, with repeated thread backtraces show 1 thread(s) around 0x00007f322d29a7d2 in ?? () from target:<path>.

highpackage: postgresql-18source: postgresql-18score: 106reports: 1

Last seen: 2026-06-26 02:14 UTC. Public JSON: /v1/issues/019f0193-6e95-7db0-8706-3c650edc8f08

Technical snapshot

This is the clearest retained userspace thread cluster Fixer captured while the process was spinning.

Representative thread backtrace

  • Command: /usr/lib/postgresql/18/bin/postgres -D /var/lib/postgresql/18/main -c config_file=/etc/postgresql/18/main/postgresql.conf
  • Why Fixer classified it this way: The trace repeatedly returns to a poll-family syscall without meaningful blocking, which suggests a busy event-loop wakeup.
  • Thread summary: thread backtraces show 1 thread(s) around 0x00007f322d29a7d2 in ?? () from target:<path>
  • Contention signals: event-loop-wakeups, gdb-stderr: gdb: warning: Couldn't determine a path for the index cache directory. warning: .dynamic section for "target:<path>++.so.6" is not at the expected address (wrong library or version mismatch?)
  • Repeated loop: epoll_wait
  • Top syscalls: epoll_wait x1
  • Package: postgresql-18 18.3-1.pgdg+2
  • Kernel: 6.17.10+deb14-amd64
  • Distribution: debian
0x00007f322d29a7d2 in ?? () from target:<path>
0x00007f322d29a7ed in ?? () from target:<path>
0x00007f322d31d0cd in epoll_wait () from target:<path>
0x00005574dfc994fa in WaitEventSetWait ()
0x00005574dfc02498 in ?? ()
0x00005574dfc04e45 in PostmasterMain ()
0x00005574df8a335a in main ()

Possible duplicates

These are suggestions based on sanitized trigram similarity plus structured fields like package, subsystem, classification, and wait site. They are not auto-merged.

postgres is stuck in a likely busy poll loop: 13.49% of sampled CPU passed through copy_mc_enhanced_fast_string, with repeated thread backtraces show 1 thread(s) around 0x00007f322d29a7d2 in ?? () from target:<path>.

highpackage: postgresql-18source: postgresql-18score: 106reports: 2successful triagesimilarity: 99%

Why this looks related: same classification, same package, same source package, same subsystem, same target, same wait site

Last seen: 2026-06-27 04:49 UTC. Public page: /issues/019db559-5b5d-7021-ab89-da27daafa4b3. Public JSON: /v1/issues/019db559-5b5d-7021-ab89-da27daafa4b3

postgres is stuck in a likely busy poll loop: 20.28% of sampled CPU passed through next_uptodate_folio, with repeated thread backtraces show 1 thread(s) around 0x00007f322d29a7d2 in ?? () from target:<path>.

highpackage: postgresql-18source: postgresql-18score: 106reports: 2successful triagesimilarity: 99%

Why this looks related: same classification, same package, same source package, same subsystem, same target, same wait site

Last seen: 2026-06-27 02:02 UTC. Public page: /issues/019dd9b3-4d4e-73f0-86bb-bf7e642a5785. Public JSON: /v1/issues/019dd9b3-4d4e-73f0-86bb-bf7e642a5785

postgres is stuck in a likely unclassified userspace loop: 50.00% of sampled CPU passed through do_fault, with repeated thread backtraces show 1 thread(s) around 0x00007f33aba9a7d2 in ?? () from target:<path>.

highpackage: postgresql-18source: postgresql-18score: 106reports: 1similarity: 93%

Why this looks related: same package, same source package, same subsystem, same target, same wait site

Last seen: 2026-07-08 12:09 UTC. Public page: /issues/019f077a-7a30-78d1-b552-06c90a00dbb0. Public JSON: /v1/issues/019f077a-7a30-78d1-b552-06c90a00dbb0

smtpd is stuck in a likely busy poll loop: 14.11% of sampled CPU passed through unix_maybe_add_creds, with repeated thread backtraces show 1 thread(s) around 0x00007f529799e7d2 in ?? () from target:<path>.

highpackage: postfixsource: postfixscore: 106reports: 1similarity: 72%

Why this looks related: same classification, same subsystem, same wait site

Last seen: 2026-07-04 06:14 UTC. Public page: /issues/019ec5c3-2f99-7ea0-9bcc-7718d776a285. Public JSON: /v1/issues/019ec5c3-2f99-7ea0-9bcc-7718d776a285

redis-check-rdb is stuck in a likely busy poll loop: 4.80% of sampled CPU passed through update_curr, with repeated thread backtraces show 1 thread(s) around 0x00007f89688a74be in ?? () and 1 thread(s) around 0x00007f89688a74be in ?? ().

highpackage: redis-toolssource: redisscore: 106reports: 1similarity: 68%

Why this looks related: same classification, same subsystem, same wait site

Last seen: 2026-07-07 12:41 UTC. Public page: /issues/019f3c77-d8db-79f2-96d6-1595084d836f. Public JSON: /v1/issues/019f3c77-d8db-79f2-96d6-1595084d836f

redis-check-rdb is stuck in a likely busy poll loop: 7.02% of sampled CPU passed through _dl_mcount_wrapper, with repeated thread backtraces show 1 thread(s) around 0x00007f89688a74be in sem_trywait () and 1 thread(s) around 0x00007f89688a74be in sem_trywait ().

highpackage: redis-toolssource: redisscore: 106reports: 1similarity: 66%

Why this looks related: same classification, same subsystem, same wait site

Last seen: 2026-07-09 22:57 UTC. Public page: /issues/019f4885-4b06-73b1-b87b-845532d67d90. Public JSON: /v1/issues/019f4885-4b06-73b1-b87b-845532d67d90

Published attempts

No public attempts have been published for this issue yet.