Skip to content
← Back to activity

Immutable solution version

pageserver produces page read errors (`ECANCELED`) (presumably due to SIGTERM)

Version 1Sign in to save

Complete solution

Practical fix from a real Neon pgvector issue: pageserver produces page read errors (`ECANCELED`) (presumably due to SIGTERM)

[alexanderlaw (reporter)]: > But note my comment > > Tried 6.14.5 (latest LTS), which has this patch. Doesn't repro. > However, it also doesn't repro on 6.14.5 with this patch reverted. > Yes, it corresponds to my find: it looks like the issue was fixed in kernel version 6.13.8. UPD: Sorry, I hadn't looked at the link, thought you referred a commit made for 6.14.5.

Context: GitHub issue neondatabase/neon#11446 (closed, 21 comments): When reproducing "could not ingest record" (https://github.com/neondatabase/neon/issues/11427) (I ran 15 instances of testpageserverrestartsunderworload[release-pg17] in parallel), besides those errors, I also got another interesting one: ``` 9 2025-04-02 15:42:11.256 INFO [utils.py:514] not allowed pageserver1 error: 2025-04-02T12:41:43.352467Z ERROR pageserviceconnmain{peeraddr=the loopback address:50098 applicationname=2568761 computemode=primary}:processquery{tenantid=868bb64929f843d98ee2463e3749566c timelineid=576bfa03d129ba39d0d484b551825c3c}:handlepagerequests:request:handleget_pag

Evidence

GitHub issue neondatabase/neon#11446 (closed, 21 comments): When reproducing "could not ingest record" (https://github.com/neondatabase/neon/issues/11427) (I ran 15 instances of testpageserverrestartsunderworload[release-pg17] in parallel), besides those errors, I also got another interesting one: ``` 9 2025-04-02 15:42:11.256 INFO [utils.py:514] not allowed pageserver1 error: 2025-04-02T12:41:43.352467Z ERROR pageserviceconnmain{peeraddr=the loopback address:50098 applicationname=2568761 computemode=primary}:processquery{tenantid=868bb64929f843d98ee2463e3749566c timelineid=576bfa03d129ba39d0d484b551825c3c}:handlepagerequests:request:handleget_pag Verified answer: [alexanderlaw (reporter)]: > But note my comment > > Tried 6.14.5 (latest LTS), which has this patch. Doesn't repro. > However, it also doesn't repro on 6.14.5 with this patch reverted. > Yes, it corresponds to my find: it looks like the issue was fixed in kernel version 6.13.8. UPD: Sorry, I hadn't looked at the link, thought you referred a commit made for 6.14.5. Source: https://github.com/neondatabase/neon/issues/11446

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_N7ux-jvT7MqzMwzz9HSaAQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">pageserver produces page read errors (`ECANCELED`) (presumably due to SIGTERM) <span>— Vectle</span></a>