$request_time variable = 0 for small files.

2024-03-06 Thread Clima Gabriel
Greetings, I'm investigating a bug, super easy to reproduce. Thought you might be curious. Minimal Nginx config. Create two files. 100M and 1M: dd if=/dev/zero of=/var/www/file100M bs=100M count=1 dd if=/dev/zero of=/var/www/file1M bs=1M count=1 Get them files: curl --limit-rate 10M -o /dev/nul

Re: $request_time variable = 0 for small files.

2024-03-07 Thread J Carter
Hello, On Thu, 7 Mar 2024 08:17:23 +0200 Clima Gabriel wrote: > Greetings, > I'm investigating a bug, super easy to reproduce. > Thought you might be curious. > > Minimal Nginx config. Create two files. 100M and 1M: > dd if=/dev/zero of=/var/www/file100M bs=100M count=1 > dd if=/dev/zero of=/va

Re: $request_time variable = 0 for small files.

2024-03-07 Thread Clima Gabriel
0.000 sysctl -w net.ipv4.tcp_rmem="4096 4096 4096" 0.072 sysctl -w net.ipv4.tcp_rmem="512 512 512" 0.106 sysctl -w net.ipv4.tcp_rmem="256 256 256" You're right. This was invaluable, thank you! On Thu, Mar 7, 2024 at 11:46 AM J Carter wrote: > Hello, > > On Thu, 7 Mar 2024 08:17:23 +0200 > Cl