You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
爬取进度:[# ] 7%Process GetPageByWebWithAnotherProcessAndMultiThreading-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/home/pi/Documents/myPython/FundCrawler-Dev/CrawlingCore.py", line 115, in run
t.start()
File "/usr/lib/python3.7/threading.py", line 847, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
can't start new threadcan't start new thread
^CTraceback (most recent call last):
File "CrawlingFund.py", line 139, in
crawling_fund(fund_list)
File "CrawlingFund.py", line 74, in crawling_fund
a_result = result_queue.get()
File "/usr/lib/python3.7/multiprocessing/queues.py", line 94, in get
res = self._recv_bytes()
File "/usr/lib/python3.7/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/usr/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/usr/lib/python3.7/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
KeyboardInterrupt
能不能加个参数控制一下线程的数量?
The text was updated successfully, but these errors were encountered:
爬取进度:[# ] 7%Process GetPageByWebWithAnotherProcessAndMultiThreading-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/home/pi/Documents/myPython/FundCrawler-Dev/CrawlingCore.py", line 115, in run
t.start()
File "/usr/lib/python3.7/threading.py", line 847, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
can't start new threadcan't start new thread
^CTraceback (most recent call last):
File "CrawlingFund.py", line 139, in
crawling_fund(fund_list)
File "CrawlingFund.py", line 74, in crawling_fund
a_result = result_queue.get()
File "/usr/lib/python3.7/multiprocessing/queues.py", line 94, in get
res = self._recv_bytes()
File "/usr/lib/python3.7/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/usr/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/usr/lib/python3.7/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
KeyboardInterrupt
能不能加个参数控制一下线程的数量?
The text was updated successfully, but these errors were encountered: