This error usually means that openGauss's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 323545416 bytes), reduce openGauss's shared memory usage, perhaps by reducing shared_buffers.
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.
The openGauss documentation contains more information about shared memory configuration.
2024-01-15 09:32:50.779 [unknown] [unknown] localhost 139965184570752 0[0:0#0] [BACKEND] BACKTRACELOG: tid[133]'s backtrace:
/usr/local/opengauss/bin/gaussdb(+0xe3a41e) [0x7f4c415b241e]
/usr/local/opengauss/bin/gaussdb(_Z9errfinishiz+0x441) [0x7f4c415aa651]
/usr/local/opengauss/bin/gaussdb(+0xbb6d9c) [0x7f4c4132ed9c]
/usr/local/opengauss/bin/gaussdb(_Z20PGSharedMemoryCreatembi+0x6a) [0x7f4c4132f16a]
/usr/local/opengauss/bin/gaussdb(_Z31CreateSharedMemoryAndSemaphoresbi+0x226) [0x7f4c42357486]
/usr/local/opengauss/bin/gaussdb(_Z8BaseInitv+0x4c) [0x7f4c415d1afc]
/usr/local/opengauss/bin/gaussdb(_Z20BootStrapProcessMainiPPc+0x50a) [0x7f4c416b21aa]
/usr/local/opengauss/bin/gaussdb(main+0x7c8) [0x7f4c410469c8]
/usr/lib64/libc.so.6(+0x2d210) [0x7f4c2f216210]
配置:
kernel.shmmni = 4096
kernel.sem = 250 6400000 1000 25600
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
kernel.shmmax = 18446744073709551615
kernel.shmall = 1152921504606846720
Hey @十二块钱, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss_bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hi @十二块钱,
if you want to get quick review about your issue, please contact the owner in first: @xiangxinyong ,
and then any of the maintainers: @zhongjun2
and then any of the committers: @xiangxinyong , @zhangxubo , @邦邦邦邦 , @ailoooong , @xiangrumei
if you have any question, please contact the SIG: Infra.
登录 后才可以发表评论