Apache Global Configuration Apache MPM (multi-processing modul) Common Directives.

Slides:



Advertisements
Similar presentations
Managing Web server performance with AutoTune agents by Y. Diao, J. L. Hellerstein, S. Parekh, J. P. Bigu Jangwon Han Seongwon Park
Advertisements

What all is there Inside the Apache web server. These slides are part of study material of LAMP course. Course conducted by Prof Rocky Jagtiani – Technical.
Scheduling Criteria CPU utilization – keep the CPU as busy as possible (from 0% to 100%) Throughput – # of processes that complete their execution per.
Quality of Service Requirements
Chess Review May 8, 2003 Berkeley, CA Compiler Support for Multithreaded Software Jeremy ConditRob von Behren Feng ZhouEric Brewer George Necula.
Operating Systems Chapter 6
Chapter 5 CPU Scheduling. CPU Scheduling Topics: Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
CS 311 – Lecture 23 Outline Kernel – Process subsystem Process scheduling Scheduling algorithms User mode and kernel mode Lecture 231CS Operating.
Scheduling in Batch Systems
Scalability and planning for growth 1WUCM1. Content management issues Structural – Naming (e.g. file, URL) policy – File and directory naming needs: invent/design/borrow.
Server Architecture Models Operating Systems Hebrew University Spring 2004.
Web Server Software Architectures Author: Daniel A. Menascé Presenter: Noshaba Bakht.
Analysis and Performance Information Systems 337 Prof. Harry Plantinga.
APACHE WEBSERVER.
1 Web Servers Web Protocols and Practice Chapter 4.
Apache Architecture. How do we measure performance? Benchmarks –Requests per Second –Bandwidth –Latency –Concurrency (Scalability)
Fronting Tomcat with Apache Httpd Mladen Turk Red Hat, Inc.
13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 4: Dynamic Host Configuration Protocol.
22-Aug-15 | 1 |1 | Help! I need more servers! What do I do? Scaling a PHP application.
Bootstrap and Autoconfiguration (DHCP)
CS212: OPERATING SYSTEM Lecture 3: Process Scheduling 1.
Oracle 10g Administration Oracle Shared Server Copyright ©2006, Custom Training Institute.
APACHE 2.0 A Look Under the Hood CHUUG, June 2002 by Cliff Woolley
Web Services CSCI N321 – System and Network Administration Copyright © 2007,2008 by Scott Orr and the Trustees of Indiana University.
Bootstrap and Autoconfiguration Chapter 23. Introduction Each computer attached to a TCP/IP internet needs to know: –its IP address –the address of a.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
By Lecturer / Aisha Dawood 1.  Dedicated and Shared Server Processes  Configuring Oracle Database for Shared Server  Oracle Database Background Processes.
Apache Web Server. Aim of this section –Introduce you to workings of the most common webserver –Give you a little experience in role of webmaster Configuring.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
APACHE 조준희 (Cho, Junhee)
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
Activatio n limit. maximum number of process instances that can concurrently be loaded into memory.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 5 CPU Scheduling Slide 1 Chapter 5 CPU Scheduling.
Managing Web Server Performance with AutoTune Agents by Y. Diao, J. L. Hellerstein, S. Parekh, J. P. Bigus Presented by Changha Lee.
E Copyright © 2006, Oracle. All rights reserved. Oracle Shared Servers.
IBM Http Server Basic Administration. CONTENTS Web server IHS How does IHS differ from Apache Basic configurations Advanced Configurations Performance.
The Object Pool Pattern (Creational – Not a GoF Pattern) ©SoftMoore ConsultingSlide 1.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Lecture 4 CPU scheduling. Basic Concepts Single Process  one process at a time Maximum CPU utilization obtained with multiprogramming CPU idle :waiting.
CPU scheduling.  Single Process  one process at a time  Maximum CPU utilization obtained with multiprogramming  CPU idle :waiting time is wasted 2.
Apache Configuration. Application Install IBM HTTP Server is Apache.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Do-more Technical Training
Web Protocols and Practice
WWW and HTTP King Fahd University of Petroleum & Minerals
Process Management Process Concept Why only the global variables?
EEE Embedded Systems Design Process in Operating Systems 서강대학교 전자공학과
Do-more Technical Training
Chapter 6: CPU Scheduling
Measure Web Performance
(bandwidth control) Jeff Boote Internet2
Module 5: CPU Scheduling
Unit-5 Chap-1 Configuring Web Server
Operating System Concepts
Remote Procedure Call (RPC)
3: CPU Scheduling Basic Concepts Scheduling Criteria
Chapter5: CPU Scheduling
Chapter 6: CPU Scheduling
IBM WebSphere Application Server
Chapter 5: CPU Scheduling
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
CPU Scheduling: Basic Concepts
Module 5: CPU Scheduling
Presentation transcript:

Apache Global Configuration Apache MPM (multi-processing modul) Common Directives

Apache Architecture

StartServers - No of Child Server Process created when starting Apache. - As the number of processes is dynamically controlled depending on the load, there is usually little reason to adjust this parameter.

Minimum Spare Servers -Minimum no of Child Server Process will remain exist even Apache got nothing to do (idle) -Tuning of this parameter should only be necessary on very busy sites

Maximum Spare Servers -Maximum no of Child Server Process will remain exist even Apache got nothing to do (idle) -Tuning of this parameter should only be necessary on very busy sites

Max Clients -The MaxClients directive sets the limit on the number of simultaneous requests that will be served -Any connection attempts over the MaxClients limit will normally be queued -Once a child process is freed at the end of a different request, the connection will then be serviced.

ServerLimit -This directive sets the maximum configured value for MaxClients for the lifetime of the Apache process. -If ServerLimit is set to a value much higher than necessary, extra, unused shared memory will be allocated -Highly recommend using the default setting unless you fully understand how it will interact with your Apache build and MaxClients setting.

MaxRequestsPerChild -The MaxRequestsPerChild directive sets the limit on the number of requests that an individual child server process will handle. -After MaxRequestsPerChild requests, the child process will die. - If MaxRequestsPerChild is 0, then the process will never expire.

Keep-Alive Timeout -The number of seconds Apache will wait for a subsequent request before closing the connection. -Once a request has been received, the timeout value specified by the Timeout directive applies.

Max Keep-Alive Requests -The MaxKeepAliveRequests directive limits the number of requests allowed per connection when KeepAlive is on. -If it is set to 0, unlimited requests will be allowed. -Its recommend that this setting be kept to a high value for maximum server performance.

Timeout -Amount of time the server will wait for certain events before failing a request -Example: -In mod_cgi, the length of time to wait for output from a CGI script -When reading data from the client, the length of time to wait for a TCP packet to arrive if the read buffer is empty