From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 10:30:54 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74B451065670 for ; Fri, 7 Mar 2008 10:30:54 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.180]) by mx1.freebsd.org (Postfix) with ESMTP id 03E628FC15 for ; Fri, 7 Mar 2008 10:30:53 +0000 (UTC) (envelope-from robin@reportlab.com) Received: by el-out-1112.google.com with SMTP id v27so463804ele.12 for ; Fri, 07 Mar 2008 02:30:53 -0800 (PST) Received: by 10.150.200.8 with SMTP id x8mr404770ybf.11.1204885853024; Fri, 07 Mar 2008 02:30:53 -0800 (PST) Received: from ?192.168.0.3? ( [217.196.247.135]) by mx.google.com with ESMTPS id b35sm18797081ugd.33.2008.03.07.02.30.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Mar 2008 02:30:52 -0800 (PST) Message-ID: <47D11958.7020109@chamonix.reportlab.co.uk> Date: Fri, 07 Mar 2008 10:30:48 +0000 From: Robin Becker User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: apache/fastcgi/django kern.maxfiles 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: Fri, 07 Mar 2008 10:30:54 -0000 I'm having a problem related to a freebsd 6.x apache 2.0.x+mod_fastcgi --> django+flup forked server. Basically under heavy load the system seems to reach some kind of limit on the number of open files ie I see messages related to user 80 & xxxx(the django server uid) having reached kern.maxfiles. Has anyone got any experience with this kind of setup and how to decide what the fault really is. In particular since the web can always out request any particular limit is there some way to make apache start refusing gracefully before things go critical. -- Robin Becker