Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2020 18:40:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246886] [sendfile] Nginx + NFS or FUSE causes VM stall
Message-ID:  <bug-246886-227-alizGcNhIB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246886-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246886

--- Comment #57 from jSML4ThWwBID69YC@protonmail.com ---
(In reply to Alan Somers from comment #55)

I've tested three options in the nginx.conf. 

sendfile on;
This works as expected. 

aio on; 
This causes content not to load. Nginx keeps running, but does not seem to read
files from disk. Here's an error from /var/log/nginx/error.log. 

"2020/09/21 18:16:18 [crit] 83947#100590: *592
aio_read("/path/to/public_html/test.html") failed (45: Operation not supported)
while sending response to client, client: 10.0.0.102<snip>"

aio threads;
This also seems to work as expected. I'm not sure why threads works, but normal
aio does not. 

Setting vfs.aio.enable_unsafe=1 made no difference in the results. 

For this test data is stored on MooseFS. Duplicating the test on ZFS does not
show the same issue. 

FreeBSD 12.1-RELEASE-p10 GENERIC  amd64
nginx version: nginx/1.18.0
built with OpenSSL 1.1.1g  21 Apr 2020
TLS SNI support enabled

Should I open this as a separate bug still?

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246886-227-alizGcNhIB>