Murder slave question ...

Brasseur Valéry Valery.Brasseur at atosorigin.com
Wed Jan 17 03:10:22 EST 2007


I am trying a murder setup on 2.3.7 ... 

Is it normal staht slave ALWAYS disconnect after receiving some command update of the master ? And retry a full update 20sec later ?

Like this :

[pid  7543] time(NULL)                  = 1169021217
[pid  7543] time(NULL)                  = 1169021217
[pid  7543] read(9, "U01 DELETE {15+}\r\nuser.testmurder\r\n", 4096) = 35
[pid  7543] fcntl64(8, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid  7543] fstat64(8, {st_mode=S_IFREG|0600, st_size=801300, ...}) = 0
[pid  7543] stat64("/mail/cyrus_data/mailboxes.db", {st_mode=S_IFREG|0600, st_size=801300, ...}) = 0
[pid  7543] fcntl64(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid  7543] fcntl64(8, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid  7543] fstat64(8, {st_mode=S_IFREG|0600, st_size=801300, ...}) = 0
[pid  7543] stat64("/mail/cyrus_data/mailboxes.db", {st_mode=S_IFREG|0600, st_size=801300, ...}) = 0
[pid  7543] lseek(8, 793068, SEEK_SET)  = 793068
[pid  7543] write(8, "\0\f\31\364", 4)  = 4
[pid  7543] lseek(8, 801300, SEEK_SET)  = 801300
[pid  7543] write(8, "\0\0\0\4\0\f9\250", 8) = 8
[pid  7543] fdatasync(8)                = 0
[pid  7543] lseek(8, 801308, SEEK_SET)  = 801308
[pid  7543] write(8, "\0\0\0\377", 4)   = 4
[pid  7543] fdatasync(8)                = 0
[pid  7543] fcntl64(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid  7543] time(NULL)                  = 1169021217
[pid  7543] select(10, [9], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid  7543] time(NULL)                  = 1169021217
[pid  7543] close(10)                   = 0
[pid  7543] time([1169021217])          = 1169021217
[pid  7543] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
[pid  7543] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
[pid  7543] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
[pid  7543] send(5, "<179>Jan 17 09:06:57 mupdate[7537]: ending mupdate_listen, will reconnect", 73, MSG_NOSIGNAL) = 73
[pid  7543] shutdown(9, 0 /* receive */) = 0
[pid  7543] close(9)                    = 0
[pid  7543] time([1169021217])          = 1169021217
[pid  7543] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
[pid  7543] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
[pid  7543] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
[pid  7543] send(5, "<179>Jan 17 09:06:57 mupdate[7537]: retrying connection to mupdate server in 26 seconds", 87, MSG_NOSIGNAL) = 87
[pid  7543] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid  7543] rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
[pid  7543] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid  7543] nanosleep({26, 0},


Thanks
Valery



More information about the Info-cyrus mailing list