Re: Number of concurrent connections to apache

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

 



I used below command to get the number of established sessions on the server.

netstat -an|grep x.x.x.x:80|grep ESTABLISHED

To my surprise, it gave me total number as 728. 128 connections more what I have set up in my Apache. In apache I have set up max clients as 600. I want to know what is this extra 128 connections? How it is possible when Apache is configured to spawn only 600 child?




On Sat, Dec 7, 2013 at 3:32 AM, tejas sarade <tejas.a.sarade@xxxxxxxxx> wrote:
You can use netstat command to see the current concurrent connections to server.
http://linuxers.org/howto/how-find-out-active-connections-or-which-ports-are-openlistening-linux


On Fri, Dec 6, 2013 at 3:01 PM, Kumar Bijayant <bijayant.mws@xxxxxxxxx> wrote:
Hello All,

The below setting is configured in one of our apache  webserver

  ServerLimit          600
  StartServers         5
  MinSpareServers      5
  MaxSpareServers      15
  MaxClients           600


There are 2 virtual servers are hosted on this instance. So as per my understanding this max connections at any point of time to this apache will be 600 and this will be shared by both virtual webserver?

How could I know that how many current connections are open or how many unique requests this apache instance is handling? I know through server-status we can achieve this kind of info but sadly that option is not enabled. 

Is there any other way, like through some command if I can achieve this? I googled for this answer but nothing specific I could find. So, thought to check it here.

Thanks & Regards,
Bijayant Kumar.



[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