What are some different ways/tools to verify that keep-alive is working on the server from the client's end?
Httpd – How to test keep-alive is working on client end
httphttpdkeepaliveweb
Related Topic
- Keep-alive or not keep-alive
- Impact of Connection Close vs Keep-alive
- Linux – Keep-alive options not working on Linux for an outgoing connection
- NGINX : Keep alive requests to static content ok – Keep alive requests to php-fpm requests hang until keepalive_timeout is reached
- Relationship between tcp state TIME_WAIT & HTTP keep-alive
- Haproxy – timeout http-request vs timeout http-keep-alive vs timeout server
- Configure Server to Initiate Http Keep-Alive
- How to emulate a browser that doesn’t have “Keep alive”
Best Answer
You could try
and look via top, if 5 workers are constantly serving the requests keepalive should work (-k) switch. Do the same without -k and see the difference.
Cheers Izac