Good Morning, The sites' tmp directories are getting crowded. The cleaning routine is not working. Debian 9 and 10 with ispconfig 3.2.1
Sorry I noticed now that the function deletes files older than 2 days. So for session this is correct. But other types of files remain -rw------- 1 xxxxxxxxxx 0 nov 16 00:15 class_index.phpy98GAY -rw------- 1 xxxxxxxxxx 0 nov 16 11:33 class_index.phpyUEavi -rw------- 1 xxxxxxxxxx 0 dez 23 01:01 sess_0208ugnq3qv6mdk9qcaemee9km -rw------- 1 xxxxxxxxxx 0 dez 23 00:56 sess_04nnt3ihs3i3dsok97iq52fb6j -rw------- 1 xxxxxxxxxx 0 dez 23 06:38 sess_07jf6v78ddfpkehgp5lj4u39nd -rw------- 1 xxxxxxxxxx 0 dez 22 12:04 sess_0ojnqa4vg6dkpa31h832mkihj6 -rw------- 1 xxxxxxxxxx 0 dez 22 23:29 sess_12hscfgdnnia5n3mksc58ck561
The cleanup code will only delete sess_* files, so at least these should be deleted when they are old. ISPConfig runs this command: cd ?; find . -mtime +1 -name 'sess_*' | grep -v -w .no_delete | xargs rm > /dev/null 2> /dev/null where ? is replaced with the path of the temporary directory.