[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


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

            Bug ID: 253314
           Summary: textproc/kibana7: fix memleak and some port
                    improvements
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/elastic/kibana/issues/90274
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: elastic at FreeBSD.org
          Reporter: drtr0jan at yandex.ru
                CC: feld at FreeBSD.org
             Flags: maintainer-feedback?(elastic at FreeBSD.org)
          Assignee: elastic at FreeBSD.org

Created attachment 222228
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222228&action=edit
kibana7.diff

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-elastic mailing list