Greetings,
I have created a FreeBSD 13.2 jail for opensearch(java based application).
Java package output requires
Opensearch`s
Also the following options related to shared memory access were added to jail.conf
And the tmpfs(5) is mounted to jail
The above changes did not help the performanceanlyzer to use the shared memory and to initialize properly.
Please advise.
Cheers,
I have created a FreeBSD 13.2 jail for opensearch(java based application).
Java package output requires
fdesfs
and procfs
, hence I added to jail.conf the following options
Code:
mount.fdescfs = 1;
mount.procfs = 1;
performanceanalyzer
plugin experiences an initialization issue by using the shared memory
Code:
[2023-05-16T12:04:16,244][INFO ][o.o.p.c.PluginSettings ] [opensearch] Trying to create directory /dev/shm/performanceanalyzer/.
[2023-05-16T12:04:16,245][ERROR][o.o.p.c.PluginSettings ] [opensearch] Invalid metrics location /dev/shm/performanceanalyzer/. Created: false (Expect True), Directory: false (Expect True), CanWrite: false (Expect True)
[2023-05-16T12:04:16,246][ERROR][o.o.p.c.PluginSettings ] [opensearch] Having issue to load all config items. Disabling plugin.
org.opensearch.performanceanalyzer.config.ConfigFatalException: Having issue to use path: /dev/shm/performanceanalyzer/
Code:
enforce_statfs = 1;
sysvshm = new;
sysvsem = new;
sysvmsg = new;
Code:
tmpfs /pathToJail/dev/shm tmpfs rw,size=1g,mode=1777 0 0
The above changes did not help the performanceanlyzer to use the shared memory and to initialize properly.
Please advise.
Cheers,