Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 83855 invoked from network); 1 Oct 2007 15:04:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 15:04:09 -0000 Received: (qmail 39911 invoked by uid 500); 1 Oct 2007 15:03:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 39897 invoked by uid 500); 1 Oct 2007 15:03:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 39886 invoked by uid 99); 1 Oct 2007 15:03:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:03:49 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.41.216.135] (HELO mx2.post.ch) (194.41.216.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 15:03:51 +0000 Date: Mon, 1 Oct 2007 17:02:07 +0200 From: Christian Folini To: users@httpd.apache.org Message-ID: <20071001150156.GA25596@w032y7.pnet.ch> References: <20071001152222.2b898f09@grimnir> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20071001152222.2b898f09@grimnir> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] backlog On 10/1/07, Bj wrote: > Hi, > > Does someone know how to get the number of requests pending in the > backlog ? I didn't find interesting information in /proc/... By hazard, I have been playing around with this as well today. On my debian sarge(!) host, I can get them via the UID and inode column in netstat. It remains 0 as long as apache has not accepted the connection. At least, this is my interpretation. Corrections welcome. netstat -tne (that is: tcp, numerical, extended) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode ... tcp 0 0 10.226.0.24:80 10.226.0.226:56418 ESTABLISHED0 0 tcp 0 0 10.226.0.24:80 10.226.0.226:56416 ESTABLISHED0 0 tcp 0 0 10.226.0.24:80 10.226.0.226:56417 ESTABLISHED0 0 tcp 0 0 10.226.0.24:80 10.226.0.226:56410 ESTABLISHED33 8505066 tcp 0 0 10.226.0.24:80 10.226.0.226:56411 ESTABLISHED33 8505069 tcp 0 0 10.226.0.24:80 10.226.0.226:56408 ESTABLISHED33 8505047 tcp 0 0 10.226.0.24:80 10.226.0.226:56409 ESTABLISHED33 8505051 tcp 0 0 10.226.0.24:80 10.226.0.226:56414 ESTABLISHED0 0 tcp 0 0 10.226.0.24:80 10.226.0.226:56415 ESTABLISHED0 0 tcp 0 0 10.226.0.24:80 10.226.0.226:56412 ESTABLISHED33 8505074 tcp 0 0 10.226.0.24:80 10.226.0.226:56413 ESTABLISHED33 8505075 tcp 0 0 10.226.0.24:80 10.226.0.226:56406 ESTABLISHED33 8505046 tcp 0 0 10.226.0.24:80 10.226.0.226:56407 ESTABLISHED33 8505048 tcp 0 0 10.226.0.24:80 10.226.0.226:56404 ESTABLISHED33 8505044 tcp 0 0 10.226.0.24:80 10.226.0.226:56405 ESTABLISHED33 8505045 ... regs, Christian --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org