python webpy bad argument to internal function,webpyargument,使用supervisor
python webpy bad argument to internal function,webpyargument,使用supervisor
使用supervisorctl + webpy + uwsgi时抛出如下错误:
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/application.py", line 271, in wsgi self._cleanup() File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/application.py", line 112, in _cleanup utils.ThreadedDict.clear_all() File "/usr/local/lib/python2.7/dist-packages/web.py-0.37-py2.7.egg/web/utils.py", line 1213, in clear_all for t in list(ThreadedDict._instances):SystemError: ../Objects/tupleobject.c:142: bad argument to internal function
这个问题只是偶尔发生,发生后重启supervisorctl中的进程可以解决问题,但是没有找到根源问题。
相关内容
- python urllib2 timeout处理实例,pythonurllib2,python的urlli
- python循环中的break continue使用,pythonbreak,count = 0whi
- python计算windows的cpu使用率,pythoncpu,import osdef
- python 多层list转为一层,python多层list转为,在c,c++等语
- python处理http post payload request类型请求,pythonpayload,普通
- python执行子进程, 设置命令输入,python命令,使用subp
- python minidom toxml方法,minidomtoxml,from xml.dom
- Mixed String type: normal string and unicode,mixedunicode,print 'ni
- Demonstrates the differences between the methods for importing module
- Built-in Numeric Tools,built-innumeric,import math
评论关闭