Hello,
I tried running tmpwatch manually but nothing happend:
root@:~# cagefsctl -v --tmpwatch
root@:~# du -h /home/username/.cagefs/opt/alt/php74/var/lib/php
1.9G /home/username/.cagefs/opt/alt/php74/var/lib/php/session
1.9G /home/username/.cagefs/opt/alt/php74/var/lib/php
So I manually edited /etc/cagefs/cagefs.ini and added that folder:
[common]
tmpwatch = /usr/sbin/tmpwatch -umclq 72
tmpwatch_dirs=/opt/alt/php74/var/lib/php/session
Then I ran tmpwatch again manually and then files where cleaned:
0 /home/username/.cagefs/opt/alt/php74/var/lib/php/session
Why are these files/folders not cleaned automatically?
I also checked docs here:
But I cannot see what were missing.
I tried running tmpwatch manually but nothing happend:
root@:~# cagefsctl -v --tmpwatch
root@:~# du -h /home/username/.cagefs/opt/alt/php74/var/lib/php
1.9G /home/username/.cagefs/opt/alt/php74/var/lib/php/session
1.9G /home/username/.cagefs/opt/alt/php74/var/lib/php
So I manually edited /etc/cagefs/cagefs.ini and added that folder:
[common]
tmpwatch = /usr/sbin/tmpwatch -umclq 72
tmpwatch_dirs=/opt/alt/php74/var/lib/php/session
Then I ran tmpwatch again manually and then files where cleaned:
0 /home/username/.cagefs/opt/alt/php74/var/lib/php/session
Why are these files/folders not cleaned automatically?
I also checked docs here:
But I cannot see what were missing.
Comment