gpt4 book ai didi

database - 当我启用大页面时,postgres 没有连接

转载 作者:行者123 更新时间:2023-12-04 19:25:20 26 4
gpt4 key购买 nike

如果我启用 huge_pages=onpostgresql.conf文件,
我的 postgres-14 没有连接
如果我禁用 postgres 它连接
谁能帮我?
我的操作系统是 ubuntu 20.04

最佳答案

如果设置 huge_pages = on ,除非您在操作系统上定义了足够多的大页面,否则服务器不会启动。见 the documentation :

huge_pages (enum)

Controls whether huge pages are requested for the main shared memory area. Valid values are try (the default), on, and off. With huge_pages set to try, the server will try to request huge pages, but fall back to the default if that fails. With on, failure to request huge pages will prevent the server from starting up. With off, huge pages will not be requested.

[...]

For more details about using huge pages on Linux, see Section 19.4.5.

关于database - 当我启用大页面时,postgres 没有连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71699310/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com