nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-07-2008, 12:18 AM
Junior Member
User
 
Join Date: Jul 2008
My distro: Debian
Posts: 2
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
Sponsored Links
  #2 (permalink)  
Old 07-07-2008, 05:00 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 07-11-2008, 01:47 AM
Junior Member
User
 
Join Date: Jul 2008
My distro: Debian
Posts: 2
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 07-15-2008, 01:25 PM
Junior Member
User
 
Join Date: Jul 2008
Location: Washington, US
My distro: CentOS, Ubuntu
Posts: 6
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

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 09:03 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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