Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container metadata fetching is blocking, which can result in dropped system calls #1321

Closed
mstemm opened this issue Feb 27, 2019 · 0 comments · Fixed by #1326
Closed

Comments

@mstemm
Copy link
Contributor

mstemm commented Feb 27, 2019

Currently, when sysdig notices that a docker container has been created, it does a blocking fetch of metadata from the docker socket. This can take up to hundreds of milliseconds for the docker daemon to respond with the container's metadata, and on busy systems this can result in dropped system calls.

We should make fetches of container metadata asynchronous and have a separate "container event" that notes that a container has been created. We already have an internal CONTAINER_JSON event that is used for trace files, we just need to make this event visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant