Robin Haswell wrote: > Hey there > > I'm doing some threading in python with Python 2.3 and 2.4 on Ubuntu and > Debian machines, and I've noticed that if I open a lot of threads (say, > 50), I get lots of python processes with individual PIDs, which consume a > disproportionate amount of CPU. Does this mean that Python is using the > dummy_thread module by accident? And is there a realistic limitation to > the number of threads I can do?
Though I can not answer your question, I have however a similar situation here, on debian sarge. I have a simple daemon that runs one thread, and I noticed that on our sarges with kernel 2.4 my daemon creates 4 processes, on the ones with kernel 2.6, only one process. btw, I use the thread module. best regards, Yves > Cheers > > -Rob -- http://mail.python.org/mailman/listinfo/python-list