Hi, I am running my process as root. When I do a ulimit it says "unlimited" However when I run my program, after 1400 (or so) sockets open, I get a "too many fiule open error" when I try to accept a new socket connection or create a new outbound connection. Please advise Thanks Lee --- Shirley Ma <xma@us.ibm.com> wrote: > > There is limitation of max open files per process be > default it is 1024. > You can change this value by ulimit -n. There is > also a max files open in > the system 8192, you can also change this value by > "sysctl -w > fs.file-max=8192. > > > Thanks > Shirley Ma > > Linux Technology Center Networking Group > 15450 SW Koll Parkway > Beaverton, OR 97006-6063 > Phone: (503) 578-7638 > FAX: (503) 578-3228 > > > > Lee Chin <leechinus@yahoo.com>@vger.kernel.org on > 05/16/2001 04:11:59 PM > > Sent by: linux-net-owner@vger.kernel.org > > > To: linux-net@vger.kernel.org > cc: > Subject: maximum sockets > > > > Hi, > Is there a limitation on the number of sockets my > program can have open? At around 1300 sockets open, > I > get a "too many files open" error. > > Thanks > Lee > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great > prices > http://auctions.yahoo.com/ > - > : send the line > "unsubscribe linux-net" in > the body of a message to majordomo@vger.kernel.org > > > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org