CPU load too high for some code
Issue #131
resolved
after my server run for some days,cpu load get very high number
this is some code i dumped by thread id of jstack
Comments (3)
-
repo owner -
repo owner With setting
Config.JAS_NO_THREADS = false
and commit 2e014a2 you can now wrap your evaluation to timeout if necessary. This evaluation times out after 60 seconds:
TimeConstrained(<expression to eval>, 60)
-
repo owner - changed status to resolved
- Log in to comment
Do you use some mechanism to stop calculations after some time?
For symjaweb.appspot.com I'm using the Appengine mechanism: Dealing with DeadlineExceededErrors