Re: Hitting a maximum number of SOCKET connections?
by Anders Bostrom other posts by this author
Nov 4 2009 4:51AM messages near this date
view in the new Beta List Site
RE: Hitting a maximum number of SOCKET connections?
|
RE: Hitting a maximum number of SOCKET connections?
I have installed 5.10, but the problem still occures.
The demo in http://www.mollehem.se/bilder/socketDemo.zip illustrates it.
Any clue?
Thanks
Anders
Brian Raven skrev:
> Anders Boström <> wrote:
>
> > Hej,
> > I have a server implemented in Perl.
> > It handles multiple connection with the use of "IO::Select".
> >
> > All work well with the first 63 concurrent clients, but if client 64
> > and upwards sends messages, they will not be seen on the server as
> > long as the other 63 client are connected to the server. Is there a
> > limit that I have hit, or whats going on?
> > I have tested it on Win XP, and Win Server 2003.
> >
> > I have made a small demo program (based on a tutorial snippet I
> > found) that illustrates the problem.
> > http://www.mollehem.se/bilder/socketDemo.zip
> > It consist of one server and one client.
> > The client opens 100 connections. Then it starts sending "ping" on
> > each connection. 1-63 can be seen on the server side, but not 64-100.
> > Then the client starts closing the connections, and for each closed
> > connection, one more ping is seen on the server!
> >
> > I would be very happy for an explanation!
> >
>
> 64 is the default limit on the number of file handles that you can call select with in win
32. According to the doco ("ActivePerl 5.10 Change Log"), this was increased to 2000 for bui
ld 1001, so you might want to upgrade your Perl.
>
> HTH
>
>
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Anders Bostrom
Brian Raven
Anders Bostrom
Brian Raven
Anders Bostrom
|