<div dir="ltr">On Sun, Jan 13, 2019 at 7:46 AM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="gmail-m_-8487407049386171890moz-cite-prefix">On 1/13/19 8:59 AM, Greg Oliver wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div style="font-family:monospace,monospace">I have
                      replaced my final frontend (well, it used to be a
                      backend/frontend combo) with another Shield.  It
                      is the only Shield running mythfrontend - the rest
                      run Kodi with the PVR plugin.</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">I was on
                      vacation last week and got home to a very close to
                      full disk.  This morning I examined some stuff and
                      deleted a lot of stuff, but it is actually not
                      deleting anything when it says it is ::</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">Please
                      attach all output as a file in bug reports.<br>
                      MythTV Version : v29.1-v29.1-36-gdde16d475a<br>
                      MythTV Branch : fixes/29<br>
                      Network Protocol : 91<br>
                      Library API : 29.20180316-1<br>
                      QT Version : 5.9.6<br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">2019-01-13
                      07:25:52.078053 I [7936/7947] Scheduler
                      scheduler.cpp:2357 (HandleReschedule) - Reschedule
                      requested for CHECK 0 1784 0 DoHandleDelete1 | The
                      X-Files | This | An old friend reaches out to
                      Mulder and Scully in a seemingly impossible way,
                      revealing a chilling secret. | EP000809550227<br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">2019-01-13
                      07:25:52.085202 N [7936/2713] ProcessRequest
                      recordinginfo.cpp:643 (ApplyRecordRecGroupChange)
                      - ApplyRecordRecGroupChange: Default to Deleted
                      (3)<br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">2019-01-13
                      07:38:29.961874 N [7936/7948] Expire
                      autoexpire.cpp:637 (SendDeleteMessages) - Expiring
                      6087 MB for 7041 at 2018-01-11T01:00:00Z =>
                      "The X-Files":This<br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">echo
                      "select * from recorded where title like 'The
                      X-Files%' and subtitle = 'This';"|mysql -umythtv
                      -p mythconverg<br>
                      Enter password: <br>
                      chanid    starttime    endtime    title   
                      subtitle    description    season    episode   
                      category    hostname    bookmark    editing   
                      cutlist    autoexpire    commflagged   
                      recgroup    recordid    seriesid    programid   
                      inetref    lastmodified    filesize    stars   
                      previouslyshown    originalairdate    preserve   
                      findid    deletepending    transcoder   
                      timestretch    recpriority    basename   
                      progstart    progend    playgroup    profile   
                      duplicate    transcoded    watched   
                      storagegroup    bookmarkupdate    recgroupid   
                      recordedid    inputname<br>
                      7041    2018-01-11 01:00:00    2018-01-11
                      02:00:00    The X-Files    This    An old friend
                      reaches out to Mulder and Scully in a seemingly
                      impossible way, revealing a chilling secret.   
                      11    2    Drama    backend-0    0    0    0   
                      9999    1    Deleted    1784    EP00080955   
                      EP000809550227    ttvdb.py_77398    2019-01-13
                      07:38:29    6383132040    0    0    2018-01-10   
                      0    0    1    0    1    0   
                      7041_20180111010000.ts    2018-01-11 01:00:00   
                      2018-01-11 02:00:00    Default    Default    0   
                      00    Default    0000-00-00 00:00:00    3   
                      3992    HDHR0-1<br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">I have
                      deleted over 500 recordings from this Shield and
                      modified the property from 1GB free to 100GB free
                      in settings, yet the system remains at 3.99GB free
                      no matter what I do.</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">Long ago
                      (the original frontend I used on the backend had
                      the setting to immediately delete files and do not
                      delete slowly.</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">I have
                      many many TB of disk since I use my systems for
                      work and I never want mythtv managing my disk
                      space - when I delete it - I want it gone
                      immediately (well, the current 5 minute delay is
                      OK) - I will never have issues with disk speeds
                      when doing deletes.  <br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">Anyone
                      know how to fix this and get it to behave like the
                      old frontend.  Here are my settings from the DB
                      with this regard ::</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">+---------------------------+------+-----------+<br>
                      | value                     | data | hostname  |<br>
                      +---------------------------+------+-----------+<br>
                      | DeletesFollowLinks        | 1    | NULL      |<br>
                      | TruncateDeletesSlowly     | 0    | backend-0 |<br>
                      | AutoExpireInsteadOfDelete | 0    | NULL      |<br>
                      | DeletedFifoOrder          | 0    | NULL      |<br>
                      | DeletedMaxAge             | 0    | NULL      |<br>
                      +---------------------------+------+-----------+</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">Thanks,</div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                    <div style="font-family:monospace,monospace">Greg<br>
                    </div>
                    <div style="font-family:monospace,monospace"><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Are you saying you use the Shield as a mythtv-frontend only and
      it had 500 recording on it??  Or did you just use the Shield to
      delete the recordings from the remote backend?<br>
</p></div><br></blockquote><div><br></div><div style="font-family:monospace,monospace" class="gmail_default">The latter - it is the frontend apk - I am not running a backend on the shield.  The settings I have always used since 2005 when I started running mythtv allowd me to immediately delete files and also disable the property to delete them slowly (this one I believe was introduced around 2009/2010 or so).  I am just having an issue with the backend not deleting stuff when it says it does.  <br></div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">In the past, when the "expiring xxxx of xxxx" message has always showed up, it actually freed the space.  It is not doing that from this frontend as shopwn from the log snippets from before.  I guess I should have shown df before and after.  I just tried restarting the backend in case there were some open handles or something and it went defunt/zombie, so I am rebooting it now.</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">Hmmmm..  Restarting the backend fixed it - it is cleaning up a TB of space now..  Weird..  I have not had this happen before.  Oh well.  Vacation gremlins I suppose...?</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">:)<br></div></div></div>