-
Problem report
-
Resolution: Fixed
-
Major
-
4.4.8, 5.0.0beta2
-
Solaris 10/11 sparc/x86_64
-
Sprint 64 (May 2020), Sprint 65 (Jun 2020)
-
0.25
Steps to reproduce:
- install Agent from sources or from packages
- start agent
- stop agent
- check logs
Result:15862:20200504:200838.466 cannot remove shared memory for collector: [22] Invalid argument
# while agent is running: ipcs -a IPC status from <running system> as of Mon May 4 20:11:43 EEST 2020 T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME Semaphores: s 39 0 --ra------- zabbix zabbix zabbix zabbix 14 20:11:43 20:11:41 s 21 0 --ra------- 102 zabbix 102 zabbix 14 no-entry 16:07:45 s 8 0 --ra------- 102 zabbix 102 zabbix 14 18:44:55 18:40:32 ipcs -m IPC status from <running system> as of Mon May 4 20:12:53 EEST 2020 T ID KEY MODE OWNER GROUP Shared Memory: # agent stopped: ipcs -a IPC status from <running system> as of Mon May 4 20:14:51 EEST 2020 T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME Semaphores: s 40 0 --ra------- zabbix zabbix zabbix zabbix 14 20:14:50 20:14:44 s 21 0 --ra------- 102 zabbix 102 zabbix 14 no-entry 16:07:45 s 8 0 --ra------- 102 zabbix 102 zabbix 14 18:44:55 18:40:32 ipcs -m IPC status from <running system> as of Mon May 4 20:15:25 EEST 2020 T ID KEY MODE OWNER GROUP Shared Memory:
Expected:
No error, correct exit.