Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106463 - www-apache/mod_diagnostics stable request
Summary: www-apache/mod_diagnostics stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on: 106421
Blocks:
  Show dependency tree
 
Reported: 2005-09-18 18:10 UTC by Michael Stewart (vericgar) (RETIRED)
Modified: 2006-03-05 13:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-18 18:10:13 UTC
Please test and stable mod_diagnostics-0.0.1 for new-style apache.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-10-02 11:53:18 UTC
This builds just fine, but I wasn't able to figure out, how to actually use the
module - I have never used, nor grasped concept of apache filters. Google didn't
help either. Any hints?
Comment 2 AJ Armstrong 2005-10-14 22:28:17 UTC
Cannot test for amd64/apache-1.3, as this package requires apache-2
Comment 3 Chris White (RETIRED) gentoo-dev 2006-01-15 22:30:03 UTC
Alright, after fighting with apache documentation, I finally got this stupid thing.  For those who cry when seeing things like this, I've written a simple test case for future testing:

1) Find this section:

# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
#AddType text/html .shtml

2) Add this afterwards:

AddOutputFilter DEFLATE;o-resource-1;o-resource-2;o-content-1;o-content-2;o-protocol-1;o-protocol-2;o-transcode-1;o-transcode-2;o-connection-1;o-connection-2;o-network-1;o-network-2 .php
AddInputFilter i-resource-1;i-resource-2;i-content-1;i-content-2;i-protocol-1;i-protocol-2;i-transcode-1;i-transcode-2;i-connection-1;i-connection-2;i-network-1;i-network-2 .php

3) Restart Apache
4) Open a random php file
5) Check /var/log/apache2/error_log
6) You should something around this:

[Mon Jan 16 15:20:18 2006] [notice] o-resource-1
[Mon Jan 16 15:20:18 2006] [notice] \to-resource-1 HEAP:\t4838 bytes
[Mon Jan 16 15:20:18 2006] [notice] \to-resource-1 TRANSIENT:\t4099 bytes
[Mon Jan 16 15:20:18 2006] [notice] o-resource-2
[Mon Jan 16 15:20:18 2006] [notice] \to-resource-2 HEAP:\t4838 bytes
[Mon Jan 16 15:20:18 2006] [notice] \to-resource-2 TRANSIENT:\t4099 bytes
[Mon Jan 16 15:20:18 2006] [notice] o-resource-1
[Mon Jan 16 15:20:18 2006] [notice] \to-resource-1 HEAP:\t4096 bytes
[Mon Jan 16 15:20:18 2006] [notice] \to-resource-1 TRANSIENT:\t4103 bytes

7) Also make sure the input filters are working by seeing something like this:

[Mon Jan 16 15:20:18 2006] [notice] i-resource-1: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-resource-2: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-content-1: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-content-2: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-protocol-1: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-protocol-2: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-transcode-1: mode READBYTES; blocking; 8192 bytes
[Mon Jan 16 15:20:18 2006] [notice] i-transcode-2: mode READBYTES; blocking; 8192 bytes

Note the byte values obviously aren't going to be the same, but you should see lots of noise coming from these filters.

Anyways!  Stable on x86.
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-03-05 13:21:32 UTC
resolving, been stable for some time.