[ZBX-14767] amount of semaphor for zabbix Created: 2018 Aug 25 Updated: 2018 Aug 30 Resolved: 2018 Aug 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Major |
Reporter: | mo30 | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
hi How much should be the amount of semaphores for zabbix ? we need to Increase amount . service zabbix cannt start
cat /var/log/zabbix/zabbix_server.log ------------------------------------- [root@localhost admin]# ipcs -ls ------ Semaphore Limits --------
|
Comments |
Comment by Vladislavs Sokurenko [ 2018 Aug 25 ] |
Please check selinux log |
Comment by mo30 [ 2018 Aug 27 ] |
[root@localhost ~]# grep "SELinux is preventing" /var/log/messages |
Comment by Glebs Ivanovskis [ 2018 Aug 27 ] |
Check what ipcs -us and ipcs -s show you. Perhaps, you just need to delete old semaphores manually (actually, make sure you let Zabbix terminate gracefully by not sending SIGKIL to it, use SIGTERM instead - this could be the reason for the buildup of old semaphores). Each Zabbix daemon needs just one semaphore set with less than 15 semaphores in it, so this shouldn't cause any issues with system limits. |
Comment by mo30 [ 2018 Aug 27 ] |
hi before delete ipcrm but when retart zabbix-service not start
--------------------------------------------- root@localhost ~]# ipcs -us ------ Semaphore Status -------- [root@localhost ~]# ipcs -s ------ Semaphore Arrays -------- [root@localhost ~]# |
Comment by Glebs Ivanovskis [ 2018 Aug 27 ] |
Is the error message still the same in the log file? |
Comment by mo30 [ 2018 Aug 27 ] |
yes . zabbix service not start
------------------- cat /var/log/zabbix/zabbix_server.log [root@localhost admin]# systemctl restart zabbix_server |
Comment by Glebs Ivanovskis [ 2018 Aug 27 ] |
Are you sure these aren't old messages? Please do tail -n 10 /var/log/zabbix/zabbix_server.log; systemctl restart zabbix_server; tail -n 10 /var/log/zabbix/zabbix_server.log Maybe now Zabbix does not start for a different reason ("No such file or directory"). |
Comment by mo30 [ 2018 Aug 28 ] |
tnks all new new comment : there is not the file /var/log/zabbix/zabbix_server.log the file zabbix_server.log with date
[root@localhost ~]# tail -n 10 /var/log/zabbix/zabbix_server.log ================================================================= [root@localhost ~]# dir /var/log/zabbix/ zabbix_agentd.log-20180826 zabbix_server.log-20180702.gz zabbix_server.log-20180813.gz zabbix_agentd.log-20180722.gz zabbix_ server.log zabbix_server.log-20180708.gz zabbix_server.log-20180819 zabbix_agentd.log-20180730.gz zabbix_server.log-20180604.gz zabbix_server.log-20180716.gz zabbix_agentd.log-20180805.gz zabbix_server.log-20180610.gz zabbix_server.log-20180722.gz zabbix_agentd.log-20180813.gz zabbix_server.log-20180618.gz zabbix_server.log-20180730.gz zabbix_agentd.log-20180819.gz zabbix_server.log-20180624.gz zabbix_server.log-20180805.gz =================================================================== [root@localhost ~]# systemctl restart zabbix_server =============================================================================================================== [root@localhost ~]# tail -n 10 /var/log/zabbix/zabbix_server.log-20180819
|
Comment by Glebs Ivanovskis [ 2018 Aug 28 ] |
Erm, I guess the service is named zabbix-server, not zabbix_server (with a dash instead of underscore). |
Comment by mo30 [ 2018 Aug 28 ] |
oh yes [root@localhost admin]# systemctl restart zabbix-server ================= [root@localhost admin]# systemctl status zabbix-server Aug 28 07:00:25 localhost.localdomain systemd[1]: Failed to start Zabbix Server. ====================================== [root@localhost admin]# tail -n 10 /var/log/zabbix/zabbix_server.log-20180819 |
Comment by Glebs Ivanovskis [ 2018 Aug 28 ] |
Now you are checking the wrong log file. At least there are no new messages about semaphores. |
Comment by mo30 [ 2018 Aug 28 ] |
tnks how checking ? |
Comment by Glebs Ivanovskis [ 2018 Aug 29 ] |
I think at this point you will progress faster if you address your questions to Zabbix community on IRC or forum. Check possible ways of getting help. This place is a bug tracker and in your situation there is no indication of a bug in Zabbix. |