Friday, September 26, 2008

Fine Tuning Oracle HTTP Server (OHS) in a production environment

The httpd.conf file, located in the directory ORACLE_HOME/Apache/Apache/conf, is a series of directives. Some directives may well require adjustment from their default settings in a production environment.
  1. StartServers 5: Specifies that Apache will launch only five child processes onstartup. When there are more than five concurrent requests, Apache will have to spawn more processes dynamically.
  2. MaxClients 150: States that Apache will permit only 150 concurrent connections. If more than this is attempted, users will receive Error 500 messages.
  3. MaxrequestsPerChild 0: Setting it to, for example, 1,000 can do no harm and may help. The default of zero (which means an infinite number) may cause memory leak issues.
  4. ExtendedStatus on: Controls the amount of information returned by the URL http://host.domain:port/server-status Off may be less of a security risk than on.
  5. ServerAdmin you@your.address: Determines the e-mail address that will be displayed on some pages for users to mail the administrator. This default is not very helpful.

No comments:

Post a Comment