You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional environment details (Operating System, Cloud provider, etc):
This agent is running inside a docker container, configured for service discovery.
Steps to reproduce the issue:
Configure datadog agent for JMX service discovery
Start up the agent container
Sometimes jmxfetch starts up before collector, and so jmxfetch can't load the named pipe
Describe the results you received:
The following log messages show the issue:
collector.log:
2017-03-24 12:46:46 UTC | INFO | dd.collector | collector(agent.py:451) | JMX SD Config via named pip jmx_0 successfully.
and
jmxfetch.log:
2017-03-24 12:46:45,327 | WARN | App | Unable to open named pipe - Service Discovery disabled.
Note that the named pipe was created a second after jmxfetch tried to open it.
Describe the results you expected:
I expect that the collector will create the named pipe before jmxfetch tries to read from it.
Additional information you deem important (e.g. issue happens only occasionally):
This is intermittent, and seems to happen more frequently when there are more docker containers running on the host.
The text was updated successfully, but these errors were encountered:
Hi @sdwr98 and thanks for reporting this issue, there is indeed a potential race condition in the current Agent when the collector takes some time to start (generally because of queries to a service discovery backend).
I've opened 2 PRs (DataDog/jmxfetch#135 and #3306) to address this issue, they should hopefully fix it. We'll work on getting these fixes merged and released for the next minor version of the Agent.
**Output of the info page **
Additional environment details (Operating System, Cloud provider, etc):
This agent is running inside a docker container, configured for service discovery.
Steps to reproduce the issue:
Describe the results you received:
The following log messages show the issue:
collector.log:
and
jmxfetch.log:
Note that the named pipe was created a second after jmxfetch tried to open it.
Describe the results you expected:
I expect that the collector will create the named pipe before jmxfetch tries to read from it.
Additional information you deem important (e.g. issue happens only occasionally):
This is intermittent, and seems to happen more frequently when there are more docker containers running on the host.
The text was updated successfully, but these errors were encountered: