M-Business Server performance

Tips to improve M-Business Server performance:

  • Increase the amount of RAM on the machines that are running M-Business Server.

  • Adjust the directives that control the number of children each process spawns.

    The table below lists these performance-tuning directives.

Table 4. Settings in sync.conf file that affect server performance

Setting

Description

StartServers (UNIX only)

The number of children initially started for the server.

MinSpareServers (UNIX only)

The minimum number of children that remain running even if idle. Apache periodically polls the servers. If there are not enough idle server processes, Apache starts new processes until this limit is reached.

MaxSpareServers (UNIX only)

The maximum number of children that can remain idle. Apache periodically polls the servers. If there are more idle server processes than this setting allows, Apache kills them.

ThreadsPerChild

The number of concurrent threads, or requests, the server allows. Set this value according to the responsiveness of the server and the amount of system resources you will allow the server to consume. The more active requests running at once, the slower each request is handled.

MaxRequestsPerChild

The maximum number of requests each child process handles before it dies. On UNIX systems, a child handles one connection request at a time. After it has handled the number of requests specified by this setting, the child dies. Having children die periodically reduces the chance of memory leakage.

MaxClients

The maximum number of children allowed to be running (idle or not) at one time for this server.

You can find these settings in sync.conf.default. If synchronizations are slow, adjust the settings in sync.conf.default.