[mythtv-commits] Ticket #2364: Increase sleep_time in truncate-delete patch to accomodate remote mounts
MythTV
mythtv at cvs.mythtv.org
Wed Sep 13 21:24:17 UTC 2006
#2364: Increase sleep_time in truncate-delete patch to accomodate remote mounts
----------------------------+-----------------------------------------------
Reporter: ylee at pobox.com | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone:
Component: mythtv | Version: 0.20
Severity: high | Resolution:
----------------------------+-----------------------------------------------
Changes (by ylee at pobox.com):
* priority: minor => major
* version: head => 0.20
* severity: medium => high
Comment:
I've had 0.20 running for a day and a half and here's what I've seen
regarding the truncate deletions on my CIFS-mounted NAS:
* Without 'mythbackend -v file', truncations don't happen at all. That is,
files mythbackend tries to delete do get renamed to cifsxxxx (see
http://www.gossamer-threads.com/lists/mythtv/commits/208981#208981) but
never shrink in size.
* With 'mythbackend -v file', I see the following:
2006-09-13 14:05:45.948 About to unlink/delete file:
'/misc/cube/mythtv/store/xyz.mpg'
2006-09-13 14:05:46.925 About to delete file:
/misc/cube/mythtv/store/xyz.mpg.png
2006-09-13 14:05:51.085 AutoExpire: 1 file truncates are pending
2006-09-13 14:05:51.085 Truncating '/misc/cube/mythtv/store/xyz.mpg' by
4.00 MB every 500 milliseconds
2006-09-13 14:05:51.086 Reschedule requested for id 0.
2006-09-13 14:05:51.176 Event socket closed. No connection to the backend.
Yes, '-v file' consistently crashes mythbackend.
So, there appear to be two issues here:
* The issue I discussed in my opening ticket regarding too-fast network
deletion requests resulting in crashes. I think changing sleep_time to a
larger value will indeed fix this.
* A separate issue of truncations not proceeding at all (and mythbackend
thus not crashing) when '-v file' isn't used.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2364#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list