<div dir="ltr">Probably need information on the versions of everything MapCache, OS and especially BDB. This is the first issue I can recall seeing related to BDB although I'm not sure how popular it is as a backend.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 7, 2020 at 1:15 AM Jérome Boué <<a href="mailto:jbo-ads@laposte.net">jbo-ads@laposte.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    <p>Hi,</p>
    <p>Has somebody any clue on this issue? I am not familiar with
      Berkeley DB.</p>
    <p>Jérome.<br>
    </p>
    <div><br>
      <br>
      -------- Forwarded Message --------
      <table cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">Subject:
            </th>
            <td>[mapserver/mapcache] Berkeley DB - BDB0058 illegal page
              type or format (#226)</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">Date: </th>
            <td>Mon, 03 Feb 2020 02:02:59 -0800</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">From: </th>
            <td>asteinereurofunk <a href="mailto:notifications@github.com" target="_blank"><notifications@github.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">Reply-To:
            </th>
            <td>mapserver/mapcache
<a href="mailto:reply+AIZNBQGCLNNXIU6SCHKWGUV4IURFHEVBNHHCCUJ7PU@reply.github.com" target="_blank"><reply+AIZNBQGCLNNXIU6SCHKWGUV4IURFHEVBNHHCCUJ7PU@reply.github.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">To: </th>
            <td>mapserver/mapcache <a href="mailto:mapcache@noreply.github.com" target="_blank"><mapcache@noreply.github.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">CC: </th>
            <td>Subscribed <a href="mailto:subscribed@noreply.github.com" target="_blank"><subscribed@noreply.github.com></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <p>Hello, I have a problem when seeding into a Berkeley DB Cache:<br>
        The following error occours:</p>
      <p><strong>seeded 960 tiles, now at z18 x1032 y68<br>
          BDB0058 page 696120: illegal page type or format<br>
          BDB0061 PANIC: Invalid argument<br>
          BDB0060 PANIC: fatal region error detected; run recovery<br>
          BDB1581 File handles still open at environment close<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/__db.001<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/__db.002<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/__db.003<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/OSM.db<br>
          BDB0060 PANIC: fatal region error detected; run recovery<br>
          BDB0060 PANIC: fatal region error detected; run recovery<br>
          BDB0060 PANIC: fatal region error detected; run recovery<br>
          BDB1581 File handles still open at environment close<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/__db.001<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/__db.002<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/__db.003<br>
          BDB1582 Open file handle: /tmp/mapcache/OSM/OSM.db<br>
          BDB0060 PANIC: fatal region error detected; run recovery<br>
          failed to seed tile z18,x1020,y68:<br>
          dbd backend failed on tile_multiset: BDB0087 DB_RUNRECOVERY:
          Fatal error, run database recovery</strong></p>
      <p>After I stopped the seeding process I deleted the temp files
        (__db.00x). Then I watched the WMS source with QGIS. When I look
        at a not seeded tile, mapcache is seeding it successfully and
        the cache is getting bigger.<br>
        Then start the seeding process again and after some tiles the
        error : <strong>BDB0058 page 696120: illegal page type or
          format</strong> occurs again. Restarting Mapcache doesnt help.</p>
      <p style="font-size:small;color:rgb(102,102,102)">—<br>
        You are receiving this because you are subscribed to this
        thread.<br>
        Reply to this email directly, <a href="https://github.com/mapserver/mapcache/issues/226?email_source=notifications&email_token=AIZNBQATBIVYKK35TMHKGI3RA7TVHA5CNFSM4KPCI3G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKRH56Q" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIZNBQHCNB2LN3AER7MKTODRA7TVHANCNFSM4KPCI3GQ" target="_blank">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIZNBQAICERPHMPNIO6LD4TRA7TVHA5CNFSM4KPCI3G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKRH56Q.gif" alt="" width="1" height="1"></p>
      
    </div>
  </div>

_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a></blockquote></div>