When ever I select to Optimize CSS files in the performance section with Page Normal Caching
in (admin/settings/performance), my server/database literally locks up.
NOTHING IS ACCESSIBLE ON THE WEB.

I need to wipe out the database, and re-install it again to get the website running again. The issue is easy to reproduce.

Tested with -- acquia_marina-6.x-2.0.tar
I see this issue on on many version of Drupal including Drupal 6.14 and 6.16 with acquia_marina-6.x-2.0.

Comments

jeremycaldwell’s picture

Interesting.. do you have read/write access to the /sites/default/files directory? When enabling CSS and JS compression is writes all those files to one (one for CSS and one for JS) and then loads it.

cesargalindo’s picture

Hello eternalistic,

yes I do have read and write access to both the /sites/default/files directory. I upload images to to them all the time. I understand what enabling CSS and JS compression does. I can replicate this issue easily on my local development machines and on a live production server.

Note, I can reproduce this error and clean bare Drupal installs with only the Acquia Marina them enabled or Drupal with many modules and code containing other CSS files. Thus, it leads me to believe it's related to Acquia Marina's CSS.

Please let me know if you need any information from me. Thanks!

jeremycaldwell’s picture

Does it do the same sort of thing using the Garland theme rather than Acquia Marina? I've never experienced this issue before so not really sure how to trouble shoot it.

cesargalindo’s picture

The issue does not happen with the Garland them. I'll try it with some other themes.

Update: The issue does not happen with any of the default themes.

- Acquia Slate -- works fine -- CSS Optimzed with no issues..

- Zen theme -- same problem - locks up the website/database...

Let me know if there's anything else you need.

age3’s picture

It happen to me as well.
This is a serious bug and the meaning of it is that acquia marina isn't really compatible with ie6.

kmv’s picture

I am seeing this too and also in Acquia Slate.

This looks like a comment problem. I note that the Fusion themes have loads of multi-line comments in the CSS files and as noted in http://drupal.org/node/331915 Drupal doesn't handle them correctly when removing them for an optimised CSS file (note comment 7 in particular).

I have made the hack to common.inc indicated in the linked thread (NB: common.inc has changed since the thread was written so be careful) and everything now works for me.

Obviously hacking common.inc isn't acceptable so all the multi-line comments are probably going to have to be tuned into multiple single-line comments.

cesargalindo’s picture

Thanks kmv,

I converted all multi-line comments in my css files to single-line comments and it works fine now.
I prefer this method over patching the core...

pneumatic’s picture

I experienced this bug with the inove theme (Drupal 6.17, Apache 2.2.9, Debian Lenny). After deleting the multi-line comments, the freezing / slowness went away. Page views from a Blackberry would trigger it as well as IE6.

siyerindu’s picture

Hi ,
I have optimized css and js and cleared cache in my drupal site.Now my site doesnt show up propely even i disable the optimize css and js.
What can i do take my site to old state.Pls help

jwolf’s picture

Status: Active » Postponed (maintainer needs more info)

Could the people who are experiencing this issue please help by providing answers to the following questions:

- Is this only happening in IE6? Is this browser specific?
- What's your web server environment (e.g., Linux, Windows, Apache, IIS, Nginx...)?
- What do your server logs say when this happens (e.g., web and/or php errors logs)?
- Have you experienced this issue w/ other versions of this theme? If so which version(s)?

jwolf’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Further searching on d.o reveals that this is a known issue w/ Drupal and has been fixed w/ the release of Drupal 6.19.
#444228: Optimize CSS option causes php cgi to segfault in pcre function "match"

Please update your installs!