nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache Metrics - Performance Tuning

This is a discussion on Apache Metrics - Performance Tuning within the Web servers forums, part of the Mastering Servers category; Hello, I need to create a Control Unit for the Apache server (v1.3.41) which will minimize the response times (server ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-07-2008, 11:18 PM
Junior Member
User
 
Join Date: Jul 2008
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ral0r3us is on a distinguished road
Question Apache Metrics - Performance Tuning

Hello,
I need to create a Control Unit for the Apache server (v1.3.41) which will minimize the response times (server side) by altering online the MaxClients and KeepAliveTimeout Directives (will alter and do a graceful restart every time they need to be altered). The problem is that i cant find a way to extract the proper metrics such as Hits/sec Requests/sec Simultaneous Connections/sec Server Response time Per Connection etc. Anyone has any idea where to look?
Reply With Quote
  #2 (permalink)  
Old 07-07-2008, 04:00 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

See following docs it has more info on metrics:
  1. mod_perl: Performance Tuning
  2. Performance-tuning Apache
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 11-07-2008, 12:47 AM
Junior Member
User
 
Join Date: Jul 2008
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ral0r3us is on a distinguished road
Default Re: Apache Metrics

Well i think you misunderstood me. I dont want to optimize my server the
old fashioned way. The point is i'm creating a software that will optimize these Directives online (aka while the server is doing it's job) to the optimal for that particular time window values. To do that i need to have a reference
value of how the server is coping, one metric that tells me that, is the (server side) response time, aka the delta time from the moment the request arrives at the TCP queue until the first response of the server to that client. If i sample that, lets say 30 times a minute, i get a very nice picture about the server's status. That's something mod_status cant tell though . Anyway.. gonna figure it somehow.
Reply With Quote
  #4 (permalink)  
Old 15-07-2008, 12:25 PM
Junior Member
User
 
Join Date: Jul 2008
Location: Washington, US
OS: CentOS, Ubuntu
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
memnoch_proxy is on a distinguished road
Default

Are you undertaking a high-resolution SNMP replacement? Or are you trying to combat server load problems?

Why not write a shell script to poll uptime and netstat every 5 seconds? Log it to a file. Write something else to display the file nicely, like php and gd.

I find that if I'm dealing with a request flood or a DoS, higher resolution monitoring doesn't necessarily help me, accurately identifying the IP that's bothering me is what's important.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
performance monitoring with example ghpradeep CentOS / RHEL / Fedora 1 19-05-2008 11:12 PM
apache performance kasimani Web servers 2 15-05-2008 04:22 PM
Optimize Performance of Proxy zakaferoz Mail Servers 0 24-01-2008 09:38 AM
PHP code performance zafar466 Linux software 1 22-04-2007 08:23 PM
regarding server performance lovewdhwa Linux software 1 21-09-2006 01:42 PM


All times are GMT +5.5. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38