Sync_client or rsync/zfs

Albert Shih <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <Y8kVyUA/[email protected]>
Hi everyone.


When I installed my cyrus imap (3.0.17) server I use sync_client to make two slaves 

  Master -- sync_client --> slave 1 -- sync_client --> slave 2 

but since the beginning I very got a lot of problem with this sync.

Sometime it will be working fine during 1 month , then it will crash every
8 - 10 hours. 

Currently since 20 days my sync_client crash regularly, I've no idea why. 

I got notice/error like 

Jan 19 10:20:37 FQDN sync_client[56922]: Error in do_sync(): bailing out! The remote Server(s) denied the operation
Jan 19 10:21:27 FQDN sync_client[56922]: MAILBOX received NO response: Unknown error
Jan 19 10:21:27 FQDN sync_client[56922]: Error in do_sync(): bailing out! The remote Server(s) denied the operation
Jan 19 10:21:39 FQDN sync_client[56922]: IOERROR: zero length response to MAILBOX (end of file reached)
Jan 19 10:21:39 FQDN sync_client[56922]: Error in do_sync(): bailing out! Bad protocol
Jan 19 10:56:03 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN1 35038 (5495723713e3383847128719f3ff4a7e54fd3922)
Jan 19 10:56:03 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN1 35039 (39fcbeec876749c45a7a4ae5fa1ae7a1453b8454)
Jan 19 10:56:03 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN1 35038 (5495723713e3383847128719f3ff4a7e54fd3922)
Jan 19 10:56:03 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN1 35039 (39fcbeec876749c45a7a4ae5fa1ae7a1453b8454)
Jan 19 10:56:16 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN2 383918 (45ae38b4a5ce001aa642d76224e9eac2bdf07775)
Jan 19 10:56:16 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN2 383918 (45ae38b4a5ce001aa642d76224e9eac2bdf07775)
Jan 19 10:57:10 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN3 60893 (075af2111ff386f4bc73cc10b41cb83b3d800a63)
Jan 19 10:57:10 FQDN sync_client[49408]: SYNCERROR: only exists on master user.LOGIN3 60893 (075af2111ff386f4bc73cc10b41cb83b3d800a63)

Anyone have any idea ? 

Beside this problem, what are the actual advantage between sync_client and
some classique 

  zfs snapshot MAILBOX 
  zfs send SNAPSHOT --> other server

? 

Knowning my slave are unable to perform as master (because they don't have
ssd for the db).

Regards



-- 
Albert SHIH 🦫 🐸
Observatoire de Paris
France
Heure locale/Local time:
jeu. 19 janv. 2023 10:48:32 CET

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T53c2478c4334b3ea-Mc2319e6d485db8f870469d6b
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.