Hi Igor

Yeah, I took but I have to understand what I am seeing :) After your reply, I 
have launched a ab benchmark with some values and I have a related question.

Srv     Child Server number - generation, what does it mean?

Keep in mind that my first objective is to find how to monitor, how can I say?, 
the "current clients" in some point in time vs Max Clients and finally see when 
Apache reach this limit.

With mod-status Im seeing request/sec, idle and busy workers, the Srv number 
(don't understand that, is related with MaxPerChild?) etc. But still does not 
know how monitor "current clients". 

My excuses if I am writing a lot of stupid questions but it is important to 
have cristal clear this point.

Thanks


        Rubén Ortiz
Administrador de Sistemas 
Edificio nova gran via 
Av. Gran Vía, 16-20, 2ª planta | 08902 L'Hospitalet de Llobregat (Barcelona) 
T 902 999 343 | F 902 999 341 
www.grupoitnet.com 
-----Mensaje original-----
De: Igor Galić [mailto:i.ga...@brainsware.org] 
Enviado el: jueves, 18 de noviembre de 2010 16:24
Para: users@httpd.apache.org
Asunto: Re: [us...@httpd] Easiest way to monitoring when Apache reach 
MaxClients.


----- "Rubén Ortiz" <ruben.or...@itnet.es> wrote:

> Hi all
> 
> It is my very first email to community asking help and advices to
> Apache
> system administration. I have worked with Apache since 2004 on CentOS
> distribution most of the time.
> 
> Currently I am worried about MaxClients. I work today with Apache
> 2.2.16
> with prefork and KeepAlives disabled. I can't explain that, I should
> do some
> test to verify Apache has more performance with KeepAlives on , it is
> something historic I could say. I know there are differences between
> prefork
> and mpm but I think it is a high level for me today.
> 
> Anyway I am working to discover how discover when Apache reach
> MaxClients.
> And I having different sensations depending which command I execute on
> bash.

please take a look at mod_status


> Which I try to explain is:
> 
> -bash-3.2# netstat -anp |grep :80|wc -l
> 2
> 
> Connections (whatever type of connections) against port 80. However,
> one
> thing is the connections and other the processes of Apache:
> 
> -bash-3.2# ps axuf |grep httpd
> root     15427  0.0  0.0   5184   696 pts/0    S+   12:48   0:00     
> \_
> grep httpd
> root     17477  0.0  1.1  45216  8568 ?        Ss   11:51   0:00
> /usr/sbin/httpd
> apache   17480  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17481  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17482  0.0  0.5  45216  4536 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17483  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17484  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17485  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17486  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> apache   17487  0.0  0.5  45216  4540 ?        S    11:51   0:00  \_
> /usr/sbin/httpd
> 
> 
> And then my doubt. In working environment, to be able to control
> "Clients"
> of Apache, to avoid or maintain a monitoring of MaxClients reached,
> how to
> monitor? Processes or Connections? I think will be something more
> closer to
> processes, using ps, than something related with Tcp connections and
> netstat.
> 
> Well, any advices will be welcome.
> 
> Thanks!
> 
> 
> 
> 
> 
> 
> 
> Rubén Ortiz
> Administrador de Sistemas 
> Edificio nova gran via 
> Av. Gran Vía, 16-20, 2ª planta | 08902 L'Hospitalet de Llobregat
> (Barcelona)
> 
> T 902 999 343 | F 902 999 341 
> www.grupoitnet.com 
> 
> 
> 
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>    "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to