Pages: 1 2
naponline wrote:
I would like to re-open this issue - as my Piwigo-site (https://uniformenportal.de) produced over 165.000 css-files in one month (December 2024) and overran the files allowed for my homepages by the provider. And as I wanted to delete by the maintenance admin panel I got an error - and started to delete the files by my ftp-tool.
Hi Markus,
I'm still trying to figure this out, but for now, changing the settings for merging of JS / CSS files seemed to be a solution. Like described in this topic: [Forum, topic 22392] CSS files in _data/combined
You can overriding this setting in the local/config/config.inc.php file by adding :
// deactivate merging of javascript / css files
$conf['template_combine_files'] = false;
This can be done with your FTP-tool or with the 'local files editor' plugin. It seems to work for me.
Please keep in mind that i'm not an expert, and I'm not sure if this is the right solution in your case (it might effect the lay-out of loading speed, i'm not sure about that). It does not seem to effect my lay-out.
Apart from that, I also blocked a lot of IP ranges, like suggested in this topic. Seems to help quite a lot!
Offline
Hello Kim
I have the same problem and will test it. Thank you very much for that.
Many greetings from Berlin
Olaf
Offline
I met a similar issue last summer with a very small site, see on the French forum : https://fr.piwigo.org/forum/viewtopic.p … 00&p=1
but since then, it's back to normal. What I did (and I cannot tell what did the trick) :
- suppressed one of the url that went to the site
- unnotched the combine js/css box
- control the spam visitors via htaccess
- limit the number of available images sizes
- limit (slightly) the sizes of uploaded images
- upgraded the site to 15.3
Online
Katryne wrote:
I met a similar issue last summer with a very small site, see on the French forum : https://fr.piwigo.org/forum/viewtopic.p … 00&p=1
but since then, it's back to normal. What I did (and I cannot tell what did the trick)
Thanks for sharing your 'tricks' Katryne! Looks very similar to my situation. I also tried a comination of different settings/solutions.
I forgot to mention I also limited the number of available images sizes. And I disabled the comment-option for a while. This might have made a difference?
It's all seems to be back to normal now. It looks like the files in the Combined folder are only added when I login to Piwigo. Which is no problem, about 10-20 files a month is no problem.
So for now, the probleem seems to be solved for me. Thanks everyone for sharing tips and information! I hope others can use it too.
Offline
@Kim - thank you for your hint; I changed my config file and hopefully it will show the same results as with your site.
All the best for 2025 to all
Markus Stein
Offline
Final comment - it works :-)
Greetings from Berlin
Markus Stein
Offline
I ran into the same issue. Thousands of CSS files piling up in the combined folder, taking up hundreds of gigabytes.
The root cause is the combining of JS and CSS files to improve load speed.
To stop this:
Open your config file: /local/config/config.inc.php
Add this line:
$conf['template_combine_files'] = false;
That will prevent the file generation, but may slow down your website.
Offline
Pages: 1 2