Tuning mechanisms for two major parameters of Apache web servers

  • Authors:
  • Akiyoshi Sugiki;Kenji Kono;Hideya Iwasaki

  • Affiliations:
  • (Akiyoshi Sugiki is now a researcher of Japan Science and Technology Agency) Department of Computer Science, Graduate School of Electro-Communications, The University of Electro-Communications, To ...;Department of Information and Computer Science, Keio University, Yokohama, Japan;Department of Computer Science, The University of Electro-Communications, Tokyo, Japan

  • Venue:
  • Software—Practice & Experience
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Apache web servers are widely used as stand-alone servers or front-ends in multi-tiered web servers. Despite the wide availability of software, it is quite difficult for many administrators to properly configure their web servers. In particular, setting the performance-related parameters is an error-prone and time-consuming task because their values heavily depend on the server environment. In this paper, two mechanisms are described for automatically tuning two performance-related parameters of Apache web servers: *KeepAliveTimeout* and *MaxClients*. These mechanisms are easy to deploy because no modifications to the server or the operating system are required. Moreover, they are parameter specific. Although interference between *KeepAliveTimeout* and *MaxClients* is inevitable, the tuning mechanisms minimize the correlation by using almost completely independent metrics. Experimental results show that these mechanisms work well for two different workloads; the parameter values are close to optimal and can adapt to workload changes. Copyright © 2007 John Wiley & Sons, Ltd.