Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2008 11:01:11 +0000
From:      "Simon Street" <ginganutz@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?
Message-ID:  <101567640803050301m278c7423qaf6d55f77a52786e@mail.gmail.com>
In-Reply-To: <101567640802270431h69e443c9n63090e4b260f3a7b@mail.gmail.com>
References:  <101567640802270431h69e443c9n63090e4b260f3a7b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?101567640803050301m278c7423qaf6d55f77a52786e>