caches on tmpfs?

Gabor Gombas gombasg at sztaki.hu
Fri Nov 6 02:42:45 EST 2009


On Thu, Nov 05, 2009 at 04:20:12PM -0800, David R Bosso wrote:
> 
> Both the tls_sessions cache and statuscache look like good candidates to 
> move to tmpfs.  I don't see an easy way to relocate them, am I missing it, 
> or should this be a feature request?

mount -t tmpfs tmpfs /some/where
cp /var/lib/cyrus/tls_session.db /some/where/tls_session.db
mount --bind /some/where/tls_session.db /var/lib/cyrus/tls_session.db

I did not test it. YMMV.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------


More information about the Info-cyrus mailing list