|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: performance issues
From: Wietse Venema (wietse
porcupine.org)Date: Tue Jun 06 2000 - 11:50:34 CDT
- Next message: Greg A. Woods: "Re: pop-before-smtp (was Re: FreeInet and checking mail?)"
- Next in thread: Marco d'Itri: "Re: performance issues"
- Reply: LaMont Jones: "Re: performance issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brad Knowles:
> Hmm.... Actually, it's not kernel tweaking per se. It's
> changing the sysctl(8) parameters for net.inet.ip.portrange.first
> (currently at 1024) and net.inet.ip.portrange.last (currently at
> 5000).
>
> It's nice that I can change these things without having to
> rebuild the kernel or reboot, but it's a PITA that they are set so
> low by default. Sigh....
>
> I'm thinking of changing these to 7000 and 65535, respectively.
> Does anyone else on this list have experience with changing these
> parameters, and could offer some advice?
I see no good reason to change the lowest port from 1024, which is
the lowest unprivileged port number on UNIX.
On the other hand, Solaris has used {tcp,udp}_smallest_anon_port=32768
and {tcp,udp}_largest_anon_port=65535 for ages, so you can expect
such ports can talk to remote sites or else they would have changed
that (to find out, use: ndd /dev/tcp tcp_largest_anon_port etc.).
Wietse
- Next message: Greg A. Woods: "Re: pop-before-smtp (was Re: FreeInet and checking mail?)"
- Next in thread: Marco d'Itri: "Re: performance issues"
- Reply: LaMont Jones: "Re: performance issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]