LinHES Forums
http://forums.linhes.org/

R5.5 /tmp directory fills up "mythtv_ddp_" folders
http://forums.linhes.org/viewtopic.php?f=6&t=20715
Page 1 of 1

Author:  neutron68 [ Mon Dec 28, 2009 4:22 pm ]
Post subject:  R5.5 /tmp directory fills up "mythtv_ddp_" folders

I've been seeing this behavior since I installed R5.5: the /tmp directory fills up with folders called "mythtv_ddp_*" (where the * is a number).

I am pretty sure these are the temporary directories written by the mythfilldatabase process (the fetching of Schedules Direct program data).
My workaround has been to manually delete those folders every few weeks.

Is there a way I can tell what part of the mythfilldatabase process is supposed to delete those temporary folders? (try and find out why it is broken?)

I tried to view the file /usr/bin/mythfilldatabase and it comes up as gibberish.

Help appreciated,
Eric

Author:  mihanson [ Mon Dec 28, 2009 4:29 pm ]
Post subject: 

I've seen this as well, but forgot about it. Thanks for refreshing my memory. I'll try to look into it too.

Author:  neutron68 [ Wed Dec 30, 2009 8:42 pm ]
Post subject:  cron job?

I'm thinking a daily cron job that does the following:
Code:
#!/bin/sh
sudo rm /tmp/mythtv_ddp* -f -r

What do you think?

Author:  neutron68 [ Wed Jan 06, 2010 8:24 pm ]
Post subject:  cron job working

The cron job is working. I ended up taking the sudo out of the script, though.
I thought I would need the sudo but it seems to execute fine without it.

I put this script into the /etc/cron.daily folder and made it executable.
Code:
#!/bin/sh
rm /tmp/mythtv_ddp* -f -r

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/