[mythtv-users] mythbackend sometimes goes to 100%
Adam Felson
a.f.9 at pobox.com
Sat Jun 20 21:06:37 UTC 2009
greg at phaze wrote:
>
>> About 18-24 months ago, mythweb's recorded programs page would cause
>> mythbackend to go to 100%.
>
>
>When it goes to 100% check to see if it's the one spawned off to make the >thumbnail previews. It will have a parameter like --generate-preview or some >such so it should be obvious. I've personally not had a backend preview 100% >issue in a long time but I have in the past.
To recreate the bug, all I had to do was go to mythweb and refresh the recorded programs page twice.
top two for top:
5726 root 18 -2 621m 133m 20m S 197 3.4 16:22.84 mythbackend
8134 root 19 -1 566m 153m 31m S 11 3.9 110:11.85 mythfrontend
process 5726 is taking 200% -- 100% on two out of the three cpus of my tripple core amd phenom
ps -ef | grep 5726:
root 5726 5721 1 Jun19 ? 00:20:25 /usr/local/bin/mythbackend -l /home/mythtv/mythbackend.log
tail of mythbackend.log:
2009-06-20 13:59:41.782 New DB connection, total: 1
2009-06-20 13:59:41.788 Connected to database 'mythconverg' at host: localhost
2009-06-20 13:59:41.790 Closing DB connection named 'DBManager0'
2009-06-20 13:59:41.790 Deleting UPnP client...
2009-06-20 13:59:43.684 Connected to database 'mythconverg' at host: localhost
2009-06-20 13:59:43.686 New DB connection, total: 2
2009-06-20 13:59:43.687 Connected to database 'mythconverg' at host: localhost
2009-06-20 13:59:43.689 Current Schema Version: 1214
2009-06-20 13:59:44.292 AFD Error: Could not find codec parameters. file was "/mnt/store/11085_20090602180000.mpg".
2009-06-20 13:59:44.293 Couldn't open decoder for: /mnt/store/11085_20090602180000.mpg
2009-06-20 13:59:44.294 NVP, Error: Could not open file for preview.
2009-06-20 13:59:44.296 Preview Error: Run() file not local: '/mnt/store/11085_20090602180000.mpg'
2009-06-20 13:59:44.303 Preview Error: Preview process not ok.
fileinfo(/mnt/store/11085_20090602180000.mpg.png) exists: 0 readable: 0 size: 0
QSocketDevice::writeBlock: Invalid socket
2009-06-20 14:00:20.569 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2009-06-20 14:02:13.798 HDHRChan(101291c5/0): device found at address 192.168.1.101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090620/4188d1e9/attachment.htm>
More information about the mythtv-users
mailing list