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

**URL:** <https://discuss.elastic.co/t/advanced-setting-for-app-search-7-2-for-location-of-temp-work-space-for-jetty-and-other-process/193370>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [August 1, 2019, 3:52pm UTC](https://discuss.elastic.co/t/advanced-setting-for-app-search-7-2-for-location-of-temp-work-space-for-jetty-and-other-process/193370 "2019-08-01T15:52:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dustin\_Hughes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dustin_hughes/32/51453_2.png) [@Dustin\_Hughes](https://discuss.elastic.co/u/Dustin_Hughes)\
**Post date:** [August 1, 2019, 3:52pm UTC](https://discuss.elastic.co/t/advanced-setting-for-app-search-7-2-for-location-of-temp-work-space-for-jetty-and-other-process/193370/1 "2019-08-01T15:52:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![goodroot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/goodroot/32/38389_2.png) [@goodroot](https://discuss.elastic.co/u/goodroot)\
**Post date:** [August 7, 2019, 10:22pm UTC](https://discuss.elastic.co/t/advanced-setting-for-app-search-7-2-for-location-of-temp-work-space-for-jetty-and-other-process/193370/2 "2019-08-07T22:22:44Z")

</div>

Hey there --

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

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

```

And welcome to the community, Dustin! 🎉

Kellen

---

<div class="post-metadata">

**Author:** ![Dustin\_Hughes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dustin_hughes/32/51453_2.png) [@Dustin\_Hughes](https://discuss.elastic.co/u/Dustin_Hughes)\
**Post date:** [August 12, 2019, 5:43pm UTC](https://discuss.elastic.co/t/advanced-setting-for-app-search-7-2-for-location-of-temp-work-space-for-jetty-and-other-process/193370/3 "2019-08-12T17:43:51Z")

</div>

Thank you for your solution!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 9, 2019, 5:43pm UTC](https://discuss.elastic.co/t/advanced-setting-for-app-search-7-2-for-location-of-temp-work-space-for-jetty-and-other-process/193370/4 "2019-09-09T17:43:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
