detect spinners
Bug #309883 reported by
Aaron Swartz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Won't Fix
|
High
|
Anand Chitipothu |
Bug Description
The most common reason web.py apps fail after launch is because there's some scenario under which they begin consuming lots of CPU for a long period of time, the GIL blocks everything, and the site fails (or becomes really slow).
web.py should have a method of detecting this and at least reporting it (so it can be fixed) if not preventing it. Right now you can't even debug these problems usually.
Changed in webpy: | |
assignee: | nobody → anandology |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
To post a comment you must log in.
Here's some sample code that seems to accurately simulate a spinner, at least judging from my experience with them.