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

High CPU utilisation of woker container. #186

Open
mahajanankur opened this issue Apr 13, 2020 · 2 comments
Open

High CPU utilisation of woker container. #186

mahajanankur opened this issue Apr 13, 2020 · 2 comments

Comments

@mahajanankur
Copy link

mahajanankur commented Apr 13, 2020

I found the membership-manager docker is utilising a lot CPU due to which master and workers are also heating up the environment.

When I stop the membership-manager docker, everything goes to normal.

This might be due to membership-manager has connected to Citus cluster and firing the events repeatedly.

citus_stats

@hanefi
Copy link
Member

hanefi commented Apr 13, 2020

Thanks @mahajanankur for reporting this.

I created two PRs that aims to resolve this issue:
1. citusdata/membership-manager#9 implements a polling mechanism in Membership Manager, so that (a) it will detect the readiness of the coordinator node, (b) properly report that it is ready to accept new Citus worker services

2. #187 (a) updates the docker images to properly detect dependencies, (b) introduce Compose V3 definitions

Once they are merged, this issue should be resolved

Edit: this issue seems unrelated to my fixes

@mahajanankur
Copy link
Author

mahajanankur commented Apr 13, 2020

@hanefi, just to inform you, the issue is still there even after shutting down the membership-manager container.
Server with load
citus_stats_2

Idle server
citus_stats_3

Update:
The Citus docker ecosystem pooling the data frequently due to which CPU and I/O gets chocked. This happens even if there is no load or even no schema.

@mahajanankur mahajanankur changed the title High CPU utilisation due to membership-manager docker. High CPU utilisation of wokers due to membership-manager docker. Apr 14, 2020
@mahajanankur mahajanankur changed the title High CPU utilisation of wokers due to membership-manager docker. High CPU utilisation of woker container. Apr 14, 2020
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

2 participants