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

Excessive calls to '/events' api if docker daemon is not fully initialized #269

Open
aj-jaswanth opened this issue Jan 4, 2018 · 0 comments

Comments

@aj-jaswanth
Copy link

aj-jaswanth commented Jan 4, 2018

We have observed that dockergen calls '/events' huge number of times when the docker daemon is not fully initialized. As a result of this docker 1.9.1 consumes a lot of memory more than 4GB (when it should only be consuming 40MB).

Sample logs:

Jan 03 22:17:56 host docker[966]: time="2018-01-03T22:17:56.527161876+11:00" level=info msg="GET /events"
Jan 03 22:17:56 host docker[966]: time="2018-01-03T22:17:56.527770917+11:00" level=info msg="GET /events"
Jan 03 22:17:56 host docker[966]: time="2018-01-03T22:17:56.529030241+11:00" level=info msg="GET /events"
Jan 03 22:17:56 host docker[966]: time="2018-01-03T22:17:56.529666130+11:00" level=info msg="GET /events"

Number of times called per second:
Table shows columns timestamp and number of times '/events' called'.

22:17:56   571
22:17:57   1072
22:17:58   571
22:18:10   813
22:18:11    880
22:18:12    534
22:18:40   587
22:18:41    711
22:18:42    938
22:19:12   200
22:19:13   1586
22:19:14   463
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

No branches or pull requests

1 participant