On Tue, 08 Feb 2005 23:06:55 -0500, Gautam Bakshi <(E-Mail Removed)> wrote:
| Juha Laiho wrote:
|> whoha <(E-Mail Removed)> said:
|>
|>>I have an update process that uses up all my connections. It then has to
|>>sit and wait for one of them to timeout before it can go on.
|>>
|>> Is this a kernel setting?
|>
|>
|> You can view and set this via the (virtual) file
|> /proc/sys/net/ipv4/ip_local_port_range .
|>
|> At least some systems also have the sysctl command for making changes
|> to things within /proc/sys . To view current settings, either just
|> 'cat' the file, or do:
|> sysctl net.ipv4.ip_local_port_range
|>
|> That'll show which ports are available for connections to remote machines.
|> Change can be done with sysctl or by echoing desired numbers into the file.
|> Any change in /proc/sys is permanent until next reboot; see the manuals
|> for your distribution on how to automate /proc/sys settings during bootup.
|
| Hi When I do that, I get: 1024 4999
|
| What's the logic behind increasing it? if i add like 3 0's to the end
| of each number would that increase network proformence but hurt other
| things(i.e. increase memory usage,etc..)?
|
| I just wanted to ask before I changed anything.
These are lowest & highest available port numbers. Increasing the lower
number is pointless. The maximum possible value is 2^16 - 1 (65535).
--
Reverend Paul Colquhoun, ULC.
http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro