-
Notifications
You must be signed in to change notification settings - Fork 1
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
postgres high CPU #60
Comments
I think this is related to insert performance rather than general db load (I only see this once I start exceeding ~1000 packets/tick). Commit ff8987e swaps the db insert mechanism from [multiple operations committed together] to [multiple values delivered in the same insert operation] |
Another thing to try if this doesn't do enough - double the length of the commit interval in the configuration file |
Is your loop interval set to something reasonable (5+)? Now that the loop is a couple of times faster you don't need to run it as often. |
Indeed. Loop interval was 3, now 5. Still high CPU. |
I've hit the 1million packet mark in the packets table and now i'm getting postgres consistently hitting 44-60% of my CPU - we should keep a watch on this and maybe figure out ways to stress postgres out less
also possibly help it with more RAM / buffers / whatnot?
The text was updated successfully, but these errors were encountered: