[OmniOS-discuss] [developer] How to release reserved TCP port binding in BOUND state

Marcel Telka marcel at telka.sk
Tue Nov 4 20:02:55 UTC 2014


On Tue, Nov 04, 2014 at 01:32:34PM -0500, Youzhong Yang via illumos-developer wrote:
> Hi Marcel,
> 
> I really appreciate your input. We will try to find out what is wrong in
> connmgr_get() which caused port leaking.
> 
> In the meantime, we want to change clnt_cots_do_bindresvport from 1 to 0
> through mdb so that new connection will start using non-reserved port,
> 
> http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/rpc/clnt_cots.c#508
> 
> Will dynamically changing this variable have any side effect?

I do not think it will cause any troubles when changed dynamically.
IOW, it might help you :-).

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel at jabber.sk |
+-------------------------------------------+


More information about the OmniOS-discuss mailing list