Welcome! Log In Create A New Profile

Advanced

accept_filter being ignored

February 18, 2016 04:20PM
Hello,

Not sure if I should be directing this to a FreeBSD list or here, but
here goes.

I have set accept_filter= in listen directives:

server {
listen 80 accept_filter=http_ready;
listen [::]:80 accept_filter=http_ready;
listen 443 ssl accept_filter=data_ready;
listen [::]:443 ssl accept_filter=data_ready;

...

}


The correct modules are loaded at boot:

# kldstat -v | grep accf
2 1 0xffffffff814bf000 1598 accf_data.ko (/boot/kernel/accf_data.ko)
1 accf_data
3 1 0xffffffff814c1000 26a0 accf_http.ko (/boot/kernel/accf_http.ko)
2 accf_http


But I am seeing the following in the error log after a reboot (or on the
console after an nginx restart):

2016/02/18 16:04:06 [alert] 823#100446: setsockopt(SO_ACCEPTFILTER,
"http_ready") for 0.0.0.0:80 failed, ignored (2: No such file or directory)
2016/02/18 16:04:06 [alert] 823#100446: setsockopt(SO_ACCEPTFILTER,
"http_ready") for [::]:80 failed, ignored (2: No such file or directory)
2016/02/18 16:04:06 [alert] 823#100446: setsockopt(SO_ACCEPTFILTER,
"data_ready") for 0.0.0.0:443 failed, ignored (2: No such file or directory)
2016/02/18 16:04:06 [alert] 823#100446: setsockopt(SO_ACCEPTFILTER,
"data_ready") for [::]:443 failed, ignored (2: No such file or directory)

Box is running FreeBSD 10-STABLE.

Any hints?


--
Jim Ohlstein


"Never argue with a fool, onlookers may not be able to tell the
difference." - Mark Twain

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

accept_filter being ignored

Jim Ohlstein February 18, 2016 04:20PM

Re: accept_filter being ignored

Maxim Konovalov February 19, 2016 05:18AM

Re: accept_filter being ignored

Jim Ohlstein February 19, 2016 06:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 209
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready