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.
- 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.
- MaxClients 150: States that Apache will permit only 150 concurrent connections. If more than this is attempted, users will receive Error 500 messages.
- 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.
- 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.
- 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