13 Jul
2021
13 Jul
'21
2:45 a.m.
On 7/12/21 9:53 AM, Dave McGuire wrote:
Hi folks. I'm seeing quite a few .css files, thousands of them totaling 600+MB, building up in /var/lib/mailman3/web/static/CACHE/css. Some of them date back to when I set up the mm3 instance a few years ago.
Is this expected, or am I missing a cron job or something to clean them up?
This is not expected. I don't see it on the instances I manage.
In the static
directory, I see
$ du -h -d 1
1.7M ./admin
12K ./facebook
68K ./django_extensions
4.0K ./browserid
68K ./django-mailman3
2.6M ./postorius
12K ./paintstore
1.6M ./rest_framework
5.2M ./hyperkitty
404K ./CACHE
12M .
$ find -type f|wc
401 401 18253
I think when you run the Django admin collectstatic
command, you need
to specify the --clear
option.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan