netdev
[Top] [All Lists]

Re: Opening more than 65000 sockets

To: yanfali@xxxxxxxxx
Subject: Re: Opening more than 65000 sockets
From: "Nivedita Singhvi" <nivedita@xxxxxxxxxx>
Date: Thu, 28 Mar 2002 00:31:29 -0800
Cc: netdev@xxxxxxxxxxx
Importance: Normal
Sender: owner-netdev@xxxxxxxxxxx
Sensitivity:


>> I start another client on System A and tell it to connect
>> to 10.10.14.197 port 443.  This client is also told to
>> open 50K sockets.  At ~12K sockets it fails.

> What fails? Is it the socket() call? What error does it fail
> with? For instance,  is it failing with a ENOBUFS or
> ENOMEM? EAGAIN, ETIMEDOUT? What kind of socket: TCP or UDP?
> (TCP, I assume, but neednt be). Have you bumped up limits
> like /proc/sys/fs/inode_max, file-max? System wide, ulimit?

You dont mention which kernel version youre using, but on a
recent kernel you wont need inode-max, think that went away
sometime in 2.4.

thanks,
Nivedita




<Prev in Thread] Current Thread [Next in Thread>