Re: caches on tmpfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
     ---------------------------------------------------------
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux