<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Bitstream Vera Sans">
<p><span style="font-family:Courier">greg at phaze wrote:</span></p>
<p><span style="font-family:Courier">&gt;</span></p>
<p><span style="font-family:Courier">&gt;&gt; About 18-24 months ago, mythweb's recorded programs page would cause</span></p>
<p><span style="font-family:Courier">&gt;&gt; mythbackend to go to 100%.</span></p>
<p><span style="font-family:Courier">&gt;</span></p>
<p><span style="font-family:Courier">&gt;</span></p>
<p><span style="font-family:Courier">&gt;When it goes to 100% check to see if it's the one spawned off to make the &gt;thumbnail previews. It will have a parameter like --generate-preview or some &gt;such so it should be obvious. I've personally not had a backend preview 100% &gt;issue in a long time but I have in the past.</span></p>
<p></p>
<p>To recreate the bug, all I had to do was go to mythweb and refresh the recorded programs page twice.</p>
<p></p>
<p><span style="font-family:Courier">top two for top:</span></p>
<p><span style="font-family:Courier">5726 root      18  -2  621m 133m  20m S  197  3.4  16:22.84 mythbackend</span></p>
<p><span style="font-family:Courier">8134 root      19  -1  566m 153m  31m S   11  3.9 110:11.85 mythfrontend</span></p>
<p></p>
<p><span style="font-family:Courier">process 5726 is taking 200% -- 100% on two out of the three cpus of my tripple core amd phenom</span></p>
<p></p>
<p><span style="font-family:Courier">ps -ef | grep 5726:</span></p>
<p><span style="font-family:Courier"> root      5726  5721  1 Jun19 ?        00:20:25 /usr/local/bin/mythbackend -l /home/mythtv/mythbackend.log</span></p>
<p></p>
<p>tail of mythbackend.log:</p>
<p>2009-06-20 13:59:41.782 New DB connection, total: 1</p>
<p>2009-06-20 13:59:41.788 Connected to database 'mythconverg' at host: localhost</p>
<p>2009-06-20 13:59:41.790 Closing DB connection named 'DBManager0'</p>
<p>2009-06-20 13:59:41.790 Deleting UPnP client...</p>
<p>2009-06-20 13:59:43.684 Connected to database 'mythconverg' at host: localhost</p>
<p>2009-06-20 13:59:43.686 New DB connection, total: 2</p>
<p>2009-06-20 13:59:43.687 Connected to database 'mythconverg' at host: localhost</p>
<p>2009-06-20 13:59:43.689 Current Schema Version: 1214</p>
<p>2009-06-20 13:59:44.292 AFD Error: Could not find codec parameters. file was &quot;/mnt/store/11085_20090602180000.mpg&quot;.</p>
<p>2009-06-20 13:59:44.293 Couldn't open decoder for: /mnt/store/11085_20090602180000.mpg</p>
<p>2009-06-20 13:59:44.294 NVP, Error: Could not open file for preview.</p>
<p>2009-06-20 13:59:44.296 Preview Error: Run() file not local: '/mnt/store/11085_20090602180000.mpg'</p>
<p>2009-06-20 13:59:44.303 Preview Error: Preview process not ok.</p>
<p>                        fileinfo(/mnt/store/11085_20090602180000.mpg.png) exists: 0 readable: 0 size: 0</p>
<p>QSocketDevice::writeBlock: Invalid socket</p>
<p>2009-06-20 14:00:20.569 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min</p>
<p>2009-06-20 14:02:13.798 HDHRChan(101291c5/0): device found at address 192.168.1.101</p>
<p></p>
</body></html>