Python with many threads
Ott Köstner
ottk at zzz.ee
Tue Dec 16 05:59:31 PST 2008
Hello list,
Trying to run Grub Next Generation Python Client (http://grub.org/?q=en/node/204) on my FreeDSD 7.1 box with as many
threads as possible. Python version is 2.5.2.
The question is, what limits the number of concurrent threads I can run? I have free memory and cpu, but starting from around 50 threads, Python starts to give random errors like this:
Exception in thread 30:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
The number of errors increases rapidly with even bigger number of threads. Is there any way I can increase the maximum number of Python threads?
With best regards,
O.K.
--
Mõõda oma inteneti kiirust / Test Your Internet speed
http://speedtest.zzz.ee/
More information about the freebsd-questions
mailing list