Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: rshd running out of privileged ports



> -----Original Message-----
> From: Koryn Grant [mailto:email@hidden]
> Sent: Thursday, March 04, 2004 2:48 PM
> To: Mark Armstrong
> Subject: RE: rshd running out of privileged ports
>
>
> On Thu, 4 Mar 2004, Mark Armstrong wrote:
>
> > > On Thu, 4 Mar 2004, Mark Armstrong wrote:
> > >
> > > > > Well, there's only 1024 reserved ports, and if rsh uses TCP, then
> > > > > they have to sit in CLOSE_WAIT for two minutes before
> being reused.
> > >
> > > Last year I was in a similar situation (though with unprivileged ports
> > > rather than privileged) and the work-around I used was to reduce the
> > > CLOSE_WAIT time via the sysctl interface:
> > >
> >
> > Which parameters did you change?
>
> I'm currently at work (and my Mac OS X boxen are at home) so I can't check
> this, but I believe the one you want is net.inet.tcp.msl. The
> units appear
> to be milliseconds.
>
> Cheers,
> Koryn

Hi Koryn

I checked my Mac box and it was set to 600. One of our FreeBsd boxes has it
set to 30000. Based on the timing patterns, the Mac must be in tenths of
seconds (and the FreeBsd is in milliseconds). I turned it down to 100 and
it is working great!

Thank you very much,
Mark
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.