Python的2.6线程KeyError异常与Apache [英] Python 2.6 threading KeyError with Apache
本文介绍了Python的2.6线程KeyError异常与Apache的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我运行Apache,使用的OS X的MacPorts,服务于Django应用程序安装。
I'm running Apache, installed using macports on OS X, to serve a Django app.
我得到了许多Apache的线条就像是error_log这些:
I'm getting many lines in the Apache error_log like these:
[Wed Feb 23 11:35:42 2011] [error] Exception KeyError: KeyError(-1606572256,) in <module 'threading' from '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.pyc'> ignored
服务器似乎并没有是具有同时记录这些错误值得注意的问题,但它确实崩溃每隔一段时间需要手动重新启动 - 这可能会或可能不会涉及到这些错误消息
The server doesn't seem to be having noticeable problems while these errors are logged, but it does crash every so often requiring a manual restart - which may or may not be related to these error messages.
任何想法?
推荐答案
这篇关于Python的2.6线程KeyError异常与Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文