On May 30, 9:42 am, Mike <[EMAIL PROTECTED]> wrote:
> On May 30, 9:16 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Thu, 29 May 2008 12:01:30 -0700 (PDT), Mike <[EMAIL PROTECTED]>
> > declaimed the following in comp.lang.python:
>
> > > I observed, that every thread reserved some me
On May 30, 9:16 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Thu, 29 May 2008 12:01:30 -0700 (PDT), Mike <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
> > I observed, that every thread reserved some memory, and after exit
> > thread doesn't freed it. When i leaved my
Hi,
I'm writing client-server application in Python. It's monitoring
system, where server listen and waits for TCP connections, and every
connection takes own thread. Every thread puts data from clients to
Queue and exits. Then there is one DB loader thread, which loads all
data from Queue to MySQ
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
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.
However, I have encountered the following error after I have started my 381st
thread:
--
10 matches
Mail list logo