[lug] setting # of tcp connections
John Hernandez
John.Hernandez at noaa.gov
Tue Dec 5 17:11:00 MST 2000
You may be able to gleen something from
/usr/src/linux/include/linux/socket.h
Also try the manual pages for listen(2) and tcp(7)
socket.h defines stuff like:
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 128
Is that what you're looking for? I'm no kernel hack, but I wouldn't
assume that it's helpful (or even safe) to increase this parameter
without doing some research first.
Erick Bodine wrote:
>
>
> Does anyone out there know if there is a way to configure the number
> of socket (tcp) connections on a Linux box running RH 6.2? I am not
> terribly familliar w. how sockets work on Linux but I was able to
> change this parameter in SCO; which thankfully, we are moving away
> from. I thought that I might be able to use sysctl to configure
> something in /proc/sys at runtime but nothing looks like it might do
> the trick.
>
> --Erick Bodine
--
John Hernandez, Network Engineer --------------------------------------
US Department of Commerce tel: 303-497-6392
NOAA/OAR - Mailstop R/OM12 fax: 303-497-6005
325 Broadway e-mail: John.Hernandez at noaa.gov
Boulder, CO 80303 http://boulder.noaa.gov
-----------------------------------------------------------------------
More information about the LUG
mailing list