The opentsdb rc script calls /usr/local/bin/tsdb which has a variable, JVMARGS, that can be used to set additional JVM arguments. We should be able to set things like max heap size and GC tuning in rc.conf opentsdb flags.
Something like this should work in the rc.d script: : ${opentsdb_jvmargs:=$reasonable_default_here} combined with an export of JVMARGS=$opentsdb_jvmargs before the run_rc_command.
Re-assign to maintainer
Any news here?
A commit references this bug: Author: kbowling Date: Thu Feb 28 20:13:18 UTC 2019 New revision: 494186 URL: https://svnweb.freebsd.org/changeset/ports/494186 Log: databases/opentsdb: rc script should allow JVMARGS to be set PR: 209059 Approved by: krion (mentor) Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D19362 Changes: head/databases/opentsdb/files/opentsdb.in