add /etc/sysctl.conf
This commit is contained in:
parent
2e5e6a4eb7
commit
cd1d1a031f
@ -31,6 +31,9 @@ ln -s /tmp/var /var
|
|||||||
rm -rf /var.2
|
rm -rf /var.2
|
||||||
mkdir -p /tmp/var/run /tmp/var/log /tmp/var/spool
|
mkdir -p /tmp/var/run /tmp/var/log /tmp/var/spool
|
||||||
|
|
||||||
|
# sysctl.conf
|
||||||
|
sysctl -q -p
|
||||||
|
|
||||||
# start syslogd
|
# start syslogd
|
||||||
syslogd -C256
|
syslogd -C256
|
||||||
|
|
||||||
|
10
fs-add/etc/sysctl.conf
Normal file
10
fs-add/etc/sysctl.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
vm.swappiness = 10
|
||||||
|
vm.lowmem_reserve_ratio = 64 64 8
|
||||||
|
vm.vfs_cache_pressure = 20
|
||||||
|
vm.dirty_ratio = 40
|
||||||
|
|
||||||
|
net.core.rmem_max=524288
|
||||||
|
net.core.wmem_max=524288
|
||||||
|
net.ipv4.tcp_rmem=4096 65536 65536
|
||||||
|
net.ipv4.tcp_wmem=4096 65536 65536
|
||||||
|
|
Loading…
Reference in New Issue
Block a user