<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-forward-container"><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" cellspacing="0"
        cellpadding="0" border="0">
        <tbody>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Subject:
            </th>
            <td>[mapserver/mapcache] Berkeley DB - BDB0058 illegal page
              type or format (#226)</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Date: </th>
            <td>Mon, 03 Feb 2020 02:02:59 -0800</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">From: </th>
            <td>asteinereurofunk <a class="moz-txt-link-rfc2396E" href="mailto:notifications@github.com"><notifications@github.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Reply-To:
            </th>
            <td>mapserver/mapcache
<a class="moz-txt-link-rfc2396E" href="mailto:reply+AIZNBQGCLNNXIU6SCHKWGUV4IURFHEVBNHHCCUJ7PU@reply.github.com"><reply+AIZNBQGCLNNXIU6SCHKWGUV4IURFHEVBNHHCCUJ7PU@reply.github.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">To: </th>
            <td>mapserver/mapcache <a class="moz-txt-link-rfc2396E" href="mailto:mapcache@noreply.github.com"><mapcache@noreply.github.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap="nowrap" align="RIGHT">CC: </th>
            <td>Subscribed <a class="moz-txt-link-rfc2396E" href="mailto:subscribed@noreply.github.com"><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;-webkit-text-size-adjust:none;color:#666;">—<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"
          moz-do-not-send="true">view it on GitHub</a>, or <a
href="https://github.com/notifications/unsubscribe-auth/AIZNBQHCNB2LN3AER7MKTODRA7TVHANCNFSM4KPCI3GQ"
          moz-do-not-send="true">unsubscribe</a>.<img
src="https://github.com/notifications/beacon/AIZNBQAICERPHMPNIO6LD4TRA7TVHA5CNFSM4KPCI3G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKRH56Q.gif"
          alt="" moz-do-not-send="true" width="1" height="1"></p>
      <script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/mapserver/mapcache/issues/226?email_source=notifications\u0026email_token=AIZNBQATBIVYKK35TMHKGI3RA7TVHA5CNFSM4KPCI3G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKRH56Q",
"url": "https://github.com/mapserver/mapcache/issues/226?email_source=notifications\u0026email_token=AIZNBQATBIVYKK35TMHKGI3RA7TVHA5CNFSM4KPCI3G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKRH56Q",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
    </div>
  </body>
</html>