FreeBSD 6.2+PHP+700 sites = DNS Issues?

Simon Street ginganutz at gmail.com
Wed Mar 5 11:01:12 UTC 2008


In addition i've attempted adding:

kern.maxfilesperproc=65536
kern.ipc.somaxconn=1024
kern.ipc.maxsockbuf=2097152
kern.maxprocperuid=9000
to sysctl.conf

kern.maxproc=10240
kern.maxfiles=65536
kern.ipc.nmbclusters=32768
kern.ipc.maxsockets=51200
to loader.conf

I've also disabled ipv6 in the kernel (can't remember where I saw this
suggestion)

Post this I've recompiled apache with:
[root@~]# export CFLAGS="-DFD_SETSIZE=12000"
[root@~]# export CXX_FLAGS="-DFD_SETSIZE=12000"
[root@~]# /scripts/easyapache (this is the cPanel script that auto
regens apache/php/addons)

I'm having a hard time believing that this issue only plagues FreeBSD
and is unfixable!

Anyone got any ideas on what else I can change?

Thanks,
Simon


More information about the freebsd-questions mailing list