
Originally Posted by
vimalkumar_k
I have created a how-to on installing mod_pagespeed on Apache v2.2 + Cpanel.
Install mod_pagespeed in Apache for Cpanel | technomenace.com
On a dedicated server, it is running fine with not much resource usage, but on my 1GB vps, it spiked the load to 40+ and I had to stop it as soon as I started. Need more inputs on how this module works for other people, and what all tweaks can be done..
A lot of data is being written into apache error logs, and I suspect whether it will cause any i/o waits if your server is already sluggish..
One tip on this section:
And finally, include pagespeed.conf in /usr/local/apache/conf/httpd.conf:
Include “conf/pagespeed.conf”
If you put something into httpd.conf directly in most areas, /scripts/rebuildhttpdconf and /scripts/easyapache will wipe it. You should use the include files at /usr/local/apache/conf/includes to put that into httpd.conf as those are added whenever you distill Apache and won't wipe on rebuild and recompile. If you do put it into an include file (such as pre_main_global.conf possibly), you'd want to run these three commands afterward:
Code:
/usr/local/cpanel/bin/apache_conf_distiller --update
/scripts/rebuildhttpdconf
/etc/init.d/httpd restart
Thanks.