I rebootet the backup server, this is what I see:
[01/12/18 09:28:26] http-server.c(195): fileserver: worker_threads = 10
[01/12/18 09:28:26] http-server.c(208): fileserver: backlog = 32
[01/12/18 09:28:26] http-server.c(223): fileserver: fixed_block_size = 8388608
[01/12/18 09:28:26] http-server.c(238): fileserver: web_token_expire_time = 3600
[01/12/18 09:28:26] http-server.c(253): fileserver: max_indexing_threads = 1
[01/12/2018 09:28:26 AM] ../common/mq-mgr.c(61): [mq client] mq cilent is started
[01/12/2018 09:28:26 AM] http-tx-mgr.c(2034): Sync polling timer triggered, start to fetch repo list from primary.
And the a lot of entries like:
[01/12/2018 09:28:27 AM] http-tx-mgr.c(872): Repo 01c98426 doesn't change, skip.
(for different repos, in total 734 such entries, although, on the backup server I have only 379 libraries)
Then:
[01/12/2018 09:28:27 AM] http-tx-mgr.c(2041): Fetch repo list from primary successfully.
And then quite a few entries like (also for various repos, reported here only for one repo):
[01/12/2018 09:28:27 AM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Sync init] success, transition to [Get head commit id].
[01/12/2018 09:28:27 AM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get head commit id] success, transition to [Get diff commit ids].
[01/12/2018 09:28:27 AM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get diff commit ids] success, transition to [Get diff commits].
[01/12/2018 09:28:27 AM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get diff commits] success, transition to [Get fs].
[01/12/2018 09:28:27 AM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get fs] success, transition to [Get blocks].
[01/12/2018 09:28:32 AM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get blocks] success, transition to [Sync db].
[01/12/2018 09:28:32 AM] http-tx-mgr.c(1844): Sync repo b1d97f75-eadb-449c-b9ff-b0e5b45eef66 successfully.
[01/12/2018 12:28:28 PM] [01/12/2018 12:28:28 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Sync init] success, transition to [Get head commit id].
[01/12/2018 12:28:28 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get head commit id] success, transition to [Get diff commit ids].
[01/12/2018 12:28:28 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get diff commit ids] success, transition to [Get diff commits].
[01/12/2018 12:28:28 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get diff commits] success, transition to [Get fs].
[01/12/2018 12:28:28 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get fs] success, transition to [Get blocks].
[01/12/2018 12:28:29 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get blocks] success, transition to [Sync db].
[01/12/2018 12:28:29 PM] http-tx-mgr.c(1844): Sync repo b1d97f75-eadb-449c-b9ff-b0e5b45eef66 successfully.
[01/12/2018 02:45:05 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Sync init] success, transition to [Get head commit id].
[01/12/2018 02:45:06 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get head commit id] success, transition to [Get diff commit ids].
[01/12/2018 02:45:06 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get diff commit ids] success, transition to [Get diff commits].
[01/12/2018 02:45:10 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get diff commits] success, transition to [Get fs].
[01/12/2018 02:45:15 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get fs] success, transition to [Get blocks].
[01/12/2018 02:46:02 PM] http-tx-mgr.c(1854): Repo b1d97f75 sync status: [Get blocks] success, transition to [Sync db].
[01/12/2018 02:46:02 PM] http-tx-mgr.c(1844): Sync repo b1d97f75-eadb-449c-b9ff-b0e5b45eef66 successfully.
Everything seems to be fine, so far. Nevertheless, “seaf-backup-cmd.sh status” tells me
Total number of libraries: 13
Number of synchronized libraries: 10
Number of libraries waiting for sync: 0
Number of libraries syncing: 0
Number of libraries failed to sync: 3
List of syncing libraries:
List of libraries failed to sync:
e612a24e-02f8-44fa-8700-ea2b4e05e7bf
0e4d6d48-2e32-4036-851d-db6c5e5bc3e9
f494c75d-5571-4ee4-a1d3-69493e1ccb5b
So, there seem to be only 13 libraries visible, although in the logs I see that many more libraries have been checked. This is one problem.
Then I see the following entries in the log containing the keyword ‘fail’:
[01/12/2018 09:28:36 AM] http-tx-mgr.c(1752): Failed to get commit dc0c3e4e323b692593900bdcc6e0892846093f3c.
[01/12/2018 09:28:36 AM] http-tx-mgr.c(1841): Failed to sync repo 0e4d6d48, error in [Get blocks].
[01/12/2018 09:33:31 AM] http-tx-mgr.c(1841): Failed to sync repo e612a24e, error in [Get fs].
[01/12/2018 12:28:55 PM] http-tx-mgr.c(1752): Failed to get commit ae162867d7695462694088ee5fc1cc4e0905c68d.
[01/12/2018 12:28:55 PM] http-tx-mgr.c(1841): Failed to sync repo 0e4d6d48, error in [Get blocks].
[01/12/2018 12:29:39 PM] http-tx-mgr.c(514): libcurl failed to GET https://linda.ifi.uzh.ch/seafhttp/repo/9fdb2cd7-a434-44ee-8667-5b8e2895e62c/block/bd6919ef725eeb10949c25757e9141f5b5f6ccda: Timeout was reached.
[01/12/2018 12:29:39 PM] http-tx-mgr.c(1841): Failed to sync repo 9fdb2cd7, error in [Get blocks].
[01/12/2018 12:33:54 PM] http-tx-mgr.c(1841): Failed to sync repo e612a24e, error in [Get fs].
[01/12/2018 02:45:32 PM] http-tx-mgr.c(1752): Failed to get commit 2c418b01edd2e0ed43e3ecd9ee6503942c365475.
[01/12/2018 02:45:32 PM] http-tx-mgr.c(1841): Failed to sync repo 0e4d6d48, error in [Get blocks].
[01/12/2018 02:46:38 PM] http-tx-mgr.c(514): libcurl failed to GET https://linda.ifi.uzh.ch/seafhttp/repo/f494c75d-5571-4ee4-a1d3-69493e1ccb5b/block/ae8d87145eb74f7d2a3aa7be0a5a35fea82e516f: Timeout was reached.
[01/12/2018 02:46:38 PM] http-tx-mgr.c(1841): Failed to sync repo f494c75d, error in [Get blocks].
[01/12/2018 02:49:56 PM] http-tx-mgr.c(1841): Failed to sync repo e612a24e, error in [Get fs].
I didn’t look into those errors so far, because the fact that the backup status sees only 13 libraries (instead of 256) seemed to be more relevant to me.