-
Notifications
You must be signed in to change notification settings - Fork 43
Octo-RPKI process RAM usage #37
Comments
@spinoshi thank you for your report. This indeed seems strange.
Then sharing a few profiles |
I'm also seeing heavy memory usage in octorpki compared to other solutions. Freshly started octorpki consumes ~2GB and the usage just increases from there. After a week or two it touches 4GB. Other servers (routinator and fort) uses less than 100MB steadily. |
We're trialing octorpki as well - will get some pprof data and share. |
Also worth noting - we're tracking gortr keeping open a lots of connections to octorpki - not sure if this is the source of this memory issue. @spinoshi do you see lots of stale gortr > octorpki connections kept open? |
@nward are you using the latest version of GoRTR? I'll check if it's correctly closing. |
yep - 0.14.4 |
I double checked, was not properly closing the connections. |
@lspgn We have applied the fix for gortr and this has fixed the issue with multiple open connections between gortr and octorpki. However we are still seeing increasing memory usage with octorpki. I have attached a few pprof profiles. The Please note the attached heaps.tar.zip is just a tarfile - added .zip so github would accept it. |
Thank you, I will have a look. |
Continuing on from the above, now sitting at 3.2g usage for octorpki process. Here is another snap. |
I've seen what may be a related problem. I'll try to do some additional monitoring as well. I'll include some output I do have from an earlier out of memory crash if it is of any help:
|
Would you be able to give a try to 1.2.0-prerelease? |
I just installed and started running that yesterday. Will report back if I see something. |
Thank you for testing. The new version has been running in our staging environment for a while and I released it today. |
Hello folks,
more than an issue, a question.
We are running octo-rpki for a couple of months, and our monitoring system is warning us about RAM usage. We have a VM with 8GB of RAM + 1GB swap, and most of the time, the situation is this:
But sometimes octo-rpki process starts using all the available memory: so the free memory is just few hundred MB and we get the alert. Is anyone having the same situation? Any hint?
We use:
on Ubuntu 18.04.
Thanks!
The text was updated successfully, but these errors were encountered: