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/> References: <bug-246886-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246886 --- Comment #57 from jSML4ThWwBID69YC@protonmail.com --- (In reply to Alan Somers from comment #55) I've tested three options in the nginx.conf.=20 sendfile on; This works as expected.=20 aio on;=20 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.=20 "2020/09/21 18:16:18 [crit] 83947#100590: *592 aio_read("/path/to/public_html/test.html") failed (45: Operation not suppor= ted) 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 no= rmal aio does not.=20 Setting vfs.aio.enable_unsafe=3D1 made no difference in the results.=20 For this test data is stored on MooseFS. Duplicating the test on ZFS does n= ot show the same issue.=20 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? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246886-227-alizGcNhIB>