Advanced setting for app search 7.2 for location of temp work space for jetty and other process

During load testing of data ingestion last night on the 7.2 edition we notice the use of /tmp

Example of what type of files we have seen:

'''
drwxrwxr-x 4 app-search app-search 29 Aug 1 09:13 jetty-127.0.0.1-3002-app-search.war--any-14033323923130097253.dir
drwxr-xr-x 4 app-search app-search 29 Aug 1 10:36 jetty-127.0.0.1-3002-app-search.war-
-any-15045452541766198933.dir
drwxrwxr-x 4 app-search app-search 29 Aug 1 09:37 jetty-127.0.0.1-3002-app-search.war-_-any-3636654065492079126.dir
drwxr-xr-x 2 app-search app-search 4.0K Aug 1 10:36 jruby-1111
drwxr-xr-x 2 app-search app-search 4.0K Aug 1 10:36 jruby-1112
drwxr-xr-x 2 app-search app-search 4.0K Aug 1 10:36 jruby-1113
drwxr-xr-x 14 app-search app-search 4.0K Aug 1 10:35 jruby11455094622311008353extract
drwxr-xr-x 14 app-search app-search 4.0K Aug 1 09:40 jruby12054002575997581668extract
drwxrwxr-x 14 app-search app-search 4.0K Aug 1 09:12 jruby12457954944277647398extract
drwxrwxr-x 14 app-search app-search 4.0K Aug 1 09:36 jruby13846152299151519729extract
drwxr-xr-x 14 app-search app-search 4.0K Aug 1 10:35 jruby14907057299340211513extract
drwxrwxr-x 2 app-search app-search 4.0K Aug 1 09:13 jruby-163368
drwxrwxr-x 2 app-search app-search 4.0K Aug 1 09:12 jruby-163371
drwxrwxr-x 2 app-search app-search 4.0K Aug 1 09:37 jruby-164167
drwxrwxr-x 2 app-search app-search 4.0K Aug 1 09:37 jruby-164170
drwxr-xr-x 2 app-search app-search 4.0K Aug 1 09:41 jruby-164436
drwxr-xr-x 2 app-search app-search 4.0K Aug 1 09:40 jruby-164440
drwxrwxr-x 14 app-search app-search 4.0K Aug 1 09:12 jruby1689002271072179113extract
drwxrwxr-x 14 app-search app-search 4.0K Aug 1 09:36 jruby2898632431355743206extract
drwxrwxr-x 14 app-search app-search 4.0K Aug 1 09:36 jruby4620071894457058344extract
drwxr-xr-x 14 app-search app-search 4.0K Aug 1 09:40 jruby5671705993438013238extract
drwxr-xr-x 14 app-search app-search 4.0K Aug 1 10:35 jruby5845234341657106321extract
drwxrwxr-x 14 app-search app-search 4.0K Aug 1 09:12 jruby8216675081117055363extract
drwx------ 3 root root 16 Aug 1 10:35 systemd-private-94b6a3329d97441381df0d0d1ef30eaf-nginx.service-spyMfG
drwx------ 3 root root 16 Aug 1 10:35 systemd-private-94b6a3329d97441381df0d0d1ef30eaf-ntpd.service-Gjhoy8
'''

For the time being, we have increased the /tmp directory size.
Our sysadmin was asking if it was possible to change this location via an environmental variable.

Hey there --

Until we come up with a better solution, your sysadmin might use this environment variable:

JAVA_OPTS="-Djava.io.tmpdir=/app_search_tmp_dir"

And welcome to the community, Dustin! :tada:

Kellen

1 Like

Thank you for your solution!

1 Like