Uninstall?

1,701 views
Skip to first unread message

Shaun

unread,
Nov 4, 2010, 11:36:11 AM11/4/10
to mod-pagespeed-discuss
I have installed mod_pagespeed but find it is using too many
resources, and taking up lots of disk space.

I need to uninstall it, but I followed a guide on how to install and
have not been able to find anything about uninstall.

I tried changing "ModPagespeed off" but it is still bringing down my
server.

Joshua Marantz

unread,
Nov 4, 2010, 11:56:06 AM11/4/10
to mod-pagesp...@googlegroups.com
Thanks for trying it, and sorry your initial trial did not work out.  We hope to improve the experience as the product gains some mileage.

If you are using Ubuntu then the way to disable the module entirely is to remove pagespeed.load and pagespeed.conf from the /etc/apache2/mods-enabled directory.

If you are using CentOS then the you would remove /etc/httpd/conf.d/pagespeed.conf

This should help httpd 'forget' that mod_pagespeed ever existed.

You can also try controlling the resource usage with the pagespeed.conf directives:

ModPagespeedFileCacheSizeKb
ModPagespeedLRUCacheKbPerProcess


The numbers that we have put into the default configuration for these directives have not been well-tuned for production systems.

How much disk space is mod_pagespeed consuming?  Is it exceeding the threshold set in the configuration file?  It's possible that your disk space is growing faster than our periodic cleanup task that deletes old files, which is controlled by the directive

ModPagespeedFileCacheCleanIntervalMs

If you are concerned about memory usage on your server, please try setting ModPagespeedLRUCacheKbPerProcess to 0.  The per-process LRU cache is intended to accelerate cache-lookups on high QPS server but it is possible to run without the per-process memory-based cache.


Thanks everyone for your patience as we gain knowledge of how to tune this product for live traffic.

-Josh

Shaun

unread,
Nov 4, 2010, 12:07:02 PM11/4/10
to mod-pagespeed-discuss
Hey,

I have switched it off now, forgot to restart apache after setting it
to "off".

It won't hurt to leave it there in an off state for a while until
maybe it is fixed and I can upgrade it.

It took a few GBs disk space. Should I just delete the folders var/
mod_pagespeed/cache and var/mod_pagespeed/files ?

It was my fault for trying it on a production server, I did think that
it would be working perfectly though.

Shaun

Shaun

unread,
Nov 4, 2010, 12:13:36 PM11/4/10
to mod-pagespeed-discuss
Hmmm, the var/mod_pagespeed folder is only 55MB, yet I lost several
gigs. Anything else that could be taking up all that space?

Daniel P. Brown

unread,
Nov 4, 2010, 12:40:17 PM11/4/10
to mod-pagesp...@googlegroups.com
On Thu, Nov 4, 2010 at 12:13, Shaun <sha...@gmail.com> wrote:
> Hmmm, the var/mod_pagespeed folder is only 55MB, yet I lost several
> gigs. Anything else that could be taking up all that space?

It's probably your logs. Some users are claiming that
mod_pagespeed is filling up their Apache logs with literally millions
of lines of errors.

By the way, all you've done is disabled mod_pagespeed. In
fairness, to remove it, you should remove it using either the distro's
package manager (rpm, dpkg, etc.) or delete the compiled files (if
built from source).

--
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/

Reply all
Reply to author
Forward
0 new messages