Service Layer Performance Optimization
SAP Business One Service Layer runs on top of the Apache server architecture. The Apache server delivers a selection of Multi-Processing Modules (MPMs) which bind to the network ports on the server accepting requests and dispatching child modules to handle the requests.
The Multi-Processing Modules (MPMs) can have a direct impact on the Service Layer performance when used as a data communication layer between SAP Business One and the external application.
Example of the Multi-Processing Module (MPM) configuration on Linux
Worker MPM:
Edit the httpd-b1s-lb-member-common.conf file located here: /usr/sap/SAPBusinessOne/ServiceLayer/conf.
In the mpm_prefork_module configuration section, change the value of the MaxConnectionsPerChild parameter as shown in the example below to improve performance.
MaxConnectionsPerChild 1024
MaxConnectionsPerChild: maximum number of connections that an individual child server process can handle.
Example of the Multi-Processing Module (MPM) configuration on Windows
WinNT MPM:
Edit the httpd-b1s-lb-member-common.conf file located here: C:\Program Files\SAP\SAP Business One ServerTools\ServiceLayer\Conf.
In the mpm_winnt_module configuration section, change the value of the MaxConnectionsPerChild parameter as shown in the example below to improve performance.
MaxConnectionsPerChild 1024
MaxConnectionsPerChild: maximum number of connections that an individual child server process can handle.