How to check if clients are starving on the Apache server?

How would you track server performance in the sense of:

  • Count requests that were sent without any processing at all (the client was hungry)

  • Count requests that were sent during the process

  • Count requests that failed due to an error, at least in apache lvl

thanks

+6
source share
3 answers

I am not an expert in this matter, but here is my approach to this,

Request timeouts generate a 408 error in the logs that are countable, and apache provides a variable %Dto measure the process time.

Count requests that were sent without any processing at all (the client was hungry)

, , .

,

, .

, - , , apache lvl

- , apache.

- .

Apache 2 , , .

Edit

, , , apache httpd server , nginx .

https://logz.io/

http://goaccess.prosoftcorp.com/

http://awstats.sourceforge.net/

Refrences:

http://httpd.apache.org/docs/current/mod/mod_log_config.html https://httpd.apache.org/docs/2.4/mod/mod_reqtimeout.html https://httpd.apache.org/docs/2.4/logs.html

+1

, ( )

, Apache. Apache -, , ( -), , , . .

, , ( , ).

, , .

+1

, Apache , . .

nginx , , .

Nginx ,

  • /
  • request/total

, . - php, nginx .

+1

Source: https://habr.com/ru/post/1016790/


All Articles