I expected issues which I had resolved when uploading the same large zip in an xwiki instance running in a docker. I just made docker use another bigger partition.
i.e.: more /etc/docker/daemon.json
{ “data-root”: “/home/docker” }
Now I am running a “production” version in a VM. I thought adding the file setenv.sh to /usr/share/tomcat9/bin containing the line:
export CATALINA_TMPDIR="/disk2/tmp"
to use a larger partition would solve my problem but Filter streams Converter does not use CATALINA_TMPDIR as I had hoped.
root@obl-xwiki:/var/cache/tomcat9/Catalina/localhost/xwiki/xwiki-temp# du -sk *
276 cache
7232892 confluencexml6795228778785489518
48 extension
4 mail
4 svg
root@obl-xwiki:/var/cache/tomcat9/Catalina/localhost/xwiki/xwiki-temp# df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ubuntu--vg-lv--var 10251540 9629336 81740 100% /var
Looks like I need a way to change the tomcat cache location to disk2 but I did not see a variable that lets me do that. Suggestions?
/usr/share/tomcat9/bin/version.sh
Using CATALINA_BASE: /usr/share/tomcat9
Using CATALINA_HOME: /usr/share/tomcat9
Using CATALINA_TMPDIR: /disk2/tmp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar
Server version: Apache Tomcat/9.0.31 (Ubuntu)
Server built: Oct 20 2020 12:27:39 UTC
Server number: 9.0.31.0
OS Name: Linux
OS Version: 5.4.0-80-generic
Architecture: amd64
JVM Version: 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
JVM Vendor: Private Build