View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Dec 18, 2006 10:53 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
After listening to some Pod^WNetcasts using MythStream, I couldn't get it to work with another, reporting "No URLs found". I rebooted then found I wasn't able to login.
Going in using ssh, I found that I had ran out of space under /, so I had a look under /var/log and /var/log/myth to see if there is a rogue log file, there wasn't any evidence of this. I had recently installed a new ivtv so I deleted the source directory for this, but this didn't free up much space. So I decided to have a look at the mythtv user home directory, looking at the ~/mythtv/.mythtv/mythstream directory, I found that there were lots of data under downloads, so deleting the files underneath this, freed up 2.0GB of space.
It might might be worthwhile for a script to expire files under ~/mythtv/.mythtv/mythstream/downloads.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 18, 2006 1:04 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
I'd go one step further and move that directory off the root partition. Do we know where that is configured?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 7:34 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
It's under /home, so it would be worthwhile creating a new partition, moving the contents over then remounting the partition under /home. The problem is, without looking at the content of ~/mythtv/.mythtv/mythstream/downloads regularly, you will run out of space, particularly if you watch a lot of Video Netcasts.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 24, 2006 5:07 pm 
Offline
Joined: Mon May 22, 2006 11:52 am
Posts: 8
you can ghetto chop it onto another partition with a sym link

Code:
mkdir /myth/mythstream-downloads
cp -r /home/mythtv/.mythtv/mythstream/downloads/* /myth/mythstream-downloads
rm -r /home/mythtv/.mythtv/mythstream/downloads
ln -s /myth/mythstream-downloads /home/mythtv/.mythtv/mythstream/downloads
chown mythtv /myth/mythstream-downloads


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 27, 2006 5:33 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
Good idea, but you still start to lose space if you don't keep an eye on your mythstream/downloads/ directory. If you do something like:
Code:
#!/bin/sh
#Script to find downloaded streams that are older than 30 days and
delete them

find /home/mythtv/.mythtv/mythstream/downloads/ -type f -mtime +29 -exec rm -f '{}' \;

I called it cleanup-mythstream and carried out the following:
Code:
su
cp cleanup-mythstream /etc/cron.daily/
chmod +x /etc/cron.daily/cleanup-mythstream


So this should delete the content of the mythstream/downloads/ directory that have been modified greater than 30days ago and is ran once a day.

Edited to change line ending in code.
Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 27, 2006 6:55 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
Some of my best code is written in 'Ghetto Chop'

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 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