-
Notifications
You must be signed in to change notification settings - Fork 75
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
CPU spikes #175
Comments
Oh, thanks for your issue! How can I reproduce this locally? |
well I don't know, I even reduced my containers to a bare minimum and still notice the same. doesn't it spike on your server? |
Yea, from time to time I test the performance and resource usage, and all looks ok. In addition, I have tested that right now: Spikes that you can see (1..3%% of one core) is ok for go-based application, it looks like a GC is working, and templates in-memory cache cleaning. Should I dig deeper? |
does GC kick in like every 5 seconds? I think its a bit strange, that it
has spikes, while 0 connections are active, like apache is 100% idle,
traefik has a little activity, but its nothing comparable to error-pages
spiking to 8-16% every ~5 seconds.
Am Fr., 24. Feb. 2023 um 08:37 Uhr schrieb Paramtamtam <
***@***.***>:
… Yea, from time to time I test the performance and resource usage, and all
looks ok. In addition, I have tested that right now:
[image: Screenshot at 2023-02-24 11-30-30]
<https://user-images.githubusercontent.com/7326800/221118700-59f21697-9432-445c-8fc4-627725b4dcb1.png>
Spikes that you can see is ok for go-based application, it looks like a GC
working and templates in-memory cache cleaning
<https://github.com/tarampampam/error-pages/blob/36673a49a4a2a0e6548046fa814fbc3c1eeef2b8/internal/tpl/render.go#L95-L106>
.
Should I dig deeper?
—
Reply to this email directly, view it on GitHub
<#175 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOKTZV7OOELBURWQLBVWXXDWZBQL3ANCNFSM6AAAAAAU3UI4XU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Okay, I'll research this case deeper, stay tuned |
Awesome. Thanks :)
Am Fr., 24. Feb. 2023 um 11:25 Uhr schrieb Paramtamtam <
***@***.***>:
… Okay, I'll research this case deeper, stay tuned
—
Reply to this email directly, view it on GitHub
<#175 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOKTZV34Y5GCB66NYJ64Y2LWZCECNANCNFSM6AAAAAAU3UI4XU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is there an existing issue for this?
Describe the bug
I noticed cpu spikes on one of my VM machines, and figured with:
docker stats --format "table {{.Name}}t{{.CPUPerc}}t{{.MemUsage}}"
that like every 5-10 seconds error-pages the cpu usage spikes to 8-16% while my other containers chill at ~1%.honestly no idea why, I closed all http/s connections to the server and still had this issue.
Steps to reproduce
No response
Configuration files
Relevant log output
No response
Anything else?
maybe you can tell me, what could cause this
thanks a lot and I really like this project
The text was updated successfully, but these errors were encountered: