Unable to replicate - database has grown too large

Hello,

we have problems replicating a daos enabled database between 2 servers. The replication only works in 1 direction:

(manual replication from source server server01/org01)
08.09.2020 09:23:04 Database Replicator started
08.09.2020 09:23:04 Replicator is set to Ignore Database Quotas
08.09.2020 09:23:05 Starting replication with server server01/org02
08.09.2020 09:23:06 Access control is set in server01/org02 db\db.nsf to not replicate forms or views from incident\incident
08.09.2020 09:23:09 Replicator updated 9 document(s) in db\db from server01/org02 db\db.nsf
08.09.2020 09:23:09 Pushing db\db to server01/org02 db\db.nsf
08.09.2020 09:23:25 Unable to replicate server01/org02 db\db.nsf: Database (.nsf) has grown too large; use compact to reduce the file size or use File New Replica to recreate your file with larger capacity.
08.09.2020 09:23:25 Finished replication with server server01/org02
08.09.2020 09:23:25 Database Replicator shutdown

[source - daos enabled]
logical size: 167.641.248.907
physical size: 20.611.858.432
size shown in database properties: ~159.875 MB
document count: 189.450
server backend: Release 9.0.1FP6


[target - daos enabled]
logical size: 154.778.261.526
physical size: 4.609.015.808
server backend: Release 9.0.1FP4HF245

Why does it only work in 1 direction ? And how do we fix this ?

We have already tried to recreate the replicas. Same result.

Regards,

Jan

Hello Jan,

Please check if "LocalDominoServers" group is having manager rights on "db\db.nsf" Database or not.

Message : Access control is set in server01/org02 db\db.nsf to not replicate forms or views from incident\incident

This message appears when the local servers groups has Editor rights on the DB.

Please provide manager rights to local domino servers group and check the situation.

Thanks,

Chaitnaya

Hello Chaitnaya,

why do you think "database has grown too large" is related to the ACL ? And why should giving LocalDomainServers manager rights change anything ?


Regards,
Jan

Hello Jan,

Sorry for confusion here, I was talking about message "Access control is set in server01/org02 db\db.nsf to not replicate forms or views".

This messages appears when

Seems on ACL of server01/org02 db\db.nsf, source server do not have manager rights.

If the source server do not have manager rights on target server(server01) database then you may observe such messages.

I assume that source server and target servers were added on LocalDominoServers group, so i suggested to provide manager rights for the group.

If both servers were not in LocalDominoServers group, then the source server name might have added separately on ACL of target server DB.

Did you experience "database has grown too large" error message when replicating in 1 direction without Manager access ? I do not want to change ACL of the database since I am pretty sure no modifications were made there.

Sorry, i did not experienced "database has grown too large" message on standard DBs, unless it's size reaches 64GB.

This message occurs when the size of DB reaches it maximum limit of 64GB. But as per description the size is in MB only.

So the issue might not be with size of DB, if you think there is any corruption, that might not be the cause as you have already created replicas of DBs.

If you have test environment , please check by copying DB on test servers and adjust ACL and check if issue still persist or not.

If it is a custom DB, one of the possibility is with the limitations of Notes client.

But the size of target server DB is less than size of source server, So also not sure about limitations also.

A "not really helpful" answer: update to V11 with 256 GB database limit. ;-)

I am aware of some improvements regarding database sizes. But actually I would expect both servers not to be able to replicate if that rule applies. But why does the error only appear for 1 direction ?

Hello Jan!

This issue is not just limited to databases whose size exceeds the 64GB limit. It has reportedly occurred in databases as small as 250MB.
a.) First, try to run maintenance on the database. Here is one example:
load fixup -f db.nsf (*for transaction logged databases, use fixup -j)
load updall -R db.nsf
load compact -i -c -d -K db.nsf

Note: For additional options and combinations, please refer to the Database Corruption Troubleshooting Guide. You may also try offline maintenance

b.) Now, try to create a new replica. If the new replica works, replace the database with the new replica.

Regards!​

Rodrigo de San Vicente

Staff Software Engineer

Collaborative Workflow Platform