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 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org