当前位置:网站首页>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
边栏推荐
- 使用sphinx根据py源文件自动生成API文档
- NBD Network Block Device
- If multiple signals point to the same slot function, you want to know which signal is triggered.
- Time stamp calculation and audio-visual synchronization of TS stream combined video by ffmpeg protocol concat
- Real variable instance
- Modal and modeless dialogs for QT
- Common operations in VIM
- Is it safe to open a stock account online?
- 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
猜你喜欢

定位position(5种方式)

Character encoding minutes

Stack and queue
![[Ocean University of China] Data Sharing for retest of initial Examination](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[Ocean University of China] Data Sharing for retest of initial Examination

【中國海洋大學】考研初試複試資料分享

Heavyweight! The domestic IDE is released and developed by Alibaba. It is completely open source! (high performance + high customization)

Uniapp cloud packaging app
![[Ocean University of China] information sharing for the first and second examinations of postgraduate entrance examination](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[Ocean University of China] information sharing for the first and second examinations of postgraduate entrance examination

Arithmetic operations and expressions

How to make GIF animation online? Try this GIF online production tool
随机推荐
QT inline dialog
14 -- 验证回文字符串 Ⅱ
Uniapp icon configuration
从0到1完全掌握 XSS
JGG | overview of duhuilong group of Hebei University Research on plant pan genomics
Is it safe to open an online stock account? Who knows
[deep learning] multi label learning
QQ love talk candy love talk content acquisition and storage
In 2022, the score line of Guangdong college entrance examination was released, and several families were happy and several worried
QT opens the print dialog box in a text editor
【深度学习】多标签学习
Design and implementation of timer
Iterator failure condition
1090.Phone List
JS select all exercise
Gif动画怎么在线制作?快试试这款gif在线制作工具
Generation method and usage of coredump
Installing QT plug-in in Visual Studio
Go语言Zap库Logger的定制化和封装使用详解
Introduction to flexible array