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

High CPU Usage by averaging 99.8% #76

Closed
dogrocker opened this issue Oct 9, 2018 · 4 comments
Closed

High CPU Usage by averaging 99.8% #76

dogrocker opened this issue Oct 9, 2018 · 4 comments

Comments

@dogrocker
Copy link
Contributor

dogrocker commented Oct 9, 2018

Describe the bug
/logs/statup.log look so good.

2018/10/09 05:40:55 INFO: Service Website Successful Response: 173.92 ms | Lookup in: 5.29 ms
2018/10/09 05:41:31 INFO: Service Application Successful Response: 127.31 ms | Lookup in: 4.26 ms
2018/10/09 05:43:55 INFO: Service Website Successful Response: 204.02 ms | Lookup in: 3.99 ms
2018/10/09 05:44:31 INFO: Service Application Successful Response: 110.76 ms | Lookup in: 2.44 ms
2018/10/09 05:46:55 INFO: Service Website Successful Response: 247.38 ms | Lookup in: 3.63 ms
2018/10/09 05:47:31 INFO: Service Application Successful Response: 134.06 ms | Lookup in: 14.98 ms

To Reproduce
Steps to reproduce the behavior:

  1. I'm using version: '0.72' image from docker hub.
  2. Running on docker and sqlite.
@hunterlong
Copy link
Member

hey @dogrocker , i've been into into CPU usage but my instances aren't running at 99%+. Can you tell me the following?

  • What OS you're using the run the Docker image?
  • How many services do you have running?
  • What interval are you checking these services?

I'll look more into this in the meantime.

@dogrocker
Copy link
Contributor Author

dogrocker commented Oct 17, 2018

@hunterlong ,

  • My OS is Ubuntu 16.04.4 LTS Linux localhost 4.18.8-x86_64-linode117.
  • 2 http services
  • 180 secs.

Docker version.

  • Docker version 18.03.1-ce, build 9ee9f40
  • docker-compose version 1.21.2, build a133471

@hunterlong
Copy link
Member

Thanks @dogrocker , how about CPU and RAM amount? Try out version 0.78+, i've added caching for the service chart data, this might be a large reason for the CPU/RAM usage on requests.

I've noticed a huge difference on https://demo.statup.io.

@dogrocker
Copy link
Contributor Author

@hunterlong RAM 1GB, 1 CPU

v.0.78 work very well I'll close this issues.

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