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

Alerts for memory utilization of secondaries #28

Closed
kumarnarendra701 opened this issue Apr 9, 2023 · 4 comments
Closed

Alerts for memory utilization of secondaries #28

kumarnarendra701 opened this issue Apr 9, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@kumarnarendra701
Copy link
Contributor

kumarnarendra701 commented Apr 9, 2023

Create a script to monitor the memory utilization of secondaries.

@kumarnarendra701 kumarnarendra701 added the enhancement New feature or request label Apr 9, 2023
@kumarnarendra701 kumarnarendra701 self-assigned this Apr 9, 2023
@kumarnarendra701
Copy link
Contributor Author

@cpswan - This ticket is to get the memory utilization alerts of secondaries and report them to Gchat. So that we can take action and fix the secondary failure issue.

To monitor the memory utilization of secondary containers in your Docker Swarm cluster, I found a way to obtain memory utilization information from the worker nodes where the containers are running using the "docker stats" command. However, this approach requires adding a script to a cronjob on every worker node to receive alerts when the memory usage exceeds a certain threshold.

Although I tried to obtain memory utilization details from the Docker stacks/services level but did not get any success with this approach.

Please let me know if you have any thoughts.

@cpswan
Copy link
Member

cpswan commented Apr 13, 2023

@kumarnarendra701 (and @athandle) before we go too far down this road I'd like to have a discussion in an arch call (once I'm back next week).

@athandle
Copy link

athandle commented Apr 24, 2023

no scripts to run on worker node
we need to track why we need more memory - atsign-foundation/at_server#1303
linked
atsign-foundation/at_server#1318

@cpswan
Copy link
Member

cpswan commented Apr 25, 2023

Closing this ticket, as whatever we do about this problem, it won't be using the seccheck approach.

@cpswan cpswan closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants