You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mahmood Naderan <nt...@yahoo.com.INVALID> on 2020/07/08 09:42:01 UTC
[users@httpd] About ServerLimit
Hello
When I set ServerLimit to 500, does that include all TCP connection states? I mean
are all these counted by ServerLimit? Or just ESTABLISHED is counted?
tcp6 0 0 192.168.168.91:443 X:18212 FIN_WAIT2 -
tcp6 0 0 192.168.168.91:443 X:14756 TIME_WAIT -
tcp6 0 0 192.168.168.91:443 X:56033 FIN_WAIT2 -
tcp6 0 0 192.168.168.91:443 X:15956 TIME_WAIT -
tcp6 0 0 192.168.168.91:443 X:49650 ESTABLISHED -
tcp6 0 0 192.168.168.91:443 X:63982 TIME_WAIT -
tcp6 0 0 192.168.168.91:443 X:53249 TIME_WAIT -
Regards,
Mahmood
Re: [users@httpd] About ServerLimit
Posted by Mahmood Naderan <nt...@yahoo.com.INVALID>.
One more thing. With this output
WKWWKWRKKRKWWKWWRWWRRKWWKRWKKR.RWR._W_R.RKRKK.RCWWKW_R.W..KKWWK.
WCWKKK_KWWWRR.R.WWWW.WWKWWRK.WWWRRW.WWW.WRK_WR.R..KWWKKRW.KCWK.W
..R........_..WW................................................
................................................................
................................................................
................................................................
................................................................
....................................................
Should I worry about W which means sending reply?
Regards,
Mahmood
Re: [users@httpd] About ServerLimit
Posted by Eric Covener <co...@gmail.com>.
On Wed, Jul 8, 2020 at 7:49 AM Mahmood Naderan
<nt...@yahoo.com.invalid> wrote:
>
>
> >But it's more straightforward to use /server-status if you care about
> >things like ServerLimit then trying to reverse engineer from netstat.
>
>
>
> OK I can see that report.
>
> It is saying that 109 requests currently being processed., 18 idle workers.
>
>
> Is that 109 the same as the number of apache2 process like below:
>
> ps aux | grep apache | wc -l
If you use prefork, you will see close to 109+18 processes.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] About ServerLimit
Posted by Mahmood Naderan <nt...@yahoo.com.INVALID>.
>But it's more straightforward to use /server-status if you care about
>things like ServerLimit then trying to reverse engineer from netstat.
OK I can see that report.
It is saying that 109 requests currently being processed., 18 idle workers.
Is that 109 the same as the number of apache2 process like below:
ps aux | grep apache | wc -l
?
Regards,
Mahmood
Re: [users@httpd] About ServerLimit
Posted by Eric Covener <co...@gmail.com>.
On Wed, Jul 8, 2020 at 5:44 AM Mahmood Naderan
<nt...@yahoo.com.invalid> wrote:
>
> Hello
>
> When I set ServerLimit to 500, does that include all TCP connection states? I mean
> are all these counted by ServerLimit? Or just ESTABLISHED is counted?
>
>
> tcp6 0 0 192.168.168.91:443 X:18212 FIN_WAIT2 -
> tcp6 0 0 192.168.168.91:443 X:14756 TIME_WAIT -
> tcp6 0 0 192.168.168.91:443 X:56033 FIN_WAIT2 -
> tcp6 0 0 192.168.168.91:443 X:15956 TIME_WAIT -
> tcp6 0 0 192.168.168.91:443 X:49650 ESTABLISHED -
> tcp6 0 0 192.168.168.91:443 X:63982 TIME_WAIT -
> tcp6 0 0 192.168.168.91:443 X:53249 TIME_WAIT -
It's complicated and depends on the MPM used. When you see states
FIN_WAIT1 or FIN_WAIT2 or CLOSE_WAIT there will generally be a thread
tied up in the server still. TIME_WAIT does not.
But it's more straightforward to use /server-status if you care about
things like ServerLimit then trying to reverse engineer from netstat.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org