logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: centos Apache performance tunning
Author
niraj_vara



Joined: 03 Feb 2014
Posts: 6
Location: India

PostPosted: Wed 25 Feb '15 11:01    Post subject: centos Apache performance tunning Reply with quote

Hi

I have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.

average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output

ab -n 10000 http://127.0.0.1/1.php

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35



With Concurrent connections

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms when total request is 1000 only.


Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

How to configure the Apache so the request time decreas to low ms ???

In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.

Please guide for the same.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 26 Feb '15 19:29    Post subject: Reply with quote

If there is no mpm config, apache will use the default values.

with httpd -V or apachectl -V or apache2ctl -V you can get the information with MPM you run.
Back to top


Reply to topic   Topic: centos Apache performance tunning View previous topic :: View next topic
Post new topic   Forum Index -> Apache