Logrotation #524

Open
kingofthering opened this Issue Oct 25, 2015 · 3 comments

Projects

None yet

2 participants

@kingofthering

Hi Justin,
my cron job stopped working out of a sudden. Opening the link reported "internal Server Error"
I realized that the eror.txt file was 65536Kb and when I deleted it the cron job started again.

Obviously the server has a problem handling files with the used perllib.

Would it be possible to add logrotation?

Thx,
Axel

@justingit
Owner

I think log rotation would be a good wishlist item. Right now, you could probably just set up another cronjob to do the log rotation job for you, (via mv)

65 megs is not a whole heck of a large error log, though and Dada Mail would only be opening it to write to, not read and certainly not to read all at once, so I don't suspect the size of the file will matter. But rather, I wonder if the permission to the file were changed? Even if the permissions to the error log file are changed, Dada Mail should still run, just not be able to write into the error log.

What version of Dada Mail are you using?

@kingofthering

Hi Justin,
Ansolutely with u, 65megs is nothing, but it could grow infinetely...
I run 8.4

I need to change my web hoster, the server sucks everywhere ... Even if its the biggest german one ...
Thx,
Axel

Am 25.10.2015 um 20:53 schrieb Justin J notifications@github.com:

I think log rotation would be a good wishlist item. Right now, you could probably just set up another cronjob to do the log rotation job for you, (via mv)

65 megs is not a whole heck of a large error log, though and Dada Mail would only be opening it to write to, not read and certainly not to read all at once, so I don't suspect the size of the file will matter. But rather, I wonder if the permission to the file were changed? Even if the permissions to the error log file are changed, Dada Mail should still run, just not be able to write into the error log.

What version of Dada Mail are you using?


Reply to this email directly or view it on GitHub.

@justingit
Owner

Most any cPanel host will work well - this is a partner referral link for Bluehost:

http://www.bluehost.com/track/dadamail/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment