Re: Cyrus with a NFS storage. random DBERROR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ram@xxxxxxxxxxxxx>:

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: michael.menge@xxxxxxxxxxxxxxxxxxxx
Waechterstrasse 76
72074 Tuebingen

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux