Apache mod status buggy?


 
Thread Tools Search this Thread
Top Forums Web Development Apache mod status buggy?
# 1  
Old 09-08-2008
Apache mod status buggy?

My problem is whenever I run mod status to capture the amount of byte count served I am getting 100+ gig of byte count! in 10 minutes!

But when I try to filter the apache log and count the byte count served in the same time stamp within 12 hours, it computes to less than 103 MB only

Just an fyi, the people who access my site is internal only, I have manually emailed each and everyone of them and asked the amount of data they downloaded and it tallies to less than 103mb of data.

Where does the gig of data coming from? my monitoring tool doesn't detect any high hardware utilization at those timings and my users aren't complaining that the site was crawling.

Is this a mod status bug?

--------------------
Total Accesses: 14643
Total kBytes: 78428394 <<----Does anyone knows how apache computes this one? Or the "Total kBytes" suppose to be "Total Bytes"???
CPULoad: .0275835
Uptime: 37595
--------------------

Is there anyone can point me on to this? Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display status of instances in apache - Where to start

Hello, I know this is not a simple question so I just need to know where to start for below project: I am running under Ubuntu 18.04 What I'd like to see in apache page is to display status of particular process pids. ps aux | grep keywords.txt keywords.txt word1 word2 word3 word4... (9 Replies)
Discussion started by: baris35
9 Replies

2. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

3. Programming

Apache & nfs status from c++ application

Hello guys, I have just started building a high-available site using ubuntu server 9.10. I am using moodle. The thing is that i want to write an application using curses, to show the status of the apache servers, mysql servers and the nfs server. I can check the mysql from the c api, but how can... (1 Reply)
Discussion started by: pegasus001
1 Replies

4. UNIX for Dummies Questions & Answers

Cygwin - Buggy?

Hello, I am writing a bash script and it seems I can't get a simple conditional loop to work. Can someone please let me know why this does not work? #!/bin/sh echo " " echo "Searching other files..." #grep -l $0 testOutput_works.txt for x in `cat acct.txt` ; do echo $x done The... (5 Replies)
Discussion started by: SSims
5 Replies

5. UNIX for Advanced & Expert Users

Problem loading php.mod on apache 2.0

i am having a hard time loading the php4.module onto the apache 2.0 server that I am running.. i have tried to load it statically and through an install and stiill can't seem to connect to localhost through any of the ports that the manual suggested 80 8000 8080.. so far i have manged to load... (2 Replies)
Discussion started by: moxxx68
2 Replies

6. UNIX for Advanced & Expert Users

Apache /server-status

HI, Where is the script for /server-status handler located? Can i change code of the script somehow? Thank you all (3 Replies)
Discussion started by: solvman
3 Replies
Login or Register to Ask a Question
Plack::Middleware::AccessLog(3pm)			User Contributed Perl Documentation			 Plack::Middleware::AccessLog(3pm)

NAME
Plack::Middleware::AccessLog - Logs requests like Apache's log format SYNOPSIS
# in app.psgi use Plack::Builder; builder { enable "Plack::Middleware::AccessLog", format => "combined"; $app; }; DESCRIPTION
Plack::Middleware::AccessLog forwards the request to the given app and logs request and response details to the logger callback. The format can be specified using Apache-like format strings (or "combined" or "common" for the default formats). If none is specified "combined" is used. This middleware uses calculable content-length by checking body type, and can not log the time taken to serve requests. It also logs the request before the response is actually sent to the client. Use Plack::Middleware::AccessLog::Timed if you want to log details after the response is transmitted (more like a real web server) to the client. This middleware is enabled by default when you run plackup as a default "development" environment. CONFIGURATION
format enable "Plack::Middleware::AccessLog", format => '%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"'; Takes a format string (or a preset template "combined" or "custom") to specify the log format. This middleware implements a subset of Apache's LogFormat templates <http://httpd.apache.org/docs/2.0/mod/mod_log_config.html>: %% a percent sign %h REMOTE_ADDR from the PSGI environment, or - %l remote logname not implemented (currently always -) %u REMOTE_USER from the PSGI environment, or - %t [local timestamp, in default format] %r REQUEST_METHOD, REQUEST_URI and SERVER_PROTOCOL from the PSGI environment %s the HTTP status code of the response %b content length %T custom field for handling times in subclasses %D custom field for handling sub-second times in subclasses %v SERVER_NAME from the PSGI environment, or - %V HTTP_HOST or SERVER_NAME from the PSGI environment, or - Some of these format fields are only supported by middleware that subclasses "AccessLog". In addition, custom values can be referenced, using "%{name}", with one of the mandatory modifier flags "i", "o" or "t": %{variable-name}i HTTP_VARIABLE_NAME value from the PSGI environment %{header-name}o header-name header %{time-format]t localtime in the specified strftime format logger my $logger = Log::Dispatch->new(...); enable "Plack::Middleware::AccessLog", logger => sub { $logger->log(level => 'debug', message => @_) }; Sets a callback to print log message to. It prints to "psgi.errors" output stream by default. SEE ALSO
<http://httpd.apache.org/docs/2.2/mod/mod_log_config.html> Rack::CustomLogger perl v5.14.2 2012-04-14 Plack::Middleware::AccessLog(3pm)