Zabbix_server [788]: cannot open log: cannot create semaphore set: [28] No space left on device
The zabbix shared memory error is as follows:
Zabbix_server [788]: cannot open log: cannot create semaphore set: [28] No space left on device
Reason for error:
The kernel.sem parameter is set too small.
Shared memory:
You can view the current system shared memory parameter limit by using the ipcs -lm command.
#ipcs -lm
------ Shared Memory Limits --------
Max number of segments = 4096
Max seg size (kbytes) = 67108864
Max total shared memory (kbytes) = 18014398442373116
Min seg size (bytes) = 1
View current coexistence memory parameters:
#cat /proc/sys/kernel/sem
250 32000 32 128
Change parameters:
#vim /etc/sysctl.conf
Kernel.sem =5010 641280 5010 128
#sysctl -p /etc/sysctl.conf //Settings take effect immediately
5010 SEMMSL max semaphores per array signal set accommodates the maximum number of signals
641280 SEMMNS max semaphores system wide Maximum number of all signals
5010 SEMOPM max ops per semop call Calls the maximum number of signals in a single signal set
128 SEMMNI max number of arrays Maximum value of the signal set
https://www.tracymc.cn/archives/1068
Zabbix_server [788]: cannot open log: cannot create semaphore set: [28] No space left on device
Reason for error:
The kernel.sem parameter is set too small.
Shared memory:
You can view the current system shared memory parameter limit by using the ipcs -lm command.
#ipcs -lm
------ Shared Memory Limits --------
Max number of segments = 4096
Max seg size (kbytes) = 67108864
Max total shared memory (kbytes) = 18014398442373116
Min seg size (bytes) = 1
View current coexistence memory parameters:
#cat /proc/sys/kernel/sem
250 32000 32 128
Change parameters:
#vim /etc/sysctl.conf
Kernel.sem =5010 641280 5010 128
#sysctl -p /etc/sysctl.conf //Settings take effect immediately
5010 SEMMSL max semaphores per array signal set accommodates the maximum number of signals
641280 SEMMNS max semaphores system wide Maximum number of all signals
5010 SEMOPM max ops per semop call Calls the maximum number of signals in a single signal set
128 SEMMNI max number of arrays Maximum value of the signal set
https://www.tracymc.cn/archives/1068
Komentar