Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Caveat | 19 comments | Create New Account
Click here to return to the 'Caveat' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Caveat
Authored by: macubergeek on Jun 22, '06 02:40:13AM

The one caveat I'd add to this hint is this. Before you change kernel parameters, make sure you take note of their original settings. If the settings don't work for you, you would have two options to "roll back" the changes. You could reboot (not a good option for a production server), or you could "reset" the values back to what they were before the changes.

Run the below script to save the default settings:
[script]
#!/bin/sh
file = transfer_rates.txt
sysctl -a | grep kern.ipc.maxsockbuf >> $file
sysctl -a | grep net.inet.tcp.sendspace >> $file
sysctl -a | grep net.inet.tcp.recvspace >> $file
[\script]



[ Reply to This | # ]