Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17673

Zabbix Agent is not able to remove shared memory for collector: [22] Invalid argument

XMLWordPrintable

    • Sprint 64 (May 2020), Sprint 65 (Jun 2020)
    • 0.25

      Steps to reproduce:

      1. install Agent from sources or from packages
      2. start agent
      3. stop agent
      4. 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.

            viktors.tjarve Viktors Tjarve
            edgar.akhmetshin Edgar Akhmetshin
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: