<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 07/03/13 20:03, David Farmer wrote:<br>
    </div>
    <blockquote
cite="mid:CADMpTHNv9F_k1s8LkEAd+ocnQR3wPvwRDcXG13FZiaP0aE+v+g@mail.gmail.com"
      type="cite"><br>
      Ok, so it took a while but I have a recurrence of the problem. A
      quick description of the events before and after I noticed it.&nbsp;
      <div><br>
      </div>
      <div>1. I logged into the HTPC via ssh to see how many
        mythlogserver processes were running, only 1 and cpu usage was
        less than 1%. I then logged out.</div>
      <div>2. I opened mythweb from the same pc as I did the ssh. I
        cancelled a few upcoming recordings that were scheduled via a
        custom search rule. Closed Mythweb.</div>
      <div>3. Ate dinner</div>
      <div>4. I sat in front of the HTPC and checked how many
        mythlogservers were open, 7 or 8 (forgot to count!) of them and
        cpu usage was maximum.</div>
      <div><br>
      </div>
      <div>The log file is huge though, because all this time Shepherd
        (my Australian program listings grabber) was running as a cron
        job. An immediate issues I've noted in the log is</div>
      <div>
        <div><br>
        </div>
        <div>"Mar 07 18:51:20 david-htpc systemd-coredump[2706]: Process
          2672 (mythpreviewgen) dumped core."</div>
      </div>
      <div><br>
      </div>
      <div>Not sure which other messages are important, how should the
        log be uploaded?<br>
        <br>
        <span style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255); display: inline ! important; float: none;">If you grep
          the logs, (say for "bin/mythlogserver"), you ought to<span
            class="Apple-converted-space">&nbsp;</span></span><br
          style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
        <span style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255); display: inline ! important; float: none;">find several
          instances of mythlogserver being started while you were<span
            class="Apple-converted-space">&nbsp;</span></span><br
          style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
        <span style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255); display: inline ! important; float: none;">at dinner.
          Maybe they are all in your mythbackend log, but they<span
            class="Apple-converted-space">&nbsp;</span></span><br
          style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
        <span style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255); display: inline ! important; float: none;">could also be
          in the logs of any other program that ran in that<span
            class="Apple-converted-space">&nbsp;</span></span><br
          style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
        <span style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255); display: inline ! important; float: none;">period:
          mythcommflag (?), mythtranscode, mythpreviewgen, etc.<span
            class="Apple-converted-space">&nbsp;</span></span><br
          style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
        <br style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
        <span style="color: rgb(0, 0, 0); font-size: small; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; background-color: rgb(255, 255,
          255); display: inline ! important; float: none;">Craig<span
            class="Apple-converted-space"> </span></span>
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <br>
      </div>
      <div><br>
      </div>
    </blockquote>
    If I do a "journalctl -b" to get the entire log since the last boot,
    there is no instance of mythlogserver in there. I have to go to
    /var/log/mythtv/mythbackend.20130307033801.953.log to find the
    following lines.<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    2013-03-07 18:51:20.520888 E [953/2173] HttpServer76
    previewgenerator.cpp:255 (Run) - Preview: Encountered problems
    running '/usr/bin/mythpreviewgen --size 100x75 --chanid 1030
    --starttime 20130306142201 --outfile
    "/home/david/MythTV/Recordings/mythRecordings/Paradise_Now_06.03.2013.mkv.-1.100x75.png"
    --verbose general --logpath /var/log/mythtv --loglevel debug
    --quiet' (140)<br>
    <br>
    Most of the log file is entries like the following - there are
    thousands of them!<br>
    <br>
    2013-03-07 18:51:38.361070 E [953/2473] ProcessRequest
    programinfo.cpp:2284 (GetPlaybackURL) -
    ProgramInfo(The_Lord_of_the_Rings_The_Return_of_the_King_21.12.2012.mkv):
    GetPlaybackURL:
    'The_Lord_of_the_Rings_The_Return_of_the_King_21.12.2012.mkv' should
    be local, but it can not be found.<br>
    The recordings that are being referred to are the same set over and
    over again, and have all been deleted a while ago.<br>
    <br>
    I'm also getting the following many times throughout the log. <br>
    2013-03-07 18:51:39.822541 I [953/2065] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Playback<br>
    2013-03-07 18:51:39.822552 I [953/2065] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 0)<br>
    2013-03-07 18:51:39.830338 I [953/2473] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Playback<br>
    2013-03-07 18:51:39.830345 I [953/2473] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 0)<br>
    2013-03-07 18:51:39.859228 I [953/2473] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Monitor<br>
    2013-03-07 18:51:39.859238 I [953/2473] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 1)<br>
    2013-03-07 18:51:39.869480 I [953/2065] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Monitor<br>
    2013-03-07 18:51:39.869491 I [953/2065] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 1)<br>
    2013-03-07 18:51:39.890984 I [953/2065] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Playback<br>
    2013-03-07 18:51:39.890992 I [953/2065] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 0)<br>
    <br>
    and I also get the following.<br>
    <br>
    2013-03-07 18:56:56.922885 I [953/1007] HouseKeeping
    housekeeper.cpp:221 (RunHouseKeeping) - Running housekeeping thread<br>
    2013-03-07 18:59:33.034137 N [953/1008] Expire autoexpire.cpp:264
    (CalcParams) - AutoExpire: CalcParams(): Max required Free Space:
    1.0 GB w/freq: 15 min<br>
    2013-03-07 19:01:59.924596 I [953/1007] HouseKeeping
    housekeeper.cpp:221 (RunHouseKeeping) - Running housekeeping thread<br>
    2013-03-07 19:07:03.926404 I [953/1007] HouseKeeping
    housekeeper.cpp:221 (RunHouseKeeping) - Running housekeeping thread<br>
    2013-03-07 19:08:25.638427 D [953/1013] TaskQueue
    mmulticastsocketdevice.cpp:86 (~MMulticastSocketDevice) -
    MMulticastSocketDevice(239.255.255.250:76): setsockopt -
    IP_DROP_MEMBERSHIP<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eno: Invalid argument (22)<br>
    2013-03-07 19:12:09.928122 I [953/1007] HouseKeeping
    housekeeper.cpp:221 (RunHouseKeeping) - Running housekeeping thread<br>
    2013-03-07 19:14:33.127221 N [953/1008] Expire autoexpire.cpp:264
    (CalcParams) - AutoExpire: CalcParams(): Max required Free Space:
    1.0 GB w/freq: 15 min<br>
    2013-03-07 19:17:14.931691 I [953/1007] HouseKeeping
    housekeeper.cpp:221 (RunHouseKeeping) - Running housekeeping thread<br>
    2013-03-07 19:22:15.933466 I [953/1007] HouseKeeping
    housekeeper.cpp:221 (RunHouseKeeping) - Running housekeeping thread<br>
    2013-03-07 19:22:24.202414 I [953/3271] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Playback<br>
    2013-03-07 19:22:24.202423 I [953/3271] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 0)<br>
    2013-03-07 19:22:24.202941 I [953/3270] ProcessRequest
    mainserver.cpp:1383 (HandleAnnounce) - MainServer::ANN Monitor<br>
    2013-03-07 19:22:24.202950 I [953/3270] ProcessRequest
    mainserver.cpp:1385 (HandleAnnounce) - adding: david-htpc as a
    client (events: 1)<br>
    2013-03-07 19:22:24.204756 I [953/1005] Scheduler scheduler.cpp:2127
    (HandleReschedule) - Reschedule requested for MATCH 0 0 0 -
    MythFillDatabase<br>
    2013-03-07 19:22:24.229373 W [953/3270] ProcessRequest
    mainserver.cpp:5827 (connectionClosed) - MainServer: Unknown socket
    closing MythSocket(0x16cfa40)<br>
    2013-03-07 19:22:24.238686 E [953/3270] ProcessRequest
    mythsocket.cpp:344 (writeStringList) - MythSocket(16cfa40:-1):
    writeStringList: Error, socket went unconnected.<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We wrote 0 of 10 bytes with 1 errors<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; starts with: 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK<br>
    2013-03-07 19:22:24.599929 I [953/1005] Scheduler scheduler.cpp:2240
    (HandleReschedule) - Scheduled 43 items in 0.4 = 0.20 match + 0.01
    check + 0.15 place<br>
    <br>
    Is there anything in these that is really troubling?<br>
  </body>
</html>