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

--- Comment #57 from jsml4thwwbid6...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to