Re: backlog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/1/07, Bj <bjkhanz@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux