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

Possible semaphore leak under Solaris 10, Agent 4.2.1

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.2.1
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      Solaris 10 8/11 X86

      Description

      Steps to reproduce:

      1. Build Zabbix Agent for Solaris 10
      2. Run agent unconfigured/configured - doesn't seem to make a difference whether its actually doing any real work or not.
      3. Run ipcs -s | grep zabbix periodically to watch the semaphore count grow until it maxes out
      4. Stop the agent
      5. Run ipcs -s | grep zabbix to check the count and notice only 1 was removed after exiting
      6. Run ipcrm to clean up semaphores

      Result:
      See attached zabbix agent log file, alongside a log of output from a loop that's counting the number of Zabbix semaphores:

      for i in `seq 1 1000000`; do date >> /oanda/var/tmp/semaphore.log; ipcs -s | grep zabbix | wc -l >> /oanda/var/tmp/semaphore.log; sleep 1; done

       

      Expected:
      Semaphores were stable under 4.0.5, so I'm unclear when this changed exactly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zabbix.support Zabbix Support Team
                Reporter:
                dangelovich David Angelovich
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: