From owner-freebsd-questions@FreeBSD.ORG Wed Mar 5 11:01:12 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 39E0D1065670 for ; Wed, 5 Mar 2008 11:01:12 +0000 (UTC) (envelope-from ginganutz@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 09E0D8FC1A for ; Wed, 5 Mar 2008 11:01:11 +0000 (UTC) (envelope-from ginganutz@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1532495waf.3 for ; Wed, 05 Mar 2008 03:01:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xtufrW7PZz2gv9tyuUJ9Ps1jUBNKLRZIH5WsMZZukxM=; b=ec/iHbVax/S5OoXpfauIp/zysFBOMRjj9tL6eRytX2bPCLGZo21yHHuhqEdXco09uAmEEWniYb5EVtdfaxKE3LibPnmIKKSfAWTLtpXMo6OHUmD+alICmi9+Su0E4xuS54OwOEYrVOp/Et9MDCNHOWkvTCOwnIBuoO0IreeIZl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i2KUcamKQdnvO03EOqLyHFpWH3Ihi4Xa5/31W2F3+bzn01acyvEyXCX1KdLjlevgNt9OqjTzcCpaa/HwBI5VaDZzorFOeyEIxuw3YOXZktJh0FeP/+oSMh7vO/NfI/wDeho2iUXCHr6QVU7BWsczHnDzDRMvypzQK8DRJX/hhcc= Received: by 10.114.39.16 with SMTP id m16mr4039106wam.146.1204714871692; Wed, 05 Mar 2008 03:01:11 -0800 (PST) Received: by 10.114.57.7 with HTTP; Wed, 5 Mar 2008 03:01:11 -0800 (PST) Message-ID: <101567640803050301m278c7423qaf6d55f77a52786e@mail.gmail.com> Date: Wed, 5 Mar 2008 11:01:11 +0000 From: "Simon Street" To: freebsd-questions@freebsd.org In-Reply-To: <101567640802270431h69e443c9n63090e4b260f3a7b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <101567640802270431h69e443c9n63090e4b260f3a7b@mail.gmail.com> 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 11:01:12 -0000 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