Solved

Help lil Urgent::Apache:Server-Status:CPU Usage !

Posted on 2003-12-01
7
545 Views
Last Modified: 2010-03-04
Dear All,
 
Iam using Apache 1.3.28 / Jserv 1.1.2 On Windows 2000.
I was analyzing server-status of my server, Why I can't see CPU usage data in those details.
I tried to look at some other web sites who uses Apache 1.3.28, I could see the CPU usage in that.
 
Do I need to change in my configuration files Or is it because Iam running on Windows ?
How do I see the CPU usage per request, I need to find out which request is taking more cpu access.
 
Please help me,
thanks in advance,
-kkanagaraj
0
Comment
Question by:kkanagaraj
  • 3
  • 2
  • 2
7 Comments
 
LVL 15

Expert Comment

by:samri
ID: 9851510
hi kkanagaraj,

very interesting observation!

mine was running on win2k, and do not have CPU usage too. It is a standard installation from Apache website;
Server Version: Apache/1.3.24 (Win32)
Server Built: Mar 21 2002 22:14:00

But, this one is running under Cygwin -- which is a Unix emulator on Win32 -- chances are the machine is Windows.

Server Version: Apache/1.3.28 (Cygwin) mod_ssl/2.8.15 OpenSSL/0.9.7c DAV/1.0.3
Server Built: Oct 26 2003 18:15:43

Current Time: Monday, 01-Dec-2003 18:24:27
Restart Time: Friday, 28-Nov-2003 11:06:57
Parent Server Generation: 0
Server uptime: 3 days 7 hours 17 minutes 30 seconds
Total accesses: 8598 - Total Traffic: 71.5 MB
CPU Usage: u1.3 s2.5 cu0 cs0 - .00133% CPU load
.0301 requests/sec - 262 B/second - 8.5 kB/request
1 requests currently being processed, 9 idle servers

more observation can be found here --
http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=apache+server-status+CPU


I would assume that Win32 native compile won't show the CPU usage :)


and... it is very interesting to find out how many peope out there does not protect the /server-status handle.. gee!

cheers.
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9851551
Is ExtendedStatus turned on?  There should be aline that looks like:

ExtendedStatus on

0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9851575
Whoops - hit enter too quickly.

ExtendedStatus must be turned on in order to see CPU usage;  see:

http://httpd.apache.org/docs/mod/mod_status.html

0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:kkanagaraj
ID: 9851795
Hi Samri,

Nice to knw that you hit it correctly. Well, Iam pretty sure that its a problem with Windows.
I have checked up other websites, all are running in Unix box.
Well, regarding access to /Server-status, It is restricted to access only from my corporate sub domain. So, it is no where exposed to Internet world.

Thanks a lot for you immediate reply,
Cheers,
-Kannan Kanagaraj
0
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 9867773
Kannan,

that was great!

if you are satisfied with the solution, you may close the question.

Otherwise, you may further comment.

I would personally have to apologize for not be able to give a 110% *sure* solution -- but to my experience, it looks like we are on the right track.


cheers.
0
 
LVL 15

Expert Comment

by:samri
ID: 9867930
Kannan,

forgot to highlight that, I noticed that if Apache is Cygwin version -- the CPU Load DID showed up.  Check the google link again, and you may notice the difference (note the OS).  I guess maybe the cygwin1.dll (the posix emulator) is making that possible.

0
 

Author Comment

by:kkanagaraj
ID: 9868097
Samri,

I dont think Iam using Apache Cygwin. Iam using Apache on Windows 2k. I think it uses win32.dll.
what u say
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question