From owner-freebsd-questions@FreeBSD.ORG Wed Mar 5 14:32:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA6121065706 for ; Wed, 5 Mar 2008 14:32:49 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8E4268FC12 for ; Wed, 5 Mar 2008 14:32:49 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id A73881CE83; Wed, 5 Mar 2008 05:32:48 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 5 Mar 2008 15:32:46 +0100 User-Agent: KMail/1.9.7 References: <101567640802270431h69e443c9n63090e4b260f3a7b@mail.gmail.com> <101567640803050301m278c7423qaf6d55f77a52786e@mail.gmail.com> In-Reply-To: <101567640803050301m278c7423qaf6d55f77a52786e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803051532.46736.fbsd.questions@rachie.is-a-geek.net> Cc: Simon Street Subject: Re: FreeBSD 6.2+PHP+700 sites = DNS Issues? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 14:32:49 -0000 On Wednesday 05 March 2008 12:01:11 Simon Street wrote: > 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? Well, you're probably not reaching any CPanel users, so how about posting the offending script. Companies like to blame others, lawyers tell them to. What is this script doing anyway, that it needs 12000 open file descriptors? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.