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

Very high CPU consumption in 2.1.5808 #218

Closed
avavdoshin opened this issue Aug 31, 2023 · 4 comments
Closed

Very high CPU consumption in 2.1.5808 #218

avavdoshin opened this issue Aug 31, 2023 · 4 comments

Comments

@avavdoshin
Copy link

avavdoshin commented Aug 31, 2023

Hello, Arnaud.

I update mormot from 2.1.5794 to 2.1.5808 for my server app (fpc 3.3.1 / win64) and CPU consumption for server app is 25-30% after any client connected
The same project, but mormot 2.1.5794 - server app CPU consumption is about 3-6%

Can you please check what is broken with update?

@synopse
Copy link
Owner

synopse commented Aug 31, 2023

I am currently fixing this issue.

See https://synopse.info/forum/viewtopic.php?pid=40273#p40273

@avavdoshin
Copy link
Author

Thank you. I'll be waiting

@synopse
Copy link
Owner

synopse commented Aug 31, 2023

Please try with the latest commits.

Note that 060d5be0 is also critical to include: it avoids a rare - but observed - race condition which could exhaust all working threads of the async server.
Seems pretty stable now.

See https://synopse.info/forum/viewtopic.php?pid=40277#p40277

@avavdoshin
Copy link
Author

Fixed completely with 2.1.5812. Thank you!

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