Greetings Y'all, I've been banging my head against a wall about this for a while and was wondering if any of you Solaris/OpenSolaris folks could lend a hand... I'm trying to set some TCP tuning kernel variables on an OpenSolaris 2009.06 box and am having trouble getting them to persist across reboots. So, I can set my four variables on the command line, no problem:
r...@mybox:~# ndd -set /dev/tcp tcp_max_buf 4194304 r...@mybox:~# ndd -set /dev/tcp tcp_cwnd_max 2097152 r...@mybox:~# ndd -set /dev/tcp tcp_xmit_hiwat 655360 r...@mybox:~# ndd -set /dev/tcp tcp_recv_hiwat 655360 r...@mybox:~# ndd /dev/tcp tcp_xmit_hiwat 655360 r...@mybox:~# ndd /dev/tcp tcp_recv_hiwat 655360 r...@mybox:~# ndd /dev/tcp tcp_max_buf 4194304 r...@mybox:~# ndd /dev/tcp tcp_cwnd_max 2097152 Looks good, and does what I need it to. So, after googling around I find that such things can probably go into the /etc/system file such that they get set on the next boot automatically. But no matter what syntax I try, it doesn't work. From the documentation it looks like I need to do this in /etc/system to make it persist across reboots: set tcp:tcp_cwnd_max = 2097152 set tcp:tcp_xmit_hiwat = 655360 set tcp:tcp_cwnd_max = 2097152 set tcp:tcp_max_buf = 4194304 but it doesn't seem to catch on reboot. Anyone have any ideas as to where I'm going wrong? I've asked around campus here and a bunch of the local Solaris admins are telling me just to put the ndd commands in a /etc/init.d script, which works, but it seems that /etc/system should work too, unless I missed something saying that /etc/system is no longer supported or something...? Thanks for any insight!! -erich -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org