Hi, Am 06.03.17 um 14:29 schrieb Christian Mack (christian.m...@uni-konstanz.de): > Am 06.03.2017 um 10:53 schrieb Götz Reinicke - IT Koordinator > (goetz.reini...@filmakademie.de): >> Hi, >> >> I see a lot of up to 1GB big files in /tmp like OGo49B058BD278A0B.tmp >> >> As they consumed all disk space we had some problems, so i was searching >> for an answer what are the files for and can they removed at some point? >> > Those files will be created, when someone uploads files to SOGo. > Which means when someone attaches a file to her email or imports address > books or calendars those files will be created. > Normally those will be removed after usage. > But sometimes they will be left behind. > Therefore we at the University of Konstanz have added the following to > /etc/cron.daily/sogo-tmpwatch > > # Remove files in /tmp which are older than 7 days and starting with "OGo". > # Those are uploaded attachments not already send. > find /tmp -maxdepth 1 -type f -atime +7 -name 'OGo*' -delete > > > Be aware, that installing a new sogo version, will overwrite that file. > Because of that you have to add that again after updates, or you could > add it to /etc/cron.d/sogo > Thanks Christian, I'll check my cron settings.
For curiosity, why might a file get 1GB big? Are our students trying to upload so big files? I hope not :) Regards . Götz -- Filmakademie Baden Württemberg <http://www.filmakademie.de/> Götz Reinicke IT-Koordinator IT-OfficeNet +49 7141 969 82420 goetz.reini...@filmakademie.de <mailto:goetz.reini...@filmakademie.de> Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg http://www.filmakademie.de Twitter <https://twitter.com/filmakademiebw> Facebook <https://de-de.facebook.com/filmakademiebw> Youtube <https://www.youtube.com/user/TheFilmakademie> Vimeo <https://vimeo.com/filmakademiebw> Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrates: Petra Olschowski Staatssekretärin im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt
smime.p7s
Description: S/MIME Cryptographic Signature