Environment
Micro Focus iPrint Appliance
Situation
Operations relying on Apache are slow with the iPrint Appliance. These operations included:
- printing
- iManager
- PsmStatus page
- loading /ipp page
- installing iPrint printers
Resolution
Change the Apache configuration to increase the values for MaxKeepAliveRequests, KeepAliveTimeout, ServerLimit, and MaxClients.
All of these configuration changes can be implemented by pasting the following string of commands into a terminal session:
All of these configuration changes can be implemented by pasting the following string of commands into a terminal session:
sed -i -e 's/150/300/g' /etc/apache2/server-tuning.conf;sed -i -e 's/MaxKeepAliveRequests 100/MaxKeepAliveRequests 300/g' /etc/apache2/server-tuning.conf;sed -i -e 's/KeepAliveTimeout 15/KeepAliveTimeout 5/g' /etc/apache2/server-tuning.conf;rcapache2 restartNote: The above string of commands has been tested on the iPrint Appliance. They have not been tested with iPrint on OES.
Cause
Micro Focus has received reports of the symptoms described above. iPrint client and most iPrint management operations go through the Apache web server. Increasing some of the Apache values within the configuration files increases Apache's ability to service requests. Also, experience has shown that iPrint performs better with the Apache worker mode over the Apache prefork mode.
Additional Information
The string of commands listed in the Resolution section of this TID makes the following changes to the /etc/apache2/server-tuning.conf and restarts Apache:
- ServerLimit and MaxClients value from 150 to 300
- MaxKeepAliveRequests value from 100 to 300
- KeepAliveTimeout from 15 to 5