[CR# 339066] The formula on page 8 for estimating the number of mutexes necessary for Replication Server to start is incorrect. The correct formula is:
num_mutexes = 200 + 15*RA_USER + 2*RSI_USER + 20*DSI + 5*RSI_SENDER + RS_SUB_ROWS + SETTING(cm_max_connections) + ORIGIN_SITES
Where:
RA_USERS – the number of RepAgents connecting to the current Replication Server.
RSI_USER – the number of Replication Servers that connect to the current Replication Server using routes.
DSI – the number of databases to which the current Replication Server connects for subscription-based or warm standby replication.
RSI_SENDER – the number of Replication Server to which the current Replication Server connects using routes.
RS_SUB_ROWS – the number of rows in the rs_subscriptions RSSD table.
If the current Replication Server is a primary or intermediate Replication
Server, the number of rows in rs_subscriptions may
not equal the number of subscriptions created at this Replication
Server.
SETTING(cm_max_connections) – the current Replication Server setting for cm_max_connections. The default is 64.
ORIGIN_SITES – the number of origins that can send messages through the current Replication Server.
The number of origins includes all origins supported
by the RepAgent and all origins supported directly or indirectly
through routes.