Sets the maximum number of concurrent network connections.
mlsrv12 -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.
The maximum value for -nc depends on the operating system and its configuration. You may need to tune the configuration to achieve higher socket capacity.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |