配置了 Pooleddb
pool = PooledDB(MySQLdb,mincached=5,maxshared=5,maxconnections=10,host='localhost',user='root',passwd='XXX',db='XXX',port=3306)
在请求较多时, IDE 调试会报出这个错。 求高手指导。
[09/Oct/2015 14:07:55] "POST XXXXXX HTTP/1.1" 500 59
Traceback (most recent call last):
File "C:\Python27\Lib\SocketServer.py", line 599, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python27\Lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\sjiang1\NewRule360env\lib\site-packages\django\core\servers\basehttp.py", line 129, in __init__
super(WSGIRequestHandler, self).__init__(*args, **kwargs)
File "C:\Python27\Lib\SocketServer.py", line 657, in __init__
self.finish()
File "C:\Python27\Lib\SocketServer.py", line 716, in finish
self.wfile.close()
File "C:\Python27\Lib\socket.py", line 279, in close
self.flush()
File "C:\Python27\Lib\socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] An established connection was aborted by the software in your host m