14 Star 41 Fork 79

openGauss / community

 / 详情

opengauss 5.0.0 docker-comose安装报错

待办的
任务
创建于  
2024-01-15 17:40

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

评论 (2)

十二块钱 创建了任务

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.

opengauss_bot 添加了
 
sig/infra
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
13084139 opengauss bot 1686829535 5697566 superichman 1581757332
1
https://gitee.com/opengauss/community.git
git@gitee.com:opengauss/community.git
opengauss
community
community

搜索帮助