[mythtv] Backend process dies at 4GB file limit?

Buzz buzz at oska.com
Thu Jan 19 03:39:34 UTC 2006


Apologies for the small typo....  "safe_swite() funky usleep" should have
obviously been "safe_write() funky usleep" .

> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org 
> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Buzz
> Sent: Thursday, 19 January 2006 1:30 PM
> To: 'Development of mythtv'
> Subject: [mythtv] Backend process dies at 4GB file limit?
> 
> Are you interested in this scenario:
> 
> Backend saves files to FAT32 partition.
> Backend tries to exceed 4GB (or there abouts) while unattended.
> Backend dies with error "File size limit exceeded" emitted by OS.
> 
> 
> Backend's last message prior to dying was:
> "TFW: safe_swite() funky usleep"
> (message comes from ThreadedFileWriter.cpp )
> 
> 
> Buzz.
> 
> P.S. Before you tell me "FAT32 is a bad, naughty, unsupported 
> filesystem"..
> tell me another filesystem that works under both MS Windows 
> and linux, reliably, and I'll happily change (I'm waiting in 
> anticipation of native
> ext2/3 windows drivers or NTFS write support in the kernel - 
> it's a long
> wait)
> 
> 
> Last couple of screenfulls of the Backend log (-v all) follows:
> 
> 2006-01-19 01:50:10.224 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120864' , 9 , '4280819784' );
> 2006-01-19 01:50:10.225 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120876' , 9 , '4281235264' );
> 2006-01-19 01:50:10.230 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120888' , 9 , '4281667288' );
> 2006-01-19 01:50:10.232 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120900' , 9 , '4282094612' );
> 2006-01-19 01:50:10.233 MSqlQuery: UPDATE recorded SET 
> filesize = '4282094612' WHERE chanid = '1002' AND starttime = 
> '2006-01-19T00:30:00' ;
> 2006-01-19 01:50:10.955 write -> 14 51
> BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
> 2006-01-19 01:50:13.978 MSqlQuery: DELETE FROM recordedmarkup 
> WHERE chanid = '1100' AND starttime = '2006-01-16T23:15:26';
> 2006-01-19 01:50:13.981 MSqlQuery: SELECT 
> recorded.chanid,starttime,endtime,title,
> subtitle,description,channel.channum,
> channel.callsign,channel.name,channel.commfree,
> channel.outputfilters,seriesid,programid,filesize,
> lastmodified,stars,previouslyshown,originalairdate,
> hostname,recordid,transcoder,playgroup,
> recorded.recpriority,progstart,progend,basename,recgroup FROM 
> recorded LEFT JOIN channel ON recorded.chanid = 
> channel.chanid WHERE recorded.chanid = '1012' AND starttime = 
> '2006-01-16T23:21:26' ;
> 2006-01-19 01:50:13.986 MSqlQuery: SELECT commflagged, 
> cutlist, autoexpire, editing, bookmark FROM recorded WHERE 
> chanid = '1012' AND starttime = '2006-01-16T23:21:26' ;
> 2006-01-19 01:50:13.990 MSqlQuery: UPDATE jobqueue SET status 
> = 320 WHERE chanid = '1012' AND starttime = 
> '2006-01-16T23:21:26' AND status = 1;
> 2006-01-19 01:50:13.997 MSqlQuery: UPDATE jobqueue SET cmds = 
> 4 WHERE chanid = '1012' AND starttime = '2006-01-16T23:21:26' 
> AND status <> 320;
> 2006-01-19 01:50:14.007 MSqlQuery: SELECT id FROM jobqueue 
> WHERE chanid = '1012' and starttime = '2006-01-16T23:21:26' 
> AND status NOT IN (272,288,304,320);
> 2006-01-19 01:50:14.009 MSqlQuery: SELECT id FROM jobqueue 
> WHERE chanid = '1012' and starttime = '2006-01-16T23:21:26' 
> AND status NOT IN (272,288,304,320);
> 2006-01-19 01:50:14.012 MSqlQuery: DELETE FROM jobqueue WHERE 
> chanid = '1012' AND starttime = '2006-01-16T23:21:26';
> 2006-01-19 01:50:14.013 About to unlink/delete file:
> /myth/1012_20060116232126.mpg
> 2006-01-19 01:50:16.021 MSqlQuery: DELETE FROM recorded WHERE 
> chanid = '1012' AND title = 'Sports Tonight' AND starttime = 
> '2006-01-16T23:21:26';
> 2006-01-19 01:50:16.023 MSqlQuery: SELECT COUNT(*) FROM 
> recorded WHERE chanid = '1012' AND progstart = '2006-01-16T23:00:00';
> 2006-01-19 01:50:17.028 write -> 14 51
> BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
> 2006-01-19 01:50:20.034 MSqlQuery: DELETE FROM recordedmarkup 
> WHERE chanid = '1012' AND starttime = '2006-01-16T23:21:26';
> 2006-01-19 01:50:20.036 MSqlQuery: SELECT 
> recorded.chanid,starttime,endtime,title,
> subtitle,description,channel.channum,
> channel.callsign,channel.name,channel.commfree,
> channel.outputfilters,seriesid,programid,filesize,
> lastmodified,stars,previouslyshown,originalairdate,
> hostname,recordid,transcoder,playgroup,
> recorded.recpriority,progstart,progend,basename,recgroup FROM 
> recorded LEFT JOIN channel ON recorded.chanid = 
> channel.chanid WHERE recorded.chanid = '1012' AND starttime = 
> '2006-01-16T23:25:41' ;
> 2006-01-19 01:50:20.041 MSqlQuery: SELECT commflagged, 
> cutlist, autoexpire, editing, bookmark FROM recorded WHERE 
> chanid = '1012' AND starttime = '2006-01-16T23:25:41' ;
> 2006-01-19 01:50:20.046 MSqlQuery: UPDATE jobqueue SET status 
> = 320 WHERE chanid = '1012' AND starttime = 
> '2006-01-16T23:25:41' AND status = 1;
> 2006-01-19 01:50:20.052 MSqlQuery: UPDATE jobqueue SET cmds = 
> 4 WHERE chanid = '1012' AND starttime = '2006-01-16T23:25:41' 
> AND status <> 320;
> 2006-01-19 01:50:20.064 MSqlQuery: SELECT id FROM jobqueue 
> WHERE chanid = '1012' and starttime = '2006-01-16T23:25:41' 
> AND status NOT IN (272,288,304,320);
> 2006-01-19 01:50:20.065 MSqlQuery: SELECT id FROM jobqueue 
> WHERE chanid = '1012' and starttime = '2006-01-16T23:25:41' 
> AND status NOT IN (272,288,304,320);
> 2006-01-19 01:50:20.068 MSqlQuery: DELETE FROM jobqueue WHERE 
> chanid = '1012' AND starttime = '2006-01-16T23:25:41';
> 2006-01-19 01:50:20.068 About to unlink/delete file:
> /myth/1012_20060116232541.mpg
> 2006-01-19 01:50:22.078 MSqlQuery: DELETE FROM recorded WHERE 
> chanid = '1012' AND title = 'Sports Tonight' AND starttime = 
> '2006-01-16T23:25:41';
> 2006-01-19 01:50:22.079 MSqlQuery: SELECT COUNT(*) FROM 
> recorded WHERE chanid = '1012' AND progstart = '2006-01-16T23:00:00';
> 2006-01-19 01:50:23.084 write -> 14 51
> BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
> 2006-01-19 01:50:24.554 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120912' , 9 , '4282522688' );
> 2006-01-19 01:50:24.556 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120924' , 9 , '4282937980' );
> 2006-01-19 01:50:24.560 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120936' , 9 , '4283369628' );
> 2006-01-19 01:50:24.561 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120948' , 9 , '4283796200' );
> 2006-01-19 01:50:24.565 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120960' , 9 , '4284222020' );
> 2006-01-19 01:50:24.567 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120972' , 9 , '4284638064' );
> 2006-01-19 01:50:24.571 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120984' , 9 , '4285070276' );
> 2006-01-19 01:50:24.572 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '120996' , 9 , '4285497036' );
> 2006-01-19 01:50:24.574 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121008' , 9 , '4285920788' );
> 2006-01-19 01:50:24.578 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121020' , 9 , '4286337960' );
> 2006-01-19 01:50:24.582 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121032' , 9 , '4286772052' );
> 2006-01-19 01:50:24.586 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121044' , 9 , '4287196368' );
> 2006-01-19 01:50:24.590 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121056' , 9 , '4287622564' );
> 2006-01-19 01:50:24.594 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121068' , 9 , '4288048760' );
> 2006-01-19 01:50:24.598 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121080' , 9 , '4288473452' );
> 2006-01-19 01:50:24.602 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121092' , 9 , '4288903032' );
> 2006-01-19 01:50:24.606 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121104' , 9 , '4289329792' );
> 2006-01-19 01:50:24.610 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121116' , 9 , '4289744520' );
> 2006-01-19 01:50:24.614 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121128' , 9 , '4290166956' );
> 2006-01-19 01:50:24.618 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121140' , 9 , '4290589016' );
> 2006-01-19 01:50:24.622 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121152' , 9 , '4291021604' );
> 2006-01-19 01:50:24.626 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121164' , 9 , '4291449116' );
> 2006-01-19 01:50:24.630 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121176' , 9 , '4291876064' );
> 2006-01-19 01:50:24.634 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121188' , 9 , '4292299440' );
> 2006-01-19 01:50:24.637 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121200' , 9 , '4292724696' );
> 2006-01-19 01:50:24.644 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121212' , 9 , '4293149576' );
> 2006-01-19 01:50:24.646 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121224' , 9 , '4293575584' );
> 2006-01-19 01:50:24.647 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121236' , 9 , '4293991628' );
> 2006-01-19 01:50:24.651 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121248' , 9 , '4294423276' );
> 2006-01-19 01:50:24.670 MSqlQuery: INSERT INTO recordedmarkup 
> (chanid, starttime, mark, type, offset) VALUES ( '1002' , 
> '2006-01-19T00:30:00' , '121260' , 9 , '4294851164' );
> 2006-01-19 01:50:24.672 MSqlQuery: UPDATE recorded SET 
> filesize = '4294851164' WHERE chanid = '1002' AND starttime = 
> '2006-01-19T00:30:00' ;
> 2006-01-19 01:50:24.698 TFW: safe_write(): funky usleep File 
> size limit exceeded
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 




More information about the mythtv-dev mailing list