[mythtv-users] cleaning no more queue slots messages
Ross Boylan
RossBoylan at stanfordalumni.org
Sun May 13 02:33:38 UTC 2012
mythtranscode, and maybe mythcommflag, keep going crazy and filling the
myth log with messages about no more queue slots. At least for me, with
0.24. Here's a python script I wrote to clear the logs. I'm posting it
here in case you find it useful. Released under GPL 3.
Useage:
./noqueue.py mythbackend.log
You can give it multiple log files on the command line. It renames the
file (e.g., to mythbackend.log.old) and puts a new shortened one in its
place. You must manually delete the .old file when you're happy with
the result.
It does not preserve ownership or permissions of the log file (though it
should).
Don't run it with mythbackend running, since mythbackend will continue
trying to write to the old log file.
Obviously this is a stopgap "solution" to the underlying problem.
Enjoy.
Ross Boylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noqueue.py
Type: text/x-python
Size: 1168 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120512/bc1614e5/attachment.py>
More information about the mythtv-users
mailing list