Re: Cyrus with a NFS storage. random DBERROR

From: Michael Menge (no email)
Date: Wed May 02 2007 - 11:19:22 EDT

  • Next message: Dana Canfield: "Cyrus Quota vs. du"

    Hi,

    Cyrus has 2 problems with NFS.

    1. Cyrus depends on filesystem locking. NFS-4 should have solved this problem
    but i have not tested it.

    2. BerkleyDB uses shared Memory which does not work accros multiple servers.

    You can try to convert all your databases to skipplist and run with
    NFS-4 and proper filesystemlocking.

    But as far as i know only skiplist and GFS is tested in a setup like yours.
    Have a look at the threads on Cyrus and Cluster Filesystem and Cyrus HA.

    Some time ago i wrote a summery of the infos in these threads, and
    wanted to add it to the Wiki, but had no sucsess so far.

    Regards

        Michael

    Quoting ram <>:

    > I testing cyrus with a NFS storage by two *identical* cyrus + postfix
    > servers
    >
    > Both /var/spool/imap and /var/imap are mounted by both servers ( the
    > socket directory is moved out of the mount)
    >
    > Everything seems working fine but I find sometimes dupelim doesnt work.
    > I tried to debug , I get errrors like these in my maillog
    >
    > DBERROR: skiplist recovery /var/imap/deliver.db: ADD at E2C8 exists
    >
    > What could be the reason ?
    >
    > I am using cyrus-imapd 2.3.7 on centos 4.4 on both servers , with a
    > NetAPP box for storage
    >
    > Thanks
    > Ram
    >
    >
    >
    >
    > ----
    > Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    >

    --------------------------------------------------------------------------------
    M.Menge Tel.: (49) 7071/29-70316
    Universitaet Tuebingen Fax.: (49) 7071/29-5912
    Zentrum fuer Datenverarbeitung mail:

    Waechterstrasse 76
    72074 Tuebingen



    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    


  • Next message: Dana Canfield: "Cyrus Quota vs. du"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD