开发者社区> 问答> 正文

因信号量问题启动失败

24310                2015-12-21 12:08:29 UTC    XX000                        FATAL:  could not create semaphores: No space left on device

24310                2015-12-21 12:08:29 UTC    XX000                        DETAIL:  Failed system call was semget(3022127, 17, 03600).

24310                2015-12-21 12:08:29 UTC    XX000                        HINT:  This error does *not* mean that you have run out of disk space.  It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded.  You need to raise the respective kernel parameter.  Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its max_connections parameter.
The PostgreSQL documentation contains more information about configuring your system for PostgreSQL.

展开
收起
明虚 2015-12-21 20:15:23 4901 0
1 条回答
写回答
取消 提交回答
  • PostgreSQL、Greenplum内核开发

    sysctl -w kernel.sem="500 5120000 2500 9000"

    2019-07-17 18:19:38
    赞同 1 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载