当前位置:Gxlcms > 数据库问题 > postgresql出错could not create semaphores: No space left on device

postgresql出错could not create semaphores: No space left on device

时间:2021-07-01 10:21:17 帮助过:61人阅读

------ Semaphore Limits -------- max number of arrays = 1280 max semaphores per array = 50100 max semaphores system wide = 64128000 max ops per semop call = 50100 semaphore max value = 32767 # cat /proc/sys/kernel/sem SEMMSL SEMMNS SEMOPM SEMMNI 50100 128256000 50100 2560 SEMMSL 每个信号量set中信号量最大个数 SEMMNS linux系统中信号量最大个数 SEMOPM semop系统调用允许的信号量最大个数设置,设置成和SEMMSL一样即可 SEMMNI  linux系统信号量set最大个数   所以SEMMNS=SEMMSL*SEMMNI 修改 vi /etc/sysctl.conf 的以下参数 kernel.sem = 50100 128256000 50100 2560 sysctl -p生效 重启数据库即可

postgresql出错could not create semaphores: No space left on device

标签:pre   ISE   call   form   style   could   系统调用   报错   uri   

人气教程排行