[lug] setting # of tcp connections
Erick Bodine
erick at xpedite.com
Wed Dec 6 12:49:39 MST 2000
I think that I can avoid any heavy kernel hacking by doing the following: /sbin/sysctl -w net.ipv4.ip_local_port_range=32768-61000
The reason why:: I was able to convince the powers that be where I work that Linux would be a better platform for fax broadcast business than SCO OpenServer. (If anyone out there has used SCO for anything industrial they know it would not take much
convincing, never mind that $600x10000+ is infinitely more expensive than $0x10000+) Unfortunately due to API limitations on Dialogic (Intel company) telephony boards, we have to use an inordinate number of socket connections in the application that
actually makes the calls to delivery the faxes. Thus my question.
--ERick Bodine
John Hernandez wrote:
> 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
> -----------------------------------------------------------------------
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20001206/dd5d74b9/attachment.html>
More information about the LUG
mailing list