Python with many threads

Ott Köstner ottk at
Tue Dec 16 05:59:31 PST 2008

Hello list,

Trying to run Grub Next Generation Python Client ( 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/", line 486, in __bootstrap_inner

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,

Mõõda oma inteneti kiirust / Test Your Internet speed

More information about the freebsd-questions mailing list