Hello! :) The logrotation is not possible. it ends up with error: cannot stat /etc/logrotate.d: No such file or directory to solve the problem, just create the folder /etc/logrotate.d or otherwise remove the corresponding line in /etc/lograte.conf : <<< snip # packages drop log rotation information into this directory include /etc/logrotate.d snap >>> example: one consequence of not logrotating is a veeeeeery long time of waiting for the perl script proxylog.dat to function properly and getting results, because the access.log was getting very big (1,6 GB) It would be nice to optimize this perl script although: Suggestion: because the log is filled in chronologic order, it is NOT necessary to analyse each line fully! Just check the date first and stop analyzing when the date is older than the searched one. Everything older than 1 year can be ignored regards and thank you for the great product! Markus
addition to perl script: /srv/web/ipfire/cgi-bin/logs.cgi/proxylog.dat if you press "Update/Aktualisieren" more than once you can fire more than one perl process which can lead into hanging ipfire machine, if the access.log is too big.
Hello, with core 85, there is still this problem. To solve the problem, just create the folder /etc/logrotate.d manually or otherwise remove the corresponding line in /etc/lograte.conf One customer of us, had 46 GB logfiles yesterday. I hope it will be solved in the next ipfire version. It does not make sense to fix the problem after each new installation manually. thanks Andreas
Just to confirm this, logrotate doesn't rotate any logs at all if the directory does not exist? I don't suppose that we will be able to do any performance improvements on that perl code in the next time.
Hi, i can confirm your suspicion. Just create the folder and everything is functioning properly. (you can check this in your normal update routine and / or create it at new installations) Regards Markus
Bug was introduced by: http://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=23b810171806939a23c3d5df7758b90dda357116
*** Bug 10531 has been marked as a duplicate of this bug. ***
*** Bug 10762 has been marked as a duplicate of this bug. ***
Here is the fix: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=c460d5c25e231ab6322dcbb13bc04e6e56d5d7f6
Fix shipped with Core Update 89.