Leeon123 / CC-attack

Using Socks4/5 or http proxies to make a multithreading Http-flood/Https-flood (cc) attack.
GNU General Public License v2.0
967 stars 420 forks source link

RuntimeError: can't start new thread #75

Closed argento81 closed 2 years ago

argento81 commented 2 years ago

Building threads... Traceback (most recent call last): File "cc.py", line 726, in main()#Coded by Leeon123 File "cc.py", line 713, in main build_threads(mode,thread_num,event,socks_type,ind_rlock) File "cc.py", line 101, in build_threads th.start() File "/usr/lib/python3.7/threading.py", line 847, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't start new thread

Leeon123 commented 2 years ago

Just don't start too much thread, or you can mod the script as multiprocessing, or even more simple, run more times in the console.

The reason of this error occured is the single python process reached the maximum thread limit of your system.