免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1696 | 回复: 0

这是django的资源耗尽了么? [复制链接]

论坛徽章:
0
发表于 2015-05-13 16:26 |显示全部楼层
系统是我的VBox上跑的 ubuntu 14.04的虚拟机
单核 1G ram

  1. Exception happened during processing of request from ('192.168.56.1', 56355)
  2. Traceback (most recent call last):
  3.   File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
  4.     self.process_request(request, client_address)
  5.   File "/usr/lib/python3.4/socketserver.py", line 620, in process_request
  6.     t.start()
  7.   File "/usr/lib/python3.4/threading.py", line 850, in start
  8.     _start_new_thread(self._bootstrap, ())
  9. RuntimeError: can't start new thread
  10. ----------------------------------------
  11. ----------------------------------------
  12. Exception happened during processing of request from ('192.168.56.1', 56358)
  13. Traceback (most recent call last):
  14.   File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
  15.     self.process_request(request, client_address)
  16.   File "/usr/lib/python3.4/socketserver.py", line 620, in process_request
  17.     t.start()
  18.   File "/usr/lib/python3.4/threading.py", line 850, in start
  19.     _start_new_thread(self._bootstrap, ())
  20. RuntimeError: can't start new thread
  21. ----------------------------------------
  22. ----------------------------------------
  23. Exception happened during processing of request from ('192.168.56.1', 56386)
  24. Traceback (most recent call last):
  25.   File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
  26.     self.process_request(request, client_address)
  27.   File "/usr/lib/python3.4/socketserver.py", line 620, in process_request
  28.     t.start()
  29.   File "/usr/lib/python3.4/threading.py", line 850, in start
  30.     _start_new_thread(self._bootstrap, ())
  31. RuntimeError: can't start new thread
  32. ----------------------------------------
  33. ----------------------------------------
  34. Exception happened during processing of request from ('192.168.56.1', 56389)
  35. Traceback (most recent call last):
  36.   File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
  37.     self.process_request(request, client_address)
  38.   File "/usr/lib/python3.4/socketserver.py", line 620, in process_request
  39.     t.start()
  40.   File "/usr/lib/python3.4/threading.py", line 850, in start
  41.     _start_new_thread(self._bootstrap, ())
  42. RuntimeError: can't start new thread
  43. ----------------------------------------
  44. ----------------------------------------
  45. Exception happened during processing of request from ('192.168.56.1', 56391)
  46. Traceback (most recent call last):
  47.   File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
  48.     self.process_request(request, client_address)
  49.   File "/usr/lib/python3.4/socketserver.py", line 620, in process_request
  50.     t.start()
  51.   File "/usr/lib/python3.4/threading.py", line 850, in start
  52.     _start_new_thread(self._bootstrap, ())
  53. RuntimeError: can't start new thread
  54. ----------------------------------------
  55. [13/May/2015 09:26:36] "GET /api/servantskill/?cat_2_ex=%E5%8D%B8%E7%94%B2 HTTP/1.1" 200 15760
  56. Traceback (most recent call last):
  57.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 138, in run
  58.     self.finish_response()
  59.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 180, in finish_response
  60.     self.write(data)
  61.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 274, in write
  62.     self.send_headers()
  63.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 332, in send_headers
  64.     self.send_preamble()
  65.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 255, in send_preamble
  66.     ('Date: %s\r\n' % format_date_time(time.time())).encode('iso-8859-1')
  67.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 453, in _write
  68.     self.stdout.write(data)
  69.   File "/usr/lib/python3.4/socket.py", line 391, in write
  70.     return self._sock.send(b)
  71. BrokenPipeError: [Errno 32] Broken pipe
  72. [13/May/2015 09:26:45] "GET /api/servantskill/?cat_2_ex=%E5%8D%B8%E7%94%B2 HTTP/1.1" 500 59
  73. ----------------------------------------
  74. Exception happened during processing of request from ('10.61.11.73', 56335)
  75. Traceback (most recent call last):
  76.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 138, in run
  77.     self.finish_response()
  78.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 180, in finish_response
  79.     self.write(data)
  80.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 274, in write
  81.     self.send_headers()
  82.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 332, in send_headers
  83.     self.send_preamble()
  84.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 255, in send_preamble
  85.     ('Date: %s\r\n' % format_date_time(time.time())).encode('iso-8859-1')
  86.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 453, in _write
  87.     self.stdout.write(data)
  88.   File "/usr/lib/python3.4/socket.py", line 391, in write
  89.     return self._sock.send(b)
  90. ----------------------------------------
  91. Exception happened during processing of request from ('192.168.56.1', 56398)
  92. Traceback (most recent call last):
  93.   File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
  94.     self.process_request(request, client_address)
  95.   File "/usr/lib/python3.4/socketserver.py", line 620, in process_request
  96.     t.start()
  97.   File "/usr/lib/python3.4/threading.py", line 850, in start
  98.     _start_new_thread(self._bootstrap, ())
  99. RuntimeError: can't start new thread
  100. ----------------------------------------
  101. BrokenPipeError: [Errno 32] Broken pipe

  102. During handling of the above exception, another exception occurred:

  103. Traceback (most recent call last):
  104.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 141, in run
  105.     self.handle_error()
  106.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 368, in handle_error
  107.     self.finish_response()
  108.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 180, in finish_response
  109.     self.write(data)
  110.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 274, in write
  111.     self.send_headers()
  112.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 331, in send_headers
  113.     if not self.origin_server or self.client_is_modern():
  114.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 344, in client_is_modern
  115.     return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
  116. TypeError: 'NoneType' object is not subscriptable

  117. During handling of the above exception, another exception occurred:

  118. Traceback (most recent call last):
  119.   File "/usr/lib/python3.4/socketserver.py", line 609, in process_request_thread
  120.     self.finish_request(request, client_address)
  121.   File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
  122.     self.RequestHandlerClass(request, client_address, self)
  123.   File "/usr/local/lib/python3.4/dist-packages/Django-1.7.7-py3.4.egg/django/core/servers/basehttp.py", line 129, in __init__
  124.     super(WSGIRequestHandler, self).__init__(*args, **kwargs)
  125.   File "/usr/lib/python3.4/socketserver.py", line 665, in __init__
  126.     self.handle()
  127.   File "/usr/lib/python3.4/wsgiref/simple_server.py", line 126, in handle
  128.     handler.run(self.server.get_app())
  129.   File "/usr/lib/python3.4/wsgiref/handlers.py", line 144, in run
  130.     self.close()
  131.   File "/usr/lib/python3.4/wsgiref/simple_server.py", line 35, in close
  132.     self.status.split(' ',1)[0], self.bytes_sent
  133. AttributeError: 'NoneType' object has no attribute 'split'

复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP