All pastes #171059 Raw Edit

sysctl.conf

public text v1 · immutable
·published 2006-09-15 00:16 UTC
rendered paste body
/etc/sysctl.conf :

security.bsd.see_other_uids=0

net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1

#kern.ipc.shm=1
#kern.ipc.somaxconn=8192
#kern.ipc.nmbclusters=98304
#kern.maxfiles=20000

#net.inet.ip.portrange.first=20000
#kern.maxvnodes=110000


httpd.conf :

2006-09-13

ServerLimit 3000

<IfModule prefork.c>
StartServers         100
MinSpareServers      100
MaxSpareServers      1000
MaxClients           3000
MaxRequestsPerChild  0
</IfModule>


my.cnf :

[mysqld]
log-bin
set-variable=max_connections=3000


mount show : 

navy4# mount
/dev/ad4s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad4s1h on /home (ufs, local, noatime, soft-updates)
/dev/ad4s1d on /tmp (ufs, local, noexec, nosuid, soft-updates)
/dev/ad4s1g on /usr (ufs, local, soft-updates)
/dev/ad4s1f on /var (ufs, local, soft-updates)
/dev/ad4s1e on /var/tmp (ufs, local, noexec, nosuid, soft-updates)
devfs on /var/named/dev (devfs, local)

The rest is generic.