From owner-freebsd-stable Tue May 22 2:37:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dns.comrax.com (dns.comrax.com [194.90.246.124]) by hub.freebsd.org (Postfix) with ESMTP id BCA4E37B422 for ; Tue, 22 May 2001 02:37:16 -0700 (PDT) (envelope-from noor@comrax.com) Received: from NOOR (unknown [212.117.152.115]) by dns.comrax.com (Postfix) with SMTP id B62B072505; Tue, 22 May 2001 12:37:10 +0300 (IDT) From: "Noor Dawod" To: "FreeBSD-STABLE Mailing List" Subject: Problems with multiple connections Date: Tue, 22 May 2001 12:36:37 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I hope this list can help me. Our company bought a brand new P-III 933Mhz 1GB server few months ago for our Web and Mail services. We run FreeBSD 4.2-STABLE (Jan 17 2001). The Web server is Apache 1.3.19 with PHP 4.0.4pl1. Recently, and after hosting a heavily accessed Web site on it, the server is showing signs of "tiredness" by not accepting new connections to the Web server. At this time, I can see that the CPU usage (idle) is more than 90%, and that's why I am almost convinced that it's a lack of connection resources in the FreeBSD system that is causing the problem. Apache is configured to run a maximum of 15 clients concurrently, and each of them can handle up to 200 connections. That's a 3000 connections limit. I wanted to ask you whether it's possible to see how many active connections (keep-alive included) are being used by the OS and is there a way to know what's the maximum limit allowed in the system? I suspect it's a system control variable, but I couldn't find it after checking the list of I got from 'sysctl -a' Thank you for your help, Noor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message