Site crashes after enabling cache and page compression

backdrifting - October 21, 2009 - 16:00

I have a site running Drupal 6.14. I just enabled normal caching mode and also page compression, CSS and JS optimization via Drupal performance admin. As soon as I enabled all of this the site crashed and I get the following message:

The page you are looking for is temporarily unavailable.
Please try again later.

I have my PHP memory limit already bumped way up to about 1024. Should I try bringing the memory limit back down to 96M. I had it up higher while we're developing.

Any suggestions. I'm using the Foundation theme.

-backdrifting

=-=

VM - October 21, 2009 - 16:12

Rather than setting all at once.

try one setting at a time and see if you can narrow down through the process of elimination which, if any, specific feature is the cause.

yes agreed but ...

backdrifting - October 21, 2009 - 16:24

Yes but the issue now is that I can't get back to my performance admin page - it won't load.

-backdrifting

Check to see that...

trailerparkopera - October 21, 2009 - 17:05

you don't have apache already configured to do page compression. You may be compressing the pages twice, leading to problems.

Secondly, you should be able to reset those settings directly in your system or variables table (without needing to view the performance admin page in Drupal). I'm guessing it would a variable named something like "page compression" with a value set to 1 (similar for the caching mode).

Ok, thanks for the

backdrifting - October 21, 2009 - 17:26

Ok, thanks for the suggestions. I went into phpMyAdmin and reset the page_compression variable to this:

page_compression s:0:"";

Is that correct?

I made cache, block cache also set to: s:0:"";

No change! My site still does not load.

-backdrifting

Should I use s:1:"0"; or

backdrifting - October 21, 2009 - 17:32

Should I use s:1:"0"; or s:0:""; in phpMyAdmin?

Unfortunately I've tried both and it doesn't fix it.

Any other suggestions?

-b

Fixed

backdrifting - October 21, 2009 - 18:21

Fixed. I got it working. We disabled Apache page compression and all appears to be fine now.

Thanks,

-b

 
 

Drupal is a registered trademark of Dries Buytaert.