How can I set the temporary directory for Standalone to use, as it seems to want to extract certain large assets from vrscene files. Will it honor TMPDIR?
Announcement
Collapse
No announcement yet.
Standalone Temp Dir
Collapse
X
-
When rendering with standalone on Linux we had a vrscene that had a bunch of particle data embedded in it. It was an Alembic particle file out of Houdini, loaded with a VRayProxy. I had thought that this would reference the Alembic file when exported as vrscene, but instead the export was writing gigs of particle data in the vrscene file.
When rendering this file on a Linux node with a small root partition the node was running out of disk space. Since this only happened with the vrscene full of particle data I assume that this data is being extracted from the vrscene and written to disk (in a temp directory, typically /tmp on Linux) before rendering.
So I was trying to figure out how to change where this data was written when extracted, as there is plenty of space in another drive on the virtual machines.
I could possibly symlink /tmp someplace else, but that can cause problems for some programs.
Most programs on Linux honor an environment variable for setting the temporary directory. I wondered if I could do this with vray.
I ended up expanding the root partition in the machine image, which did work.
I also exported the particles to PRT and used a Phoenix Simulator to load them, which prevented them being embedded in the vrscene file, saving gigs of space every time we export.
Comment
Comment