Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

mod-pagespeed-beta- incompatible with Trac 0.12 #84

GoogleCodeExporter opened this issue Apr 6, 2015 · 4 comments


Copy link

What steps will reproduce the problem?
1. Install Trac 0.12 using mod_python or mod_wsgi on Apache
2. Test performance
3. After several clicks, the site hangs

What is the expected output? What do you see instead?

Normal page loading speeds. Commenting out the line:

LoadModule pagespeed_module /usr/lib/httpd/modules/

causes Trac to behave normally again.

What version of the product are you using (please check X-Mod-Pagespeed


On what operating system?

CentOS release 5.5 (Final)
Linux dev 2.6.18-194.26.1.el5PAE #1 SMP Tue Nov 9 13:34:42 EST 2010 i686 i686 
i386 GNU/Linux

Which version of Apache?

Server version: Apache/2.2.3
Server built:   Aug 30 2010 12:32:08
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit

Which MPM?

Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

From /var/log/httpd/error_log:

[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/apache/] ModPagespeed 
OutputFilter called for request /changeset/4610[Mon Nov 15 14:54:46 2010] 
[notice] [1115/145446:INFO:net/instaweb/apache/] 
unparsed=/changeset/4610, absolute_url=
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/util/] HtmlParse::StartParse
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/apache/] Request 
headers:\nHTTP/1.1 0 Internal Server Error\r\nHost:
\r\nUser-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; 
rv: Gecko/20101026 Firefox/3.6.12\r\nAccept: 
ge: en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: 
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 600\r\nConnection: kee
trac_session=699403b69a5529a41cf0eafa\r\nAuthorization: Basic 
[Mon Nov 15 14:54:46 2010] [notice] 
request->filename=/var/www/trac/html.wsgi, uri=/changeset/4610[Mon Nov 15 
14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/apache/] ModPagespeed 
Response headers:\nHTTP/1.1 200 OK\r\nETag: W/"anonymous/Tue, 12 Oct 2010 
16:05:39 GMT/b5e995c78e43112146ef790a25a9958a"\r\nCache-Control: 
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/util/] 1701us: HtmlParse::Flush
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/util/] 1736us: 
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/util/] 1775us: HtmlParse::ApplyFilter:AddHead
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/util/] 1818us: HtmlParse::SanityCheck
[Mon Nov 15 14:54:46 2010] [notice] 
[1115/145446:INFO:net/instaweb/util/] 1889us: 
[Mon Nov 15 14:54:46 2010] [notice] 
Initiating async fetch for

Original issue reported on by on 15 Nov 2010 at 11:13

Copy link

This has been cross-posted with Trac as well:

Original comment by on 15 Nov 2010 at 11:19

Copy link

Thanks for the report. Version several known bugs that have been 
fixed since then. Can you upgrade to the latest version of mod_pagespeed and 
let us know if this is still a problem?

You can get the latest version from source (see HowToBuild) or download the 
latest package from 
(note, we'll be releasing new packages soon (hopefully tomorrow) so you may 
want to wait until our announcement for that).

Original comment by on 15 Nov 2010 at 11:59

Copy link

mod-pagespeed-beta- seems to be compatible, as Trac is no longer 
hanging up with it activated.

Original comment by on 16 Nov 2010 at 7:51

Copy link

Great, glad to hear it :)

Please post a new bug if anything goes wrong.

Original comment by on 16 Nov 2010 at 8:12

  • Changed state: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

1 participant