Is there a log file size limit?

GĂ©rard BIGOT gerard.bigot at
Fri Sep 1 08:37:47 UTC 2006

On 9/1/06, Damien Hull <dhull at> wrote:
> I've been trying to figure out why /var/log/mail.log rotates when it
> wants to. It should be once a week but it happens mid week. Someone told
> me to look for a size limit in a config file. I couldn't find one.
> However, /var/log/mail.log seems to rotate at about 1.1 megabytes. It
> also rotates once a week. That's why things looked strange. I had a
> small file after the weekly rotation and then a large one at 1.1 megabytes.
> There must be a config file somewhere that sets the size limit on log
> files. Can someone tell me where this is or where I should look?
The main one to look for is ulimit -a. Type this in a console, you'll
get all the limits self  imposed by linux.

Other factors are the limits of your filesystem : global size,
diretory structure, ...


More information about the ubuntu-users mailing list