unit icon indicating copy to clipboard operation
unit copied to clipboard

request localServer datasize between 131k and 165k , response time > 40ms

Open dbit-xia opened this issue 3 years ago • 4 comments

When request datasize between 131k and 165k , response time > 40ms else response time < 2ms

I've tested many versions and this problem has appeared since 1.16 (1.27.0 problem also exists!)

code repo: https://github.com/dbit-xia/unit_test

type: nodejs or proxy node version: v14.19.1 unit version: unit_1.26.1-1~focal_amd64.deb
OS: linux mint 20.3 (Una) unused container

dbit-xia avatar May 29 '22 15:05 dbit-xia

Hi - Thanks for reaching out and sharing the PoC code. We will need some time to set this up and test it. What OS did you use to test it? Did you use any containers?

Thanks for the update

tippexs avatar May 30 '22 08:05 tippexs

thank you for your reply, my OS info:

OS: linux mint 20.3 (Una)   
unused container

$ cat /etc/debian_version
bullseye/sid

$ uname -a
Linux xxx 5.14.0-1024-oem #26-Ubuntu SMP Thu Feb 17 14:35:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

dbit-xia avatar May 30 '22 10:05 dbit-xia

Today, I tested with the container again and found that this problem only occurs when the request is made on the local network!

dbit-xia avatar Jul 24 '22 07:07 dbit-xia

Hi @dbit-xia I will come back to you later. Also I will link the issue you have created in njs https://github.com/nginx/njs/issues/562 for visibility.

tippexs avatar Jul 25 '22 10:07 tippexs