inercia
September 28th, 2008, 01:29 PM
Hi all,
I have noticed that sometimes Boxee takes 100% CPU when watching a video, eating a lot of memory too.
Processes: 65 total, 4 running, 61 sleeping... 256 threads 19:14:13
Load Avg: 1.39, 0.86, 0.60 CPU usage: 42.18% user, 16.11% sys, 41.71% idle
SharedLibs: num = 8, resident = 12M code, 368K data, 1416K linkedit.
MemRegions: num = 8051, resident = 1769M + 3028K private, 22M shared.
PhysMem: 252M wired, 1190M active, 593M inactive, 2039M used, 9132K free.
VM: 8417M + 371M 7013243(414) pageins, 6439230(630) pageouts
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
25436 Boxee 104.7% 50:09.88 29 1655 3405 1733M- 1232K 1670M- 3411M
33410 top 5.3% 0:00.61 1 19 34 912K 172K 1500K 19M
0 kernel_tas 2.6% 30:22.89 55 2 539 5836K 0 76M+ 286M
2734 boxee-rtor 1.7% 32:42.87 1 15 99 7224K- 332K 7644K+ 43M
...
xbmc.log usually ends with something like this:
...
19:15:38 T:2984472576 M: 12521472 ERROR: - Timeout waiting for previous frame to be presented
19:15:39 T:2965147648 M: 15458304 ERROR: Server returned: 404 Not Found
19:15:39 T:2965147648 M: 15097856 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:39 T:2967277568 M: 14413824 ERROR: SQLite: The database file is locked
Query: select * from media_folders where strPath='/Volumes/Media/Music/Library/The Life Aquatic With Steve Zissou/The Life Aquatic With Steve Zissou/' and strType='musicFold
er'
19:15:39 T:2964615168 M: 13561856 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='unresolved', iDateStatus=1222622136, iNeedsRescan=iNeedsRescan-1 where strPath='/Volumes/Media/Movies/Series/Sex and The City/Seas
on 1/DVD 1/VIDEO_TS/'
19:15:39 T:2965147648 M: 13377536 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:39 T:2984472576 M: 12472320 ERROR: - Timeout waiting for previous frame to be presented
19:15:40 T:2965147648 M: 12091392 ERROR: Server returned: 404 Not Found
19:15:40 T:2965147648 M: 12677120 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:40 T:2965147648 M: 14802944 ERROR: Server returned: 404 Not Found
19:15:40 T:2965147648 M: 14532608 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:40 T:2964615168 M: 13479936 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='unresolved', iDateStatus=1222622136, iNeedsRescan=iNeedsRescan-1 where strPath='/Volumes/Media/Movies/Series/Sex and The City/Seas
on 1/DVD 1/VIDEO_TS/'
19:15:40 T:2984472576 M: 13017088 ERROR: - Timeout waiting for previous frame to be presented
19:15:41 T:2965147648 M: 11853824 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:41 T:2965147648 M: 14229504 ERROR: Server returned: 404 Not Found
19:15:41 T:2965147648 M: 13684736 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:41 T:2967277568 M: 12226560 ERROR: SQLite: The database file is locked
Query: select * from media_folders where strPath='/Volumes/Media/Music/Library/The Libertines/'
19:15:41 T:2984472576 M: 14082048 ERROR: - Timeout waiting for previous frame to be presented
19:15:42 T:2964615168 M: 14057472 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='unresolved', iDateStatus=1222622136, iNeedsRescan=iNeedsRescan-1 where strPath='/Volumes/Media/Movies/Series/Sex and The City/Seas
on 1/DVD 1/VIDEO_TS/'
19:15:42 T:2965147648 M: 13901824 ERROR: Server returned: 404 Not Found
19:15:42 T:2965147648 M: 13877248 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:42 T:2965147648 M: 14839808 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:43 T:2984472576 M: 14323712 ERROR: - Timeout waiting for previous frame to be presented
19:15:43 T:2965147648 M: 12664832 ERROR: Server returned: 404 Not Found
19:15:43 T:2965147648 M: 12304384 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:43 T:2965147648 M: 14643200 ERROR: Server returned: 404 Not Found
19:15:43 T:2965147648 M: 14364672 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:44 T:2964615168 M: 12005376 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='resolving', iDateStatus=1222622143 where idFolder=2234
19:15:44 T:2984472576 M: 12410880 ERROR: - Timeout waiting for previous frame to be presented
19:15:44 T:2965147648 M: 14868480 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:44 T:2965147648 M: 13238272 ERROR: Server returned: 404 Not Found
19:15:44 T:2965147648 M: 13271040 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:45 T:2964615168 M: 14548992 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='resolving', iDateStatus=1222622143 where idFolder=2234
19:15:45 T:2965147648 M: 14307328 ERROR: Server returned: 404 Not Found
19:15:45 T:2965147648 M: 14245888 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:45 T:2984472576 M: 14012416 ERROR: - Timeout waiting for previous frame to be presented
or with a lot of "Timeout waiting for previous frame to be presented" lines.
I have noticed that sometimes Boxee takes 100% CPU when watching a video, eating a lot of memory too.
Processes: 65 total, 4 running, 61 sleeping... 256 threads 19:14:13
Load Avg: 1.39, 0.86, 0.60 CPU usage: 42.18% user, 16.11% sys, 41.71% idle
SharedLibs: num = 8, resident = 12M code, 368K data, 1416K linkedit.
MemRegions: num = 8051, resident = 1769M + 3028K private, 22M shared.
PhysMem: 252M wired, 1190M active, 593M inactive, 2039M used, 9132K free.
VM: 8417M + 371M 7013243(414) pageins, 6439230(630) pageouts
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
25436 Boxee 104.7% 50:09.88 29 1655 3405 1733M- 1232K 1670M- 3411M
33410 top 5.3% 0:00.61 1 19 34 912K 172K 1500K 19M
0 kernel_tas 2.6% 30:22.89 55 2 539 5836K 0 76M+ 286M
2734 boxee-rtor 1.7% 32:42.87 1 15 99 7224K- 332K 7644K+ 43M
...
xbmc.log usually ends with something like this:
...
19:15:38 T:2984472576 M: 12521472 ERROR: - Timeout waiting for previous frame to be presented
19:15:39 T:2965147648 M: 15458304 ERROR: Server returned: 404 Not Found
19:15:39 T:2965147648 M: 15097856 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:39 T:2967277568 M: 14413824 ERROR: SQLite: The database file is locked
Query: select * from media_folders where strPath='/Volumes/Media/Music/Library/The Life Aquatic With Steve Zissou/The Life Aquatic With Steve Zissou/' and strType='musicFold
er'
19:15:39 T:2964615168 M: 13561856 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='unresolved', iDateStatus=1222622136, iNeedsRescan=iNeedsRescan-1 where strPath='/Volumes/Media/Movies/Series/Sex and The City/Seas
on 1/DVD 1/VIDEO_TS/'
19:15:39 T:2965147648 M: 13377536 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:39 T:2984472576 M: 12472320 ERROR: - Timeout waiting for previous frame to be presented
19:15:40 T:2965147648 M: 12091392 ERROR: Server returned: 404 Not Found
19:15:40 T:2965147648 M: 12677120 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:40 T:2965147648 M: 14802944 ERROR: Server returned: 404 Not Found
19:15:40 T:2965147648 M: 14532608 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:40 T:2964615168 M: 13479936 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='unresolved', iDateStatus=1222622136, iNeedsRescan=iNeedsRescan-1 where strPath='/Volumes/Media/Movies/Series/Sex and The City/Seas
on 1/DVD 1/VIDEO_TS/'
19:15:40 T:2984472576 M: 13017088 ERROR: - Timeout waiting for previous frame to be presented
19:15:41 T:2965147648 M: 11853824 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:41 T:2965147648 M: 14229504 ERROR: Server returned: 404 Not Found
19:15:41 T:2965147648 M: 13684736 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:41 T:2967277568 M: 12226560 ERROR: SQLite: The database file is locked
Query: select * from media_folders where strPath='/Volumes/Media/Music/Library/The Libertines/'
19:15:41 T:2984472576 M: 14082048 ERROR: - Timeout waiting for previous frame to be presented
19:15:42 T:2964615168 M: 14057472 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='unresolved', iDateStatus=1222622136, iNeedsRescan=iNeedsRescan-1 where strPath='/Volumes/Media/Movies/Series/Sex and The City/Seas
on 1/DVD 1/VIDEO_TS/'
19:15:42 T:2965147648 M: 13901824 ERROR: Server returned: 404 Not Found
19:15:42 T:2965147648 M: 13877248 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:42 T:2965147648 M: 14839808 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:43 T:2984472576 M: 14323712 ERROR: - Timeout waiting for previous frame to be presented
19:15:43 T:2965147648 M: 12664832 ERROR: Server returned: 404 Not Found
19:15:43 T:2965147648 M: 12304384 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:43 T:2965147648 M: 14643200 ERROR: Server returned: 404 Not Found
19:15:43 T:2965147648 M: 14364672 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:44 T:2964615168 M: 12005376 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='resolving', iDateStatus=1222622143 where idFolder=2234
19:15:44 T:2984472576 M: 12410880 ERROR: - Timeout waiting for previous frame to be presented
19:15:44 T:2965147648 M: 14868480 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/series/79092/all/.zip
19:15:44 T:2965147648 M: 13238272 ERROR: Server returned: 404 Not Found
19:15:44 T:2965147648 M: 13271040 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
19:15:45 T:2964615168 M: 14548992 ERROR: SQLite: The database file is locked
Query: update media_folders set strStatus='resolving', iDateStatus=1222622143 where idFolder=2234
19:15:45 T:2965147648 M: 14307328 ERROR: Server returned: 404 Not Found
19:15:45 T:2965147648 M: 14245888 INFO: Get URL: http://www.thetvdb.com/api/GetSeries.php?seriesname=jericho
19:15:45 T:2984472576 M: 14012416 ERROR: - Timeout waiting for previous frame to be presented
or with a lot of "Timeout waiting for previous frame to be presented" lines.