[x] requesting increase (10)
[x] requesting increase (20)
[x] requesting increase (30)
[x] requesting increase (40)
[x] requesting increase (50)
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
Self.run ()
File "center.py", line, in run
Response = Self.func (Self.num)
File "center.py", line Wu, in Request
Self.connection.process_data_events ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line 710, in Process_data_events
Self._flush_output (Timer.is_ready, Common_terminator)
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line 456, in _flush_output
Self._impl.ioloop.process_timeouts ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/select_ connection.py ", line 224, in Process_timeouts
Self._poller.process_timeouts ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/select_ connection.py ", line 366, in Process_timeouts
Timer[' callback '] ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line, in Signal_once
Assert not Self._ready, ' _callbackresult is already set '
Assertionerror: _callbackresult was already set
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
Self.run ()
File "center.py", line, in run
Response = Self.func (Self.num)
File "center.py", line Wu, in Request
Self.connection.process_data_events ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line 710, in Process_data_events
Self._flush_output (Timer.is_ready, Common_terminator)
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line 456, in _flush_output
Self._impl.ioloop.process_timeouts ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/select_ connection.py ", line 224, in Process_timeouts
Self._poller.process_timeouts ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/select_ connection.py ", line 366, in Process_timeouts
Timer[' callback '] ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line, in Signal_once
Assert not Self._ready, ' _callbackresult is already set '
Assertionerror: _callbackresult was already set
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
Self.run ()
File "center.py", line, in run
Response = Self.func (Self.num)
File "center.py", line Wu, in Request
Self.connection.process_data_events ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line 710, in Process_data_events
Self._flush_output (Timer.is_ready, Common_terminator)
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line 456, in _flush_output
Self._impl.ioloop.process_timeouts ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/select_ connection.py ", line 224, in Process_timeouts
Self._poller.process_timeouts ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/select_ connection.py ", line 366, in Process_timeouts
Timer[' callback '] ()
File "/home/appleyuchi/.virtualenvs/python2.7/local/lib/python2.7/site-packages/pika/adapters/blocking_ connection.py ", line, in Signal_once
Assert not Self._ready, ' _callbackresult is already set '
Assertionerror: _callbackresult was already set
Solution:
Once a thread is open once, do not put n threads all over again and join again