Last active
November 15, 2023 05:45
-
-
Save jasperf/e61a105ddab714e92d188567b05590f2 to your computer and use it in GitHub Desktop.
Get Nginx Buffersize needed using command https://gist.github.com/magnetikonline/11312172#determine-fastcgi-response-sizes , https://stackoverflow.com/questions/23844761/upstream-sent-too-big-header-while-reading-response-header-from-upstream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '($9 ~ /200/) { i++;sum+=$10;max=$10>max?$10:max; } END { printf("Maximum: %d\nAverage: %d\n",max,i?sum/i:0); }' /var/www/vhosts/site.nl/logs/access_ssl_log | |
// results example: | |
// Maximum: 1675502 | |
// Average: 12756 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here we had a peak at 1676K and average of 13K . Peak we seem to have had on WP Rocket Cache Purge.