当前位置:网站首页>semget No space left on device
semget No space left on device
2022-06-25 14:59:00 【qq_ twenty-three million nine hundred and fifty-three thousand 】
When semaphores are recently used , call semget Failure , adopt strerror Check that the error report is No space left on device
To locate this problem , First, you need to know some system commands
ipcs -m View system shared memory information
ipcs -q View system message queue information
ipcs -s Check the system semaphore information
cat /prc/sys/kernel/sem perhaps ipcs -ls You can view the semaphore information supported by the current system
cat /proc/sys/kernel/sem
250 32000 32 128
250 SEMMSL max semaphores per array The signal set holds the maximum number of signals
32000 SEMMNS max semaphores system wide The maximum number of all signals
32 SEMOPM max ops per semop call Call the maximum number of signals in a single signal set
128 SEMMNI max number of arrays The maximum value of the signal set
Here is the semaphore creation failure , So just look at ipcs -s that will do , Use in question ipcs Command to view the semaphore number , Discovery was created 128 individual , And the most semaphore creation number it supports is 128, Therefore, subsequent semaphore creation fails 
Solution :
Carry out orders echo 32000 1024000000 500 32000 >/proc/sys/kernel/mem, Increase the maximum value of the semaphore that can be created
边栏推荐
- One question per day,
- JS Base64 Library Learning
- 90 后眼中的理想 L9:最简单的产品哲学,造最猛的爆款 | 指南斟
- Using Sphinx to automatically generate API documents from py source files
- C language LNK2019 unresolved external symbols_ Main error
- What moment makes you think there is a bug in the world?
- In 2022, the score line of Guangdong college entrance examination was released, and several families were happy and several worried
- QQ情话糖果情话内容获取并保存
- Bessie's weight problem [01 backpack]
- 电源自动测试系统NSAT-8000,精准高速可靠的电源测试设备
猜你喜欢

From 408 to independent proposition, 211 to postgraduate entrance examination of Guizhou University

JS get the height and width corresponding to the box model (window.getcomputedstyle, dom.getboundingclientrect)

JS to add elements to the header, or tail of an array

Build a minimalist gb28181 gatekeeper and gateway server, establish AI reasoning and 3D service scenarios, and then open source code (I)

C language escape character and its meaning

One question per day,

How to make GIF animation online? Try this GIF online production tool

Introduction to flexible array

有哪个瞬间让你觉得这个世界出bug了?

Design and implementation of timer
随机推荐
分饼干问题
Add a string at the input and textarea cursors
Dmsetup command
‘make_ unique’ is not a member of ‘std’
Jaspersoft studio adding MySQL database configuration
Usage of qlist
多张动图怎样合成一张gif?仅需三步快速生成gif动画图片
从408改考自主命题,211贵州大学考研改考
Clinical chemistry | zhangjianzhong / Xu Jian develop single cell precision diagnosis and treatment technology for Helicobacter pylori
QT file reading -qfile
Qlogsystem log system configuration use
JS to add elements to the header, or tail of an array
1090.Phone List
Using Sphinx to automatically generate API documents from py source files
[untitled] PTA check password
定位position(5种方式)
JS capture, target, bubble phase
Disable scrolling in the iPhone web app- Disable scrolling in an iPhone web application?
Ideal L9 in the eyes of the post-90s: the simplest product philosophy, creating the most popular products
One question per day,