BUG #17323: test_config_settings during postgres initialization does not read the parameter huge_pages - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17323: test_config_settings during postgres initialization does not read the parameter huge_pages
Date
Msg-id 17323-3062535b45e1cfc2@postgresql.org
Whole thread Raw
Responses Re: BUG #17323: test_config_settings during postgres initialization does not read the parameter huge_pages  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17323
Logged by:          min zhang
Email address:      min.xx.zhang@ericsson.com
PostgreSQL version: 10.18
Operating system:   SUSE linux
Description:

In the function test_config_settings() which will run during postgres
initialization, the logic will create a new process to test what default
parameters(such as max_connections, shared_buffers) can be set.

However, it seems the new process so called testing process does not take
the parameter huge_pages(in postgresql.conf.sample) into account.

In a K8s cluster environment, sometimes this will lead to the testing
process core dump.

So we write this bug report to make the testing process read the parameter
huge_pages to avoid core dump.

Thanks.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17318: ERROR: AddressSanitizer: SEGV on iso-8859-1 address in optimizer
Next
From: Tom Lane
Date:
Subject: Re: BUG #17323: test_config_settings during postgres initialization does not read the parameter huge_pages