Files
firestuff/markdown/2019-04-28-h2load-process-request-failure.md
2019-05-04 16:58:50 +00:00

1.2 KiB

I went looking for an HTTP/2 replacement for Ab and found h2load. Perfect, awesome, just what I need. My first few test runs work fine, then as I'm ramping up test size...

Process Request Failure:1                                                                                                            

That number at the end seems to be the number of failed requests. Tellingly, it happened after exactly 1000 successful requests each time. Restart h2load, get another 1000 successful requests. I tried keepalive_requests in my nginx config, but no luck. Finally, after going through the nginx source for instances of "1000", I found http2_max_requests, which defaults to 1000. Increase that to an enormous number, restart nginx, everything works fine.

Someone should really implement reconnect in h2load, or at least some decent error messages.