| From: | Daria Shanina <vilensipkdm(at)gmail(dot)com> |
|---|---|
| To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Set huge_page_size on 32bit system |
| Date: | 2026-06-25 14:54:46 |
| Message-ID: | CAMp4U1d177Jf9ZJwXGKom6APx3LSFATa=Z-M=N5kLzvTUcxutw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Hi all,
I found an error: on 32bit system (I tested on Debian 6.1.0-32-686-pae #1
SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) i686 GNU/Linux) when we
set huge_page_size = 1 TB postgres process fails with signal SIGFPE when
calculated hugepagesize_local = (Size) huge_page_size * 1024; the value
exceeds max for unsigned int = (2^32 – 1).
I attached a full backtrace and one small fix.
What do you think about this?
Thank you for your attention!
--
Best regards,
Daria Shanina
| Attachment | Content-Type | Size |
|---|---|---|
| gdb.txt | text/plain | 2.0 KB |
| fix-for-huge_page_size.patch | text/x-patch | 731 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jacob Champion | 2026-06-26 00:12:42 | Re: REVOKE's CASCADE protection doesn't work with INHERITed table owners |
| Previous Message | Tom Lane | 2026-06-25 13:53:25 | Re: BUG #19483: pg_upgrade fails with orphan records in pg_init_priv catalog table |