maintainer-feedback requested: [Bug 253314] textproc/kibana7: fix memleak and some port improvements

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 6 21:50:27 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-elastic (Nobody)
<elastic at FreeBSD.org> for maintainer-feedback:
Bug 253314: textproc/kibana7: fix memleak and some port improvements
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253314



--- Description ---
There's a memleak in Kibana ( https://github.com/elastic/kibana/issues/90274 ).
I think it is involved by incorrect using parameters xpack.ml.enabled and
xpack.reporting.enabled added by ports r484109.

The options should be passing by config file or command line arguments, not by
environmental variables (as a Docker).

I've passed the params by command line and memleak had fixed.

Also I've added some improvements to the rc-script:
- Added kibana_syslog_output_* options for writing daemon(8) stdout to syslog.
- Moved pidfile from /var/run/kibana to /var/run directory.
- Moved daemon(8) pidfile control from child (-p) to supervisor (-P). It is
need for using -r/-R options (auto-restart after terminated, ex. after memory
exhausting).
- Added environmental variables passing for FreeBSD 11.4 compatibility.
- Added --max-http-header-size=65536 node option (Kibana using).


More information about the freebsd-elastic mailing list