I am considering moving /opt/zammad/tmp to RAMDISK. I would like to ask you guys what is the size of your tmp directory. Mine is 20G which quite big I think.
The biggest top folder in tmp is cache_file_store_production ~18G
Do you know why it is so big? Should I reserve at least 20G of RAM for the RAMDISK?
While you can do so please keep in mind that Zammad stores unprocessible mails (if applicable) within tmp directory too. That means: If your host reboots for whatever reason and you didn’t ensure the directory was empty, the files would be lost. That’s technically the nature of the ramdisk.
The size of the tmp directory, especially the cache directories within it, highly depend on the usage of your Zammad instance. The numbers you provided are fairly big so Zammad caches a lot more than it would on other instances. Removing the cache directories is perfectly safe in case you have to!
I’d recommend to do that during upgrades at least.