<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Ufffff ... Thank you so much Ellie, now it works fine. <br>
    Right now I was fighting against my rusty gdb knowledge, although I
    had almost defeated him ;)<br>
    <br>
    Cheers,<br>
    Carlos<br>
    <br>
    <div class="moz-cite-prefix">El 17/06/2019 a las 2:44, ellie timoney
      escribió:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ed2890be-6d00-4f80-aa5a-e9c0dd7a60ac@www.fastmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title></title>
      <style type="text/css">
p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
      <div>Hi Carlos,<br>
      </div>
      <div><br>
      </div>
      <div>Sudden overnight intuition, and I think this will fix the
        issue -- the problem isn't that the lseek is failing at >2GB;
        the problem is that its off_t return value is being truncated to
        an int before being checked to see if it's negative for the
        error case (so any "I succeeded, the offset is > 2GB"
        response looks like "negative, it's an error"). Doh!<br>
      </div>
      <div><br>
      </div>
      <div>I think this will fix the immediate issue:<br>
      </div>
      <div><a
href="https://github.com/cyrusimap/cyrus-imapd/commit/63f8c09fa2076c0e2fa55436e071e3e341fe48b6"
          moz-do-not-send="true">https://github.com/cyrusimap/cyrus-imapd/commit/63f8c09fa2076c0e2fa55436e071e3e341fe48b6</a><br>
      </div>
      <div><br>
      </div>
      <div>But then I found and fixed some similar ones:<br>
      </div>
      <div><a
href="https://github.com/cyrusimap/cyrus-imapd/commit/0930d3af4ed9bd44d328db8cfa4d9f2e2be7bada"
          moz-do-not-send="true">https://github.com/cyrusimap/cyrus-imapd/commit/0930d3af4ed9bd44d328db8cfa4d9f2e2be7bada</a><br>
      </div>
      <div><br>
      </div>
      <div>Remains to be seen whether more similar issues pop up --
        since no-one's tripped over this previously, I guess you're the
        first person to try this with a >2GB backup file :(<br>
      </div>
      <div><br>
      </div>
      <div>Cheers,<br>
      </div>
      <div><br>
      </div>
      <div>ellie</div>
      <div><br>
      </div>
      <div>On Fri, Jun 14, 2019, at 3:50 PM, ellie timoney wrote:<br>
      </div>
      <blockquote type="cite" id="qt">
        <div>Hi Carlos,<br>
        </div>
        <div><br>
        </div>
        <div>This is quite weird, I'm not sure why a 64bit platform
          would have any trouble around the 2GB mark??<br>
        </div>
        <div><br>
        </div>
        <div>What does the Cyrus ./configure report for your system's
          integer sizes?  e.g. mine shows:<br>
        </div>
        <div><br>
        </div>
        <blockquote type="cite">
          <div>checking size of int... 4 <br>
          </div>
          <div>checking size of long... 8 <br>
          </div>
          <div>checking size of size_t... 8 <br>
          </div>
          <div>checking size of off_t... 8 <br>
          </div>
          <div>checking size of time_t... 8 <br>
          </div>
          <div>checking size of long long int... 8 <br>
          </div>
          <div>checking size of unsigned long long int... 8 <br>
          </div>
          <div>checking whether byte ordering is bigendian... no<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div>What's your level of comfort with C debugging?  It'd be
          very helpful to see a core file+binary from the time that
          lseek error occurs?<br>
        </div>
        <div><br>
        </div>
        <div>Cheers,<br>
        </div>
        <div><br>
        </div>
        <div>ellie<br>
        </div>
        <div><br>
        </div>
        <div>On Fri, Jun 7, 2019, at 1:58 AM, Carlos Larrañaga wrote:<br>
        </div>
        <blockquote id="qt-qt" type="cite">
          <div><span style="font-family:Calibri" class="font">Hi Ellie,<br>
              <br>
              Thanks for answering. We use latest 64bit Oracle Linux </span><span
              style="font-family:Calibri" class="font">(not CentOs like
              I said before, sorry) and zlib is also 64bit version:</span></div>
          <blockquote>
            <div><span style="font-family:menlo, consolas, "courier
                new", monospace" class="font"># uname -a</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">Linux
                xxx 3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14
                17:35:45 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"># yum
                list installed zlib</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">Loaded
                plugins: langpacks, ulninfo</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">Installed
                Packages</span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">zlib.x86_64                    
                1.2.7-18.el7                      @ol7_latest<br>
                <br>
                # lsof -p 17005 |grep lib |grep -i z<br>
                backupd 17005 cyrus  mem    REG              253,0     
                90248   134400930 /usr/lib64/libz.so.1.2.7<br>
                <br>
                # file /usr/lib64/libz.so.1.2.7<br>
                /usr/lib64/libz.so.1.2.7: ELF 64-bit LSB shared object,
                x86-64, version 1 (SYSV), dynamically linked,
                BuildID[sha1]=b9d5f73428bd6ad68c96986b57bea3b7cedb9745,
                stripped<br>
                <br>
                # rpm -qf /usr/lib64/libz.so.1.2.7<br>
                zlib-1.2.7-18.el7.x86_64</span></div>
          </blockquote>
          <div><span style="font-family:Calibri" class="font">I have
              summarized here some information about the backupd error
              reading the file descriptor 15, which is a backup larger
              than 2GB. The error is logged 1755 times. Instead, there
              is no error for fd 12, which is a backup of less than 2
              GB:</span><br>
          </div>
          <blockquote><span style="font-family:menlo, consolas,
              "courier new", monospace" class="font">
              <div><span style="font-family:menlo, consolas,
                  "courier new", monospace" class="font"><b>#--
                    CLIENT SIDE</b></span><br>
              </div>
            </span><span style="font-family:menlo, consolas,
              "courier new", monospace" class="font"><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><span
                  style="font-family:menlo, consolas, "courier
                  new", monospace" class="font"><span
                    style="font-family:menlo, consolas, "courier
                    new", monospace" class="font"><span
                      style="font-family:menlo, consolas, "courier
                      new", monospace" class="font">
                      <div><span style="font-family:menlo, consolas,
                          "courier new", monospace"
                          class="font"><b>-----------------------------------------------</b></span><br>
                      </div>
                    </span></span></span>
                <div><br>
                </div>
                <div><br>
                </div>
                <div># time sync_client -v -o -n backup -A<br>
                </div>
                <div>Thu Jun  6 17:08:02 CEST 2019<br>
                </div>
                <div>USER aaa<br>
                </div>
                <div>QUOTA user.aaa<br>
                </div>
                <div>USER ccc<br>
                </div>
                <div>Error from do_user(ccc): bailing out!<br>
                </div>
                <div><br>
                </div>
                <div>real    30m16.223s<br>
                </div>
                <div>user    0m0.006s<br>
                </div>
                <div>sys     0m0.006s<br>
                </div>
                <div><br>
                </div>
              </span></span>
            <div><br>
            </div>
            <span style="font-family:menlo, consolas, "courier
              new", monospace" class="font"><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><span
                  style="font-family:menlo, consolas, "courier
                  new", monospace" class="font">
                  <div><span style="font-family:menlo, consolas,
                      "courier new", monospace" class="font"><b>#--
                        BACKUP SERVER SIDE
                        ----------------------------------------</b></span><br>
                  </div>
                </span>
                <div># LOGFILE<br>
                </div>
                <div><br>
                </div>
              </span>
              <div># tail -f /var/log/imapd.log<br>
              </div>
              <div>Jun  6 17:09:11 bcrux cyrus/backupd[2584]: IOERROR:
                gzuc_read: lseek 15: No such file or directory<br>
              </div>
              <div>Jun  6 17:09:11 bcrux cyrus/backupd[2584]: IOERROR:
                gzuc_read: lseek 15: No such file or directory<br>
              </div>
              <div>Jun  6 17:09:11 bcrux cyrus/backupd[2584]: IOERROR:
                gzuc_read: lseek 15: No such file or directory<br>
              </div>
              <div>Jun  6 17:09:11 bcrux cyrus/backupd[2584]: IOERROR:
                gzuc_read: lseek 15: No such file or directory<br>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
            </span><span style="font-family:menlo, consolas,
              "courier new", monospace" class="font">
              <div><span style="font-family:menlo, consolas,
                  "courier new", monospace" class="font"><b>#
                    lsof of the backupd PROCESS<br>
                  </b></span># lsof -P -p 2584                     </div>
            </span>
            <div><span style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">COMMAND 
                PID  USER   FD   TYPE             DEVICE  
                SIZE/OFF        NODE NAME</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  cwd    DIR              253,0      
                4096         128 /</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  rtd    DIR              253,0      
                4096         128 /</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  txt    REG              253,0     768632  
                939542214 /usr/local/cyrus/libexec/backupd</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      37208  
                135746334 /usr/lib64/libnss_sss.so.2</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      31416  
                134406707 /usr/lib64/libnss_dns-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      61632  
                134406709 /usr/lib64/libnss_files-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      43336   
                68814977 /usr/lib64/sasl2/webmail.so.0.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      57960   
                68856627 /usr/lib64/sasl2/libdigestmd5.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      24232   
                68797220 /usr/lib64/sasl2/libcrammd5.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      20088   
                68797044 /usr/lib64/sasl2/libplain.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      20056   
                68797036 /usr/lib64/sasl2/liblogin.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    1845816  
                135873512 /usr/lib64/libdb-5.3.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      28272   
                67113426 /usr/lib64/sasl2/libsasldb.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      20064   
                67113423 /usr/lib64/sasl2/libanonymous.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      11448  
                135872733 /usr/lib64/libfreebl3.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     155784  
                134400716 /usr/lib64/libselinux.so.1</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      15464  
                134401447 /usr/lib64/libkeyutils.so.1.5</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      40672  
                134399432 /usr/lib64/libcrypt-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     105824  
                134781819 /usr/lib64/libresolv-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      53944  
                134406785 /usr/lib64/libjansson.so.4.10.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      88776  
                135352942 /usr/lib64/libgcc_s-4.8.5-20150702.so.1</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    1137032  
                134400337 /usr/lib64/libm-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     991616  
                135352396 /usr/lib64/libstdc++.so.6.0.19</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      19296  
                134399434 /usr/lib64/libdl-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     142008  
                134722750 /usr/lib64/libpthread-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    2151704  
                134365659 /usr/lib64/libc-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     753232  
                134401161 /usr/lib64/libsqlite3.so.0.8.6</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      90248  
                134400930 /usr/lib64/libz.so.1.2.7</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      11128  
                134400947 /usr/lib64/libpcreposix.so.0.0.1</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     402384  
                134400940 /usr/lib64/libpcre.so.1.2.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      67104  
                135269427 /usr/lib64/libkrb5support.so.0.1</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      15920  
                135873508 /usr/lib64/libcom_err.so.2.1</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     210832  
                134781960 /usr/lib64/libk5crypto.so.3.1</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     967864  
                134781967 /usr/lib64/libkrb5.so.3.3</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     320400  
                134781952 /usr/lib64/libgssapi_krb5.so.2.2</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     115856  
                134400341 /usr/lib64/libnsl-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      42168  
                134401419 /usr/lib64/libwrap.so.0.7.6</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    2516640  
                134400708 /usr/lib64/libcrypto.so.1.0.2k</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     470360  
                134400711 /usr/lib64/libssl.so.1.0.2k</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     121208  
                134401258 /usr/lib64/libsasl2.so.3.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    2898664  
                838888996 /usr/local/cyrus/lib/libcyrus_imap.so.0.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     599528  
                838888999 /usr/local/cyrus/lib/libcyrus_sieve.so.0.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0      20112  
                134406704 /usr/lib64/libuuid.so.1.3.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0   20781704  
                136182553 /usr/lib64/libicudata.so.50.1.2</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    1539544  
                136197152 /usr/lib64/libicuuc.so.50.1.2</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     553264  
                838890012 /usr/local/cyrus/lib/libcyrus_min.so.0.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0    1961968  
                838888994 /usr/local/cyrus/lib/libcyrus.so.0.0.0</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus  mem    REG              253,0     163408  
                134355369 /usr/lib64/ld-2.17.so</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    0u  IPv4            2092952       
                0t0         TCP
                hostb1.upv.es:2005->host1.upv.es:27107 (ESTABLISHED)</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    1u  IPv4            2092952       
                0t0         TCP
                hostb1.upv.es:2005->host1.upv.es:27107 (ESTABLISHED)</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    2u  IPv4            2092952       
                0t0         TCP
                hostb1.upv.es:2005->host1.upv.es:27107 (ESTABLISHED)</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    3w  FIFO                0,9        0t0    
                2141764 pipe</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    4u  IPv4            2141763       
                0t0         TCP hostb1.upv.es:2005 (LISTEN)</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    5u   REG               0,20         
                0       86644 /run/cyrus-b1/socket/backupd-0.lock</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    6r  FIFO                0,9        0t0    
                2141754 pipe</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    7w  FIFO                0,9        0t0    
                2141754 pipe</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    8r  FIFO                0,9        0t0    
                2141755 pipe</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus    9w  FIFO                0,9        0t0    
                2141755 pipe</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   10u  unix 0xffff9d9df53d4400        0t0    
                2093417 socket</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   11w   REG              253,5        680
                18253611600 /b1/lib/log/admin/backupd-2584</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   12uW  REG              253,5  976281587
                13958644353 /b1/bck/b1/a/aaa_ouuUx9</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   13ur  REG              253,5    3573760
                13958644354 /b1/bck/b1/a/aaa_ouuUx9.index</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   14u   REG              253,5       2576
                13958644355 /b1/bck/b1/a/aaa_ouuUx9.index-journal</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   15uW  REG              253,5 3104341527
                12884902595 /b1/bck/b1/c/ccc_Mqmymx</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">backupd
                2584 cyrus   16u   REG              253,5   47927296
                12884902596 /b1/bck/b1/c/ccc_Mqmymx.index</span><span
                style="font-family:Calibri" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><b>#
                  BACKUP SIZES</b><br>
                # ls -lh /b1/bck/b1/a/*</span></div>
            <span style="font-family:menlo, consolas, "courier
              new", monospace" class="font">
              <div><span style="font-family:menlo, consolas,
                  "courier new", monospace" class="font">/b1/bck/b1/c</span><span
                  style="font-family:menlo, consolas, "courier
                  new", monospace" class="font">/*</span>       <br>
              </div>
              <div><b>-rw------- 1 cyrus mail 932M Jun  6 17:08</b><br>
              </div>
            </span><span style="font-family:menlo, consolas,
              "courier new", monospace" class="font">
              <div><span style="font-family:menlo, consolas,
                  "courier new", monospace" class="font">/b1/bck/b1/a/</span><b>aaa_ouuUx9</b><br>
              </div>
              <div>-rw------- 1 cyrus mail 3.5M Jun  6 16:46<br>
              </div>
            </span><span style="font-family:menlo, consolas,
              "courier new", monospace" class="font">
              <div><span style="font-family:menlo, consolas,
                  "courier new", monospace" class="font">/b1/bck/b1/a/</span>aaa_ouuUx9.index<br>
              </div>
              <div>-rw------- 1 cyrus mail 2.6K Jun  6 17:08<br>
              </div>
            </span><span style="font-family:menlo, consolas,
              "courier new", monospace" class="font">
              <div><span style="font-family:menlo, consolas,
                  "courier new", monospace" class="font">/b1/bck/b1/a/</span>aaa_ouuUx9.index-journal<br>
              </div>
            </span>
            <div><span style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">-rw-------
                1 cyrus mail 2.9G Jun  6 17:01 /b1/bck/b1/c/ccc_Mqmymx</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">-rw-------
                1 cyrus mail  46M Jun  6 17:01
                /b1/bck/b1/c/ccc_Mqmymx.index</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
                <b># IMAP SESSION DEBUG</b><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"># cat
                /b1/lib/log/admin/backupd-2584</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">----------
                admin Thu Jun  6 17:08:02 2019</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><1559833682<COMPRESS
                DEFLATE</span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">>1559833682>OK
                DEFLATE active</span><span style="font-family:menlo,
                consolas, "courier new", monospace"
                class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><1559833682<GET
                USER aaa</span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">>1559833698>*
                MAILBOX %(UNIQUEID acd014aa-7b1d-43c9-b1d3-f97b06540739
                MBOXNAME user.aaa MBOXTYPE NIL LAST_UID 0 HIGHESTMODSEQ
                2 RECENTUID 0 RECENTTIME 0 LAST_APPENDDATE 0
                POP3_LAST_LOGIN 0 POP3_SHOW_AFTER 0 UIDVALIDITY
                1520512152 PARTITION default ACL "aaa    lrswipkxtecdan 
                group:super     lrswipkxtecdan  " OPTIONS P SYNC_CRC 0
                SYNC_CRC_ANNOT 0 QUOTAROOT NIL XCONVMODSEQ 0)</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">OK
                Success</span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><1559833698<APPLY
                QUOTA %(ROOT user.aaa LIMIT 5120000 STORAGE 5120000)</span><span
                style="font-family:menlo, consolas, "courier
                new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font">>1559833698>OK
                Success</span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><br>
              </span><span style="font-family:menlo, consolas,
                "courier new", monospace" class="font"><1559833698<GET
                USER ccc</span></div>
          </blockquote>
          <div><br>
          </div>
          <div>Best regards,<br>
          </div>
          <div>Carlos<br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div class="qt-qt-moz-cite-prefix">El 06/06/2019 a las 4:04,
            ellie timoney escribió:<br>
          </div>
          <blockquote type="cite"
            cite="mid:aa7f8715-912c-4991-ae59-6c97d2b595a8@www.fastmail.com">
            <div>It kinda sounds like your platform might be 32bit? Or
              your zlib is compiled to use 32bit integer sizes?<br>
            </div>
            <div><br>
            </div>
            <div>On Mon, Jun 3, 2019, at 10:07 PM, Carlos Larrañaga
              wrote:<br>
            </div>
            <blockquote type="cite" id="qt-qt-qt">
              <div><span style="" class="qt-qt-font">Hi,</span><span
                  style="" class="qt-qt-font"><br>
                </span><span style="" class="qt-qt-font"><br>
                </span><span style="" class="qt-qt-font">We're testing
                  backup feature un cyrus-imapd 3.0.10. There's no
                  problem when backup is created first time, but when
                  the backup already exists and is larger than 2GB, we
                  get the following error from the backupd: </span><span
                  style="" class="qt-qt-font"></span></div>
              <blockquote>
                <div><span style="" class="qt-qt-font">cyrus/backupd[xxxx]:
                    IOERROR: gzuc_read: lseek 12: No such file or
                    directory</span><span style="" class="qt-qt-font"></span><br>
                </div>
              </blockquote>
              <div><span style="" class="qt-qt-font">As said, it happens
                  only when </span><span style="" class="qt-qt-font">then
                  backup file already exists and is larger than 2GB</span><span
                  style="" class="qt-qt-font">. The backupd process
                  keeps reading de compressed backup file til
                  sync_client exit with "Error from sync_do_user(xxx):
                  bailing out!".<br>
                  <br>
                  We use xfs with latest CentOs. Seems like backupd is
                  unable to read the compressed backup file.<br>
                  <br>
                  Anyone else with this problem? Any idea how to fix it?
                  <br>
                </span><span style="" class="qt-qt-font">Thanks in
                  advance for your help.<br>
                  <br>
                  Best regards,<br>
                  Carlos.</span></div>
              <div>----<br>
              </div>
              <div>Cyrus Home Page: <a
                  class="qt-qt-moz-txt-link-freetext"
                  href="http://www.cyrusimap.org/"
                  moz-do-not-send="true">http://www.cyrusimap.org/</a><br>
              </div>
              <div>List Archives/Info: <a
                  class="qt-qt-moz-txt-link-freetext"
                  href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/"
                  moz-do-not-send="true">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
              </div>
              <div>To Unsubscribe:<br>
              </div>
              <div><a class="qt-qt-moz-txt-link-freetext"
                  href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus"
                  moz-do-not-send="true">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br>
              </div>
              <div><br>
              </div>
              <div><b>Attachments:</b><br>
              </div>
              <ul>
                <li>smime.p7s<br>
                </li>
              </ul>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <pre class="qt-qt-moz-quote-pre" wrap="">----
Cyrus Home Page: <a class="qt-qt-moz-txt-link-freetext" href="http://www.cyrusimap.org/" moz-do-not-send="true">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="qt-qt-moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" moz-do-not-send="true">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="qt-qt-moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" moz-do-not-send="true">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
</pre>
          </blockquote>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><b>Attachments:</b><br>
          </div>
          <ul>
            <li>smime.p7s<br>
            </li>
          </ul>
        </blockquote>
        <div><br>
        </div>
        <div>----<br>
        </div>
        <div>Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br>
        </div>
        <div>List Archives/Info:
          <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
        </div>
        <div>To Unsubscribe:<br>
        </div>
        <div><a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br>
        </div>
      </blockquote>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
    </blockquote>
    <br>
  </body>
</html>