Re: MAXFD is always 1024

Hay Tran The <thecunghay-/[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <[email protected]>
Hi Henrik,
 
Thank you very much for your valued help. I don't have problem of "ran out of ephemeral ports" anymore. But Polysrv stop before the test come to complete. The cause is that time out because of idle.
 
Attached file is detail of my test. I am using Polymix-4.
 
Best Regards
Quang


Henrik Nordstrom <[email protected]> Ä~Qã viết: 
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


__________________________________________________
Bạn Có Sử Dụng Yahoo! Không?
Má»~Gt má»~Oi vì thư rác?  Yahoo! Thư có chương trình bảo vá»~G chá»~Qng thư rác hữu hiá»~Gu nhất trên mạng 
http://vn.mail.yahoo.com
CacheTest.doc (application/msword, 28 KB) - not displayed
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.