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 even when idle #44

Open
dmccarthy-dev opened this issue Oct 20, 2014 · 5 comments
Open

High CPU usage even when idle #44

dmccarthy-dev opened this issue Oct 20, 2014 · 5 comments
Assignees
Labels

Comments

@dmccarthy-dev
Copy link

Hi guys,

My Vagrant VM is recording high CPU usage originating from the api frameworks python process. It ranges between 29-65% CPU but averages at 37%. It does so when no endpoints are being called. Have you seen this on your local machine?

Regards,
Dónal.

@mpetyx
Copy link
Contributor

mpetyx commented Oct 20, 2014

Hey @dmccarthy-tssg !
Actually it is really light on my machine..
In all of our machines it is light, specially whenever it is idle.
What are you doing with the framework?

@dmccarthy-dev
Copy link
Author

Nothing, that's the point. I just provisioned a clean Vagrant image and started all the processes. I saw high CPU usage and investigated. I was expecting couchbase to be the problem but it turned out to be the python process. Are you running it through Vagrant and/or virtualenv?

Philip recently changed the tmux(start) script to the following (cd ~/repos/api-framework/OPENiapp/ && venv/bin/python manage.py runserver 0.0.0.0:8889). Are you running it the same way on your local machine?

@mpetyx
Copy link
Contributor

mpetyx commented Oct 21, 2014

Good morning Donal,
Well I am running it the exact same way locally but still nothing like this happens.
Maybe you can see in the terminal any log activity? It would be really helpful to understand why it is running..

@dmccarthy-dev
Copy link
Author

I'm not seeing anything in the logs that can explain the high CPU. I've asked others if they aer seeing it in their Vagrant environment but nobody seems to be using Vagrant..... which is very worrying!

@mpetyx
Copy link
Contributor

mpetyx commented Nov 14, 2014

is this ok?
should i close it (at least at the moment) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants