Lee Leahu wrote:
> However, I have encountered the following error after I have started my 381st
> thread:
This number (actually, ~380) is suspicious when seen with threads
because it almost always means running out of process address space. As
threads are part of a single process, and that pr
Hi List,
> > I am running into a problem where asyncore is through a filedescriptor
> > error if I try to launch more that 1023 connections:
> >
> > Traceback (most recent call last):
> > File "./test.py", line 46, in ?
> > asyncore.loop()
> > File "/us
Lee Leahu wrote:
> > Yes. You don't need one thread per connection:
> > http://docs.python.org/lib/module-asyncore.html
>
> I am running into a problem where asyncore is through a filedescriptor
> error if I try to launch more that 1023 connections:
>
> Tracebac
Lee Leahu wrote:
> I am trying to write a simple threaded application which will
> simulate 1000 connections to a remote service in order to
> stress test" that the remote service can handle that many
> connections.
That shouldn't be a problem on a modern OS, but there are
still quite a few not
Hi List,
> >I am trying to write a simple threaded application which will simulate 1000
> >connections to a remote service in order to "stress test" that the remote
> >service can handle that many connections.
> [...]
> >Is there a way to accomplish what I am trying to do, perhaps in a more
> >
Lee Leahu:
>I am trying to write a simple threaded application which will simulate 1000
>connections to a remote service in order to "stress test" that the remote
>service can handle that many connections.
[...]
>Is there a way to accomplish what I am trying to do, perhaps in a more
>memory-frie