Public issue detail

Runaway CPU investigation for postgres: file not found retry at __strncat_avx2_rtm

postgres is stuck in a likely file not found retry loop: 2.74% of sampled CPU passed through __strncat_avx2_rtm, with repeated thread backtraces show 1 thread(s) around 0x00007f5f4a5c8687 in __GI__IO_flush_all () from target:<path>.

highscore: 106reports: 1

Last seen: 2026-10-02 08:38 UTC. Public JSON: /v1/issues/01a0f645-98ad-79e2-91aa-24280b548c45

Technical snapshot

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

Representative thread backtrace

  • Command: /usr/lib/postgresql/14/bin/postgres -D /tmp/postgis-pg14.nvs4j5/data -F -h -p 30919 -k /tmp/postgis-pg14.nvs4j5/socket -c fsync=off -c full_page_writes=off -c synchronous_commit=off
  • Why Fixer classified it this way: The trace keeps retrying file lookups that fail with ENOENT, which suggests a missing-file retry loop.
  • Thread summary: thread backtraces show 1 thread(s) around 0x00007f5f4a5c8687 in __GI__IO_flush_all () from target:<path>
  • Contention signals: gdb-stderr: gdb: warning: Couldn't determine a path for the index cache directory. warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable. Connect to gdbserver inside the container. warning: Expected absolute pathname for libpthread in the inferior, but got target:<path> warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
  • Repeated loop: pwrite64 -> pwrite64 -> pwrite64
  • Top syscalls: pwrite64 x25632, lseek x14887, pread64 x10927, openat x2780
  • Kernel: 7.1.8+deb14.1-amd64
  • Distribution: debian
0x00007f5f4a5c8687 in __GI__IO_flush_all () from target:<path>
0x00007f5f4a5c86ad in __GI__IO_flush_all () from target:<path>
0x00007f5f4a6471d9 in select () from target:<path>
0x0000559bd02b1e5f in ?? ()
0x0000559bd02b377f in PostmasterMain ()
0x0000559bd001544c 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 file not found retry loop: 2.86% of sampled CPU passed through cfree, with repeated thread backtraces show 1 thread(s) around 0x00007f0fa9a89687 in __GI__IO_flush_all () from target:<path>.

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

Why this looks related: same classification, same subsystem, same target, very similar public summary

Last seen: 2026-11-06 22:28 UTC. Public page: /issues/019f9a81-885e-7ec2-b01c-c77080774c0a. Public JSON: /v1/issues/019f9a81-885e-7ec2-b01c-c77080774c0a

postgres is stuck in a likely file not found retry loop: 3.27% of sampled CPU passed through hash_search_with_hash_value, with repeated thread backtraces show 1 thread(s) around 0x00007f5bf1686687 in __GI__IO_flush_all () from target:<path>.

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

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

Last seen: 2026-11-07 03:43 UTC. Public page: /issues/019f78b9-d301-7792-a0ea-d9bb6a05f05c. Public JSON: /v1/issues/019f78b9-d301-7792-a0ea-d9bb6a05f05c

postgres is stuck in a likely file not found retry loop: 3.69% of sampled CPU passed through _dl_map_new_object, with repeated thread backtraces show 1 thread(s) around 0x00007fa1e749d687 in __GI__IO_flush_all () from target:<path>.

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

Why this looks related: same classification, same subsystem, same target

Last seen: 2026-11-11 01:51 UTC. Public page: /issues/019f9e46-ed87-7693-a004-3c6b0b260a51. Public JSON: /v1/issues/019f9e46-ed87-7693-a004-3c6b0b260a51

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

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

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

Last seen: 2026-11-05 14:14 UTC. Public page: /issues/019dc250-4c8b-7812-88a9-0d10a9b035ea. Public JSON: /v1/issues/019dc250-4c8b-7812-88a9-0d10a9b035ea

postgres is stuck in a likely socket churn loop: 2.04% of sampled CPU passed through next_uptodate_folio, with repeated thread backtraces show 1 thread(s) around 0x00007f520c1d6687 in __GI__IO_flush_all () from target:<path>.

highpackage: postgresql-18source: linuxscore: 106reports: 1similarity: 69%

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

Last seen: 2026-10-29 11:21 UTC. Public page: /issues/019f777c-b6c6-73c1-9b2a-9e06e91c6ca9. Public JSON: /v1/issues/019f777c-b6c6-73c1-9b2a-9e06e91c6ca9

postgres is stuck in a likely futex lock contention loop: 2.12% of sampled CPU passed through __strncat_avx2_rtm, with repeated thread backtraces show 1 thread(s) around 0x00007fa0aa49bca2 in __futex_abstimed_wait_common (futex_word=..., expected=..., clockid=..., abstime=..., private=..., cancel=...) at .<path>:103.

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

Why this looks related: same subsystem, same target

Last seen: 2026-11-06 22:08 UTC. Public page: /issues/01a1ad87-bb82-76b1-8c9e-a2d6762d8b02. Public JSON: /v1/issues/01a1ad87-bb82-76b1-8c9e-a2d6762d8b02

Published attempts

No public attempts have been published for this issue yet.