Apache Pagespeed module: "Fetch timed out" and other errors

1,576 views
Skip to first unread message

minidus

unread,
May 1, 2015, 6:52:09 PM5/1/15
to mod-pagesp...@googlegroups.com
Hello,

i installed pagespeed to my centos cpanel server according to tutorial https://github.com/pagespeed/cpanel

Then used EasyApache to enable this module.
I then checked my site against page speed online.
Restarted Apache
Then checked my site again and its score was worse than before enabling pagespeed

(i did not modified pagespeed configuration in any way)

mod_pagespeed 1.9.32.3-4448 messages in apache error log:

Fetch timed out: http://mydomain.com/cron.php?rand=1430519604 (connecting to:MYSERVERIPHERE) (1) waiting for 50 ms
URLTOIMAGEHERE (connecting to:images):0: Error status=670002 (Name or service not known) serf_connection_create2
RateController: drop deferred fetch of URLTOIMAGEHERE on shutdown
[0501/223737:WARNING:queued_worker_pool.cc(379)] Adding function to sequence 0x50c1160 after shutdown
ServerContext: 1 leaked_rewrite_drivers on destruction

the first message is there many many times for different images, css

so i temporarily set Pagespeed to Off in /usr/local/apache/conf/pagespeed.conf

Please can anyone suggest me what to do?

minidus

unread,
Jun 2, 2015, 6:51:39 PM6/2/15
to mod-pagesp...@googlegroups.com
it is one month, no one can advice please?

Joshua Marantz

unread,
Jun 2, 2015, 10:12:35 PM6/2/15
to mod-pagespeed-discuss
Sorry there a few different issues in your message and nothing obvious is wrong.  Responses inline.

On Fri, May 1, 2015 at 6:52 PM, minidus <czaut...@gmail.com> wrote:
Hello,

i installed pagespeed to my centos cpanel server according to tutorial https://github.com/pagespeed/cpanel

Then used EasyApache to enable this module.
I then checked my site against page speed online.
Restarted Apache
Then checked my site again and its score was worse than before enabling pagespeed

Details here would be good.  What new complaints does PSI have that it didn't have before?   Pointers to your PageSpeed results (including your domain) would be much more useful.

(i did not modified pagespeed configuration in any way)

mod_pagespeed 1.9.32.3-4448 messages in apache error log:

Fetch timed out: http://mydomain.com/cron.php?rand=1430519604 (connecting to:MYSERVERIPHERE) (1) waiting for 50 ms
URLTOIMAGEHERE (connecting to:images):0: Error status=670002 (Name or service not known) serf_connection_create2

I cannot tell without much more complete logs whether this has happened once (which might be because your server was busy) or happens on every fetch (which means you need a config update, most likely ModPagespeedMapOriginDomain).
 
RateController: drop deferred fetch of URLTOIMAGEHERE on shutdown
[0501/223737:WARNING:queued_worker_pool.cc(379)] Adding function to sequence 0x50c1160 after shutdown
ServerContext: 1 leaked_rewrite_drivers on destruction 

Don't worry about this message.  It's just a warning, and probably should not be printed at all. 

the first message is there many many times for different images, css

Specifics here would be good, but maybe this answers my question above.  If this happens on all the fetches then I think you must have a setup where you cannot make loopback fetches to your domain.  But probably you can do something like:
  ModPagespeedMapOriginDomain localhost YOURDOMAIN
Unfortunately I don't know exactly how to do that in the context of cPanel but hopefully someone on this list can help.
Reply all
Reply to author
Forward
0 new messages