httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Folini <christian.fol...@post.ch>
Subject Re: [users@httpd] backlog
Date Mon, 01 Oct 2007 15:02:07 GMT
On 10/1/07, Bj <bjkhanz@gmail.com> 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message