|
Posted by xhoster on June 2, 2008, 1:03 pm
Please log in for more thread options
> Hi list,
> i'm writing a daemon in perl for exchanging data from a big quantity
> of machines (over 100000) over the network and I use the select()
> function in order to select the correct file handler (to read or
> write).
>
> All is fine when the number of clients is <100, but when arrives the
> 101th client the connection with this is dropped.
What do you mean "dropped"? What return value or error message are you
getting from what piece of code?
> Is this a limit of the IO::Select?
Not inherently. Maybe it is limit of the underlying structures which
IO::Select must interact with on some OSes. On Unix I have no problem
getting more than 300 socket connections. On Windows I can only get 80.
Can you dummy up some kind of short simple program that replicates
the problem (with a dummy driver to take the other end of the connections)
that you can post here so we can play with it?
Xho
--
-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.
|