Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Server Administration » Using MobiLink Server Technology » MobiLink server options


-nc option

Sets the maximum number of concurrent network connections.

mlsrv11 -c "connection-string" -nc connections ...

The MobiLink server rejects new synchronization connections when the limit is reached. On the client, a communication error is issued with a system error code that indicates the connection was refused.

The default is 1024.

To limit the number of concurrent synchronizations for non-persistent HTTP/HTTPS, set -nc significantly higher than -sm. When the -sm limit is reached, the MobiLink server provides an HTTP error 503 (Service Unavailable) to the remote client. If the -nc limit is reached, however, a socket error is issued. The greater the difference between -nc and -sm, the more likely it is that the rejected connections will generate the HTTP 503 error instead of the less descriptive socket error. For example, set -sm to 100 and set -nc to 1000. See -sm option.