Public issue detail

Runaway CPU investigation for postgres: socket churn at ext4_match

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

highsource: linuxscore: 106reports: 1

Last seen: 2026-11-16 20:23 UTC. Public JSON: /v1/issues/019f7768-5716-70d2-ad90-040b55fcd8f0

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.tWE7BW/data -F -h -p 20268 -k /tmp/postgis-pg14.tWE7BW/socket -c fsync=off -c full_page_writes=off -c synchronous_commit=off
  • Why Fixer classified it this way: The trace is dominated by socket syscalls, which suggests the process is rapidly retrying or churning through network or IPC work.
  • Thread summary: thread backtraces show 1 thread(s) around 0x00007f70957eb687 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: read -> read -> read
  • Top syscalls: mmap x6109, read x5264, openat x2503, close x2285
  • Kernel: 7.1.8+deb14.1-amd64
  • Distribution: debian
0x00007f70957eb687 in __GI__IO_flush_all () from target:<path>
0x00007f70957eb6ad in __GI__IO_flush_all () from target:<path>
0x00007f709586a1d9 in select () from target:<path>
0x0000563a16860e5f in ?? ()
0x0000563a1686277f in PostmasterMain ()
0x0000563a165c444c 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 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: 99%

Why this looks related: same classification, same source package, 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 socket churn loop: 1.70% of sampled CPU passed through unresolved offset, with repeated thread backtraces show 1 thread(s) around 0x00007fe6aaca9687 in __GI__IO_flush_all () from target:<path>.

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

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

Last seen: 2026-10-27 05:09 UTC. Public page: /issues/019f8446-0581-7aa3-a79e-aa4566e9597d. Public JSON: /v1/issues/019f8446-0581-7aa3-a79e-aa4566e9597d

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

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

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

Last seen: 2026-10-21 04:00 UTC. Public page: /issues/019d8b2f-863a-7af0-92eb-7ce77dd04988. Public JSON: /v1/issues/019d8b2f-863a-7af0-92eb-7ce77dd04988

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

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

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

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

Why this looks related: 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

Published attempts

No public attempts have been published for this issue yet.