[mythtv-users] Limiting themecache size ?

Ben Lancaster mail at benlancaster.co.uk
Mon Dec 7 17:49:59 UTC 2009

> Is there any way to limit themecache size ?.
> I have disk-less 3xFEs. All of them have NFS based remote homedirs on my 
> central BE server.
> Recently I discover 1.5G space on server is allocated to themecaches.
> As partition with themecaches is also system partition with mysql - I 
> want to avoid "no free space" issue as myth don't like such situations.
> Ideally will be to have limit on themecache size and autodelete oldest 
> files in themecache - when size is reached.
> thx n advance

There's a setting (somewhere in "Appearance") that lets you choose how many themes to cache per-frontend. Failing that, a cronjob and a bash script to check and delete directories in your themecache that haven't been touched for a while will do the trick.

More information about the mythtv-users mailing list