SUMMARY: tcp_keepalive_interval

From: Jaewan Kim (jaewan@u1.net)
Date: Thu Nov 16 2000 - 13:09:11 CST


Thank you guys.
After much ado about it, Casper Dik and a few others pointed out that the
variable is not accessible from /etc/system.
I also found that not all tcp module parameters are accessible from
/etc/system.

The reason I prefered /etc/system solution is to have all the driver
configurations consolidated to one place. Also to make the change effective
as early in the boot sequence as possible. The latter did not apply to this
particular parameter since the change does not impact the system behavior
immediately. However, I was putting hme parameters and such in /etc/system
so that I can make a sweeping change.

One more note, there is now a comprehensive document from Sun called
"Solrais Tunable Parameters Reference Manual" published lately, which lists
and describes what can be done in /etc/system. I found that
tcp_keepalive_interval was not one of them.

============================================
Jaewan Kim

856-988-0062 x425 (u1.net)
877-250-8919 (ureach.com fax/voicemail)

On Wed, 15 Nov 2000, Thomas Wardman wrote:

> Jaewan,
>
> It maybe that you need to set an instance for that parameter to work in
> /etc/system.
>
> You could modify S30sysid.net in /etc/rc2.d to add the ndd line...
>
> That might be the only way to set it. This makes perfect sense because
> /etc/system is processed BEFORE any interfaces are plumbed and created. TCP/IP
> may be part of the kernel, but the module isn't loaded until the interfaces are
> plumbed, hence it would fail there.
>
> Hope that helps,
>
> --Thomas
>
> Jaewan Kim wrote:
>
> > Guys,
> >
> > Please read the original question carefully.
> > I was interested in doing it through /etc/system file which has a certain
> > advantages over doing it through rc scripts.
> >
> > I needed to set that as early as possible.
> >
> > ============================================
> > Jaewan Kim
> >
> > 856-988-0062 x425 (u1.net)
> > 877-250-8919 (ureach.com fax/voicemail)
> >
> > On Wed, 15 Nov 2000, Kevin Buterbaugh wrote:
> >
> > >
> > > Jaewan,
> > >
> > > You need to create a script that runs at startup that sets any ndd
> > > parameters you want. You could edit one of the existing startup scripts
> > > like /etc/init.d/inetsvc, but my preference is to create a separate one for
> > > clarity's sake. Hope this helps...
> > >
> > > Kevin Buterbaugh
> > > LifeWay
> > >
> > > "Faster reboots are Microsoft's idea of 'high availability.'" - overheard
> > > at SUPerG
> > >
> > >
> > >
> > >
> > > Sent by: owner-sun-managers@sunmanagers.ececs.uc.edu
> > >
> > >
> > > To: Sun Managers Mailing list <sun-managers@sunmanagers.ececs.uc.edu>
> > > cc:
> > >
> > > Subject: tcp_keepalive_interval
> > >
> > >
> > > Solaris 2.6
> > > tcp_keepalive_interval can be adjusted from its default value of 7200
> > > seconds using
> > > ndd -set /dev/tcp tcp_keepalive_interval <value in milliseconds>
> > > But can I do the same on /etc/system file?
> > >
> > > I tried to put
> > > set tcp:tcp_keepalive_interval=1800000
> > > it keeps failing.
> > >
> > > ============================================
> > > Jaewan Kim
> > >
> > > 856-988-0062 x425 (u1.net)
> > > 877-250-8919 (ureach.com fax/voicemail)
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > S
> > U BEFORE POSTING please READ the FAQ located at
> > N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
> > . and the list POLICY statement located at
> > M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
> > A To submit questions/summaries to this list send your email message to:
> > N sun-managers@sunmanagers.ececs.uc.edu
> > A To unsubscribe from this list please send an email message to:
> > G majordomo@sunmanagers.ececs.uc.edu
> > E and in the BODY type:
> > R unsubscribe sun-managers
> > S Or
> > . unsubscribe sun-managers original@subscription.address
> > L To view an archive of this list please visit:
> > I http://www.latech.edu/sunman.html
> > S
> > T
>

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:23 CDT