Free To Feel

Heading to entrepreneur.

Joshua Chi

The Failed requests in ApacheBench Test

Problem: I run ab test for my website yesterday, and there are so many failed request. And I found the following explanation from fixunix:

May not actually be a problem. Reason? It might be a site that serves dynamic context (such as different cookie IDs mentioned) where the file size changes between each query. 

Easy way to verify: 

Code:    $ wget    

Repeat that twice, then: 

Code:    $ diff  .1 

See if there are differences. If yes, then you can ignore the length-related failures. If no, it's some other cause and need to investigate further.

I hope it will help you too if you have the same problem.

comments powered by Disqus