View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Nov 06, 2015 9:32 pm 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
When I installed LinHES 8.3 I has plenty of hard drive so I added a extra gig of space to the /home partition (2.87 GB). Now I noticed that that partition is 98% full.
Here are some of the largest folders

/home/mythtv/.kodi/userdata/Thumbnails (351.72 MB) (this file appears normal to me)
/home/mythtv/.cache/google-chrome (206.28 MB) (this file appears normal to me)
/home/mythtv/.mythtv/remotecache (244 MB) (3105 files) (old GUI art not deleting)
/home/mythtv/.mythtv/themecache/LinHES.1280.720 (326.61 MB) (2572 files) (old GUI art not deleting)
/home/mythtv/.mythtv/themecache/LinHES.1920.1080 (1.02 GB) (4967 files) (old GUI art not deleting)

Dos anyone know if there is a maintenance program that purges these files?
Dos anyone know if they can just be deleted?
At this rate I am looking at a system crash in about a week.
Any suggestions here?

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
PostPosted: Sat Nov 07, 2015 11:09 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
I don't think there is anything in LH or myth that will automatically prune those caches. Maybe a monthly maintenance task is in order. You can delete them with something like:
Code:
rm -rf /home/mythtv/.mythtv/{*cache,Cache-*}
Just make sure that you restart mythfrontend right after running that cmd.

Also, since /home is on its own partition seperate from the os it being full shouldn't cause a system crash. But mythfrontend does act pretty wonky when home is full.


Top
 Profile  
 
PostPosted: Mon Nov 09, 2015 11:46 am 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Yeah I always give those partitions more room than the recommended minimums.

_________________
My System


Top
 Profile  
 
PostPosted: Tue Nov 17, 2015 6:36 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
It been about a week since I ran brfranson's code (Thank you!)
The cache should be repopulated by now so I thought I would post some results.

/home partition (2.87 GB). 98% Before
/home partition ( .9 GB). 35% After

/home/mythtv/.mythtv/remotecache (244 MB) (3105 files) Before
/home/mythtv/.mythtv/remotecache (32 MB) (416 files) After

/home/mythtv/.mythtv/themecache/LinHES.1280.720 (326.61 MB) (2572 files) Before
/home/mythtv/.mythtv/themecache/LinHES.1280.720 (141 MB) (1172 files) After

/home/mythtv/.mythtv/themecache/LinHES.1920.1080 (1.02 GB) (4967 files) Before
This file was not recreated. At this time I have a 720 TV attached

/home/mythtv/.cache/google-chrome (206 MB) Before
/home/mythtv/.cache/google-chrome (116 MB) After
I manually deleted this file. I was not necessary but it bought me some time.

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
PostPosted: Tue Nov 17, 2015 7:22 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
I added a check to myth_mtc.py to look at /home and if it is greater than 90% full it will remove the mythtv caches. The chrome cache does a pretty good job of cleaning itself from what I have seen so I didn't include it. This check is part of LinHES-system-8.3-19 and later.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu