Home Blog HOWTO: setup in memory file system for temporary files

HOWTO: setup in memory file system for temporary files

All temporary files created by Recital are stored in the directory specified by the environment variable DB_TMPDIR. Some things that create temporary files are SQL SELECT commands and XML files used by the Replication Service.
In order to have these files stored in memory first create a temporary directory
mkdir /opt/recital/tmp
Then mount the directory with the tmpfs command
mount -t tmpfs -o size=1g recitaltmpfs /usr/recital/tmp
Then change the DB_TMPDIR variable in the recital.conf to point to the newly created temporary directory.
Comments
Search
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."