Re: maximum number of threads



Gabriel Genellina wrote:

Simply you can't, as you can't have 10000 open files at once. Computer
resources are not infinite.

sure but *how* fast they run out is the issue here

Do you really need so many threads?

I might be able to do with a few less but I still need many.

I have done a quick test.

on WinXP I can create 1030 threads
on Fedora Core 6 I can only create 301 (both python2.4 and 2.5)

now the 301 is rather low I'd say.

Paul
.



Relevant Pages

  • Re: maximum number of threads
    ... Gabriel Genellina wrote: ... as you can't have 10000 open files at once. ... resources are not infinite. ...
    (comp.lang.python)
  • Re: Buying local isnt always better for the environment
    ... So it's finite greed vs. infinite resources. ... There is no lack of energy. ... (just don't ask about the vector or tensor calculus, ...
    (uk.people.support.depression)
  • Re: garbage collection of open resources
    ... > Eventually you might run out of resources. ... > The GC does dispose of all objects eventually, and even if you set the ... >>Everything I have read suggests that if I open files or database ... >>Obviously I know that there are several reasons for closing the resources ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: tight credit market my fat patootie
    ... there are only a finite amount of resources to make things out of. ... music may be infinite, the resources and methods to distribute hard ... "current" method of music distribution is realized. ...
    (misc.writing)
  • Re: tight credit market my fat patootie
    ... there are only a finite amount of resources to make things out of. ... efficient economies ever developed. ... music may be infinite, the resources and methods to distribute hard ... "current" method of music distribution is realized. ...
    (misc.writing)