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

[Event Service] Intermittent high CPU usage #52

Closed
boreq opened this issue Nov 30, 2023 · 4 comments
Closed

[Event Service] Intermittent high CPU usage #52

boreq opened this issue Nov 30, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@boreq
Copy link
Contributor

boreq commented Nov 30, 2023

Sometimes the server experiences high CPU usage which doesn't seem to be reflected in the reported high CPU usage of individual processes running on it. For example the 5/10/15 minute load will be extremely high while the individual processes all stay at <10% of CPU usage.

2023-12-05 19:32:14

Could be something I/O related or maybe related to goroutines or mutexes around the database connection. After a while (sometimes hours) the service is able to continue normally which points to the DB connection.

@boreq boreq added the bug Something isn't working label Nov 30, 2023
@boreq boreq self-assigned this Nov 30, 2023
@boreq boreq moved this to In Progress in Verse: Nos Projects Nov 30, 2023
@boreq
Copy link
Contributor Author

boreq commented Dec 5, 2023

Fixes which may in some way contribute towards fixing this so far:

Looking at the graphs the service no longer hangs in this way.

@boreq boreq moved this from In Progress to Code Review in Verse: Nos Projects Dec 5, 2023
@boreq
Copy link
Contributor Author

boreq commented Dec 6, 2023

I think it still sometimes happens e.g. on 2023-12-04 09:10.

@boreq boreq moved this from Code Review to In Progress in Verse: Nos Projects Dec 6, 2023
@boreq
Copy link
Contributor Author

boreq commented Dec 7, 2023

Helper task:

@boreq
Copy link
Contributor Author

boreq commented Dec 11, 2023

New pull request:

@setch-l setch-l changed the title Intermittent high CPU usage [Event Service] Intermittent high CPU usage Dec 11, 2023
@boreq boreq moved this from In Progress to Code Review in Verse: Nos Projects Dec 13, 2023
@boreq boreq moved this from Code Review to Blocked in Verse: Nos Projects Dec 14, 2023
@boreq boreq closed this as completed Dec 19, 2023
@github-project-automation github-project-automation bot moved this from Blocked to Done in Verse: Nos Projects Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant