Re: Về Việc: Re: MAXFD is always 1024

Henrik Nordstrom <[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <[email protected]>
On Tue, 16 Aug 2005, Hay Tran The wrote:

> Thanks Henrik, I can increase number of open file by
> adding ulimit before ./configure as you suggested.
>
> Now, I got problem that after running for a while,
> polyctl shows:
>
> "OS probably ran out of ephemeral ports at
> 10.101.0.1:0"

You probably need more IPs available on the client, or perhaps reconfigure 
your OS to allow the use of a wider range of ports when making 
connections. On linux this port range is set in 
/proc/sys/net/ipv4/ip_local_port_range.

In worst case you need approximately as many ports available as number of 
requests per two minutes. To find the number of ports available on your 
client multiply the size of the configured local port range with the 
number of available IPs.

Regards
Henrik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.