Re: Python threading, and processes

2006-02-08 Thread Yves Glodt
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

Re: Python threading, and processes

2006-02-08 Thread Alex Martelli
Robin Haswell <[EMAIL PROTECTED]> wrote: ... > Cheers for that info. The thread's main tasks are getting webpages > (spidering), the actual amount of processing done in each thread is > minimal - that's why I'm confused by the CPU usage. BTW, spidering is a great use case for async (even-driven

Re: Python threading, and processes

2006-02-08 Thread Robin Haswell
On Wed, 08 Feb 2006 14:24:38 +0100, Diez B. Roggisch wrote: > 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

Re: Python threading, and processes

2006-02-08 Thread Diez B. Roggisch
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. Doe

Python threading, and processes

2006-02-08 Thread Robin Haswell
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 t