Hello,

I realized that advagg has created thousands of thousands of js files (~700,000! files) that start with file_advagg in my files directory. I was wondering if anyone else had the same problem and also if I could safely remove those files without breaking my website. Also I appreciate if someone could give me an idea on how to prevent this in the future.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amins created an issue. See original summary.

amins’s picture

Issue summary: View changes
mikeytown2’s picture

You can safely remove them; advagg will do so on cron; you can also force it by going to admin/config/development/performance/advagg/operations and under Cron Maintenance Tasks click the Delete leftover temporary files button. Are there any advagg messages in watchdog/dblog? What operating system are you using? Function in question is advagg_save_data().

amins’s picture

Thank you Mikey, I am using ubuntu. I don't see any advagg messages. I just deleted those files manually.

mikeytown2’s picture

I need to test this out on the status report - give the admin actionable things to do

mikeytown2’s picture

First step is to be able to get any errors that happened while the file write happened. This patch allows for this; it's been committed.

  • mikeytown2 committed 5284258 on 7.x-2.x
    Issue #2645582 by mikeytown2: Pass along every error that happened with...
mikeytown2’s picture

Status: Active » Fixed
FileSize
2.21 KB

Marking this as fixed; status report should let admin know if this is going on.

  • mikeytown2 committed 215b3d2 on 7.x-2.x
    Issue #2645582 by mikeytown2: Test the file write code path on the...

  • mikeytown2 committed 829f396 on 7.x-2.x
    Issue #2645582 by mikeytown2: Fix php notice.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.