I have a Postfix mail server running on Ubuntu 8.10 and when /var/log/mail.log
or any other file reaches exactly 2GB of data syslog stops writing any data to the file.
Is there some kind of limit for a file logged through syslog?
I'm discussing with my colleagues if we should be doing an hourly logrotate on the files in question, and hoping that will stop them from hitting this limit. If we have 2-3 hours worth of log files it should be enough when they're this large to find any large problems.
Best answer to this is: The limit is a Linux "problem" and not a syslog problem. See the right answer here: http://linuxmafia.com/faq/VALinux-kb/2gb-filesize-limit.html
And an extra good advise: Update your Ubuntu. It's way too old. And for a production server it is a very high security risk. Upgrade at least to Ubuntu 10.4.
Are you running on 32 bits? If so, take a look at 2GB file size limit.