-
Notifications
You must be signed in to change notification settings - Fork 61
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 from web.py - MySQL #251
Comments
just get the latest master where it is fixed |
What is the version of mysql you use? |
@Aiyubi I just downloaded the master version, same problem. @gunawanputra I'm currently running MySQL v5.5 |
MySQL 5.5 should be able to run the query smoothly. I ask about mySQL version because I got the same problem when try to open web.py. My CPU usage even rise to 100%. Later I found that I'm still using mysql 5.0.51b that come with xampp 1.6.7. When I try to run get_forts query mysql 5.0 need more than a minute to finish. Right now I'm using xampp 5.6 and migrate my pokeminer to mariaDB, and don't get any problem with the new get_forts query. Maybe there is in your mysql configuration? What storage engine that you use? check this link https://bobcares.com/blog/fix-mysql-high-cpu-usage/ |
Could you try checking the query on MySQL 5.7 if possible? I don't have any issues with it there. |
I just updated the the newest release (v0.5.4) and now I'm getting extremely high CPU usage. On the previous release (v0.5.3) I was not experiencing this issue. It only happens when I run web.py.
When I run the query
SHOW PROCESSLIST;
I can see that the querySELECT fs.fort_id, fs.id, ...
is causing the problem. I have to go in and manually and kill the query process after aborting the web.py script.Anyone else experiencing this issue? Any quick fix?
EDIT: I also have all the latest versions of the requirements.txt
The text was updated successfully, but these errors were encountered: