Hello! Current version on 3-rdp module BROTLI for nginx in ports tree have a problem, in some configurations, for example when on fly compression enabled and content come from upstream, working process keep temporary files opened after request ended. After some while it uses all possible opened file descriptors and stop make new connections to upstream This bug was fixed some time ago at upstream https://github.com/eustas/ngx_brotli/commit/e26248ee361c04e25f581b92b85d95681bdffb39 (it changed NGX_DONE to NGX_OK at end, so other modules got chance to finish their work also, close files, for example) Looks like we need to change version of module from 37ab9b2 to e26248e or add such patch to ports tree. Discussion on nginx forum (sorry, in russian only) https://forum.nginx.org/read.php?21,280196,280221#msg-280221
Hey Alexey, thanks for the PR, i will take have a look :-)
A commit references this bug: Author: joneum Date: Thu Jun 28 17:27:29 UTC 2018 New revision: 473502 URL: https://svnweb.freebsd.org/changeset/ports/473502 Log: - Update brotli to e26248e - Fix STREAM_SSL_PREREAD PR: 229336, 229237 Changes: head/www/nginx/Makefile head/www/nginx/Makefile.extmod head/www/nginx/distinfo
Landed. Thanks :-)
Hello! Our tests show, problem is solved. Thank you! br /Alexey
(In reply to Alexey from comment #4) thanks for your feedback and you're Report, Alexey! :-)