KB Article #179573
How do you control where the temporary files written by spilltodisk are stored?
Problem
How do you control where spilltodisk writes its temporary files instead of having them all written to /var/tmp/-bigmsg as is the default?
Resolution
You can control the location by adding a tempdir parameter similar to the sample below to the instance's service.xml file, e.g. $VDISTDIR/groups/group-X/instance-Y/conf/service.xml
<SystemSettings tracelevel="INFO" secret="${secret}" serviceID="${serviceID}" groupID="${groupID}" serviceName="${serviceName}" groupName="${groupName}" domainID="${domainID}" title="API Gateway" tempdir="/var/example/spilltodisk"/>
Further documentation on the spilltodisk setting, which writes large messages to temporary files to save memory, can be found in the Administrator's Guide for your version.