Public issue detail

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

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: 1

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

Technical snapshot

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

Representative thread backtrace

  • Command: /usr/lib/postgresql/16/bin/postgres -D /tmp/postgis-pg16.LirMx0/data -F -h -p 20187 -k /tmp/postgis-pg16.LirMx0/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 0x00007f0fa9a89687 in __GI__IO_flush_all () from target:<path>
  • Contention signals: event-loop-wakeups, 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: newfstatat -> openat -> newfstatat
  • Top syscalls: newfstatat x13856, openat x7301, readlink x6762, pread64 x1296
  • Kernel: 7.1.8+deb14.1-amd64
  • Distribution: debian
0x00007f0fa9a89687 in __GI__IO_flush_all () from target:<path>
0x00007f0fa9a896ad in __GI__IO_flush_all () from target:<path>
0x00007f0fa9b0aa6d in epoll_wait () from target:<path>
0x000055f0c9cf3f5b in WaitEventSetWait ()
0x000055f0c9c8c745 in ?? ()
0x000055f0c9c8f47c in PostmasterMain ()
0x000055f0c99b44ec 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.97% of sampled CPU passed through _dl_map_new_object, with repeated thread backtraces show 1 thread(s) around 0x00007fdec0a36687 in __GI__IO_flush_all () from target:<path>.

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

Why this looks related: same classification, same package, same source package, same subsystem, same target, same wait site, very similar public summary

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

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

highscore: 106reports: 1similarity: 99%

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

Last seen: 2026-11-14 11:02 UTC. Public page: /issues/019f77a0-05cc-7ca2-84d1-d756b2e2db54. Public JSON: /v1/issues/019f77a0-05cc-7ca2-84d1-d756b2e2db54

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: 99%

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

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: 10.61% of sampled CPU passed through geos::noding::MCIndexNoder::intersectChains(), with repeated thread backtraces show 1 thread(s) around 0x00007f92b5098687 in __GI__IO_flush_all () from target:<path>.

highscore: 106reports: 1similarity: 94%

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

Last seen: 2026-11-16 15:06 UTC. Public page: /issues/019faa72-91aa-77b0-8466-4f1c871f9b27. Public JSON: /v1/issues/019faa72-91aa-77b0-8466-4f1c871f9b27

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

highpackage: postgresql-14source: linuxscore: 106reports: 3successful triagesimilarity: 91%

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

Last seen: 2026-11-15 08:44 UTC. Public page: /issues/019d3a17-b958-7a60-86fd-5304e697f42c. Public JSON: /v1/issues/019d3a17-b958-7a60-86fd-5304e697f42c

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

highpackage: postgresql-18source: postgresql-18score: 106reports: 2similarity: 88%

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

Last seen: 2026-11-23 14:07 UTC. Public page: /issues/019e41c0-b606-7b72-8634-473c021d7fe8. Public JSON: /v1/issues/019e41c0-b606-7b72-8634-473c021d7fe8

Published attempts

No public attempts have been published for this issue yet.