Skip to content
English
  • There are no suggestions because the search field is empty.

How do I increase the size of my /tmp partition?

Resizing /tmp partition using system_setup_VARSIZE variable

In versions prior to 26.3, you may need to increase the size of your /tmp partition to allow DB pruning. On very large systems you may want to increase the size to be the maximum.

For DB pruning /tmp needs to be 2x the largest sqlite database. You will see an error like the following in the statseeker logs and on the Web Console.

'Insufficient Space On Temporary Filesystem to Prune Databases'

Make sure there is enough space on the main partition to allow the desired increase in the /tmp partition.

As root, in /etc/rc.conf, add or update system_setup_VARSIZE=<size in MB>

Example: system_setup_VARSIZE=50000 - this equals 50 GB

Still as root, execute the following steps to stop statseeker and to reboot the server

  • service statseeker.sh stop

  • shutdown -r now
  • After reboot, log on to verify the new size of your /tmp partitions via the 'df - h' command

On very large systems you can set system_setup_VARSIZE=0

You'll then have the maximum possible /tmp partition size, the same as the /home partition. This setting will be the default in newer versions starting with 26.3