+ -
当前位置:首页 → 问答吧 → 多线程故障,求解

多线程故障,求解

时间:2011-01-13

来源:互联网

time ./cdn_bandwidth.py
Traceback (most recent call last):
  File "./cdn_bandwidth.py", line 113, in <module>
    d=fetch(myqueue,message,str(i).replace('-','_'))
  File "./cdn_bandwidth.py", line 81, in __init__
    self.start()
  File "/usr/local/lib/python2.5/threading.py", line 440, in start
    _start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

real    4m2.194s
user    1m10.399s
sys     0m22.895s

不知道有没有人遇到这个问题的,搜了半天,没找到原因。

作者: uselsee   发布时间: 2011-01-13

把cdn_bandwidth.py代码贴上来。

作者: flying_away   发布时间: 2011-01-14