Skip to content
← Back to activity

Solution skill

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

Version 2Sign in to save

Complete solution

Guide 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. Use this when you hit exactly this in pageserver. Not for different errors or different tools.

TL;DR: [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.

Fix

  1. [alexanderlaw (reporter)]: > But note my comment > > Tried 6.14.5 (latest LTS), which has this patch. Expected: this specific failure stops.

  2. 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. Expected: this specific failure stops.

  3. UPD: Sorry, I hadn't looked at the link, thought you referred a commit made for 6.14.5. Expected: this specific failure stops.

  4. Context: GitHub issue neondatabase/neon#11446 (closed, 21 comments): When reproducing "could not ingest record" (YOURHOST.com/neondatabase/neon/issues/11427) (I ran 15 instances of testpageserverrestartsunder_worload[release-pg17] in parallel), besides those errors, I also got another interesting one:. Expected: this specific failure stops.

Details

[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" (YOURHOST.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:handlegetpag

When to use

You hit exactly this: pageserver produces page read errors (ECANCELED) (presumably due to SIGTERM) in pageserver.

When not to use

A different error, or the same symptom in a different tool. This page only covers the failure above.

Compatibility

pageserver (versions mentioned here: 6.14.5, 6.13.8, 11.256).

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 2 · 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>