Hallo,
today I had a surprising situation. Exim stopped. It's a German centos 5.3 64 Bit installation so the messages are partial in German.
Then I tried a restart:
[root@centos ~]# service exim restart
exim beenden: [FEHLGESCHLAGEN]
exim starten: /bin/bash: line 1: 6596 Die maximale Dateigröße ist überschritten /usr/sbin/exim -bd -q30m
[FEHLGESCHLAGEN]
Reducing the size of /var/log/exim/main.log has solved the Problem.
I presume it is a message of CentOS, not from exim. Is this correct?
I think, max filesize in CentOS is 2 TB? See http://www.centos.org/product.html in "Filesystem".
Where can I change it?
Best regards
Helmut
Oh my! Did you verify the size of the main.log file? 2TB of mail.log data strikes me as too much. Are you rotating your logs? Is there a lot of spam moving through your system?
Assuming you are running this on an ext3 filesystem you cannot increase the maximum file size beyodn 2TB. If you really do need bigger files than that then you should think about XFS or ext4. Exim does not have a max supported log size... at least I could not find it in the docs and I've never had that problem when running exim.
Can you double check the size of mail.log and that is being rotated?
--------------------------------- Geoff Galitz Blankenheim NRW, Germany http://www.galitz.org/ http://www.galitz.org/ http://german-way.com/blog/ http://german-way.com/blog/
File size was actual some 2 GB:
-rw-r----- 1 exim exim 2147483647 30. Jun 11:27 main-090630.log
Helmut
Von: centos-bounces@centos.org [mailto:centos-bounces@centos.org] Im Auftrag von Geoff Galitz Gesendet: Dienstag, 30. Juni 2009 13:39 An: 'CentOS mailing list' Betreff: Re: [CentOS] filesize limitation in CentOS or exim?
Oh my! Did you verify the size of the main.log file? 2TB of mail.log data strikes me as too much. Are you rotating your logs? Is there a lot of spam moving through your system?
Assuming you are running this on an ext3 filesystem you cannot increase the maximum file size beyodn 2TB. If you really do need bigger files than that then you should think about XFS or ext4. Exim does not have a max supported log size... at least I could not find it in the docs and I've never had that problem when running exim.
Can you double check the size of mail.log and that is being rotated?
--------------------------------- Geoff Galitz Blankenheim NRW, Germany http://www.galitz.org/ http://www.galitz.org/ http://german-way.com/blog/ http://german-way.com/blog/
On 06/30/2009 12:23 PM, Helmut Drodofsky wrote:
Hallo,
today I had a surprising situation. Exim stopped. It’s a German centos 5.3 64 Bit installation so the messages are partial in German.
there is an exim default limit or 2GB for the log file. you really should be rotating them so they dont get that large.
- KB
From: Helmut Drodofsky drodofsky@internet-xs.de
today I had a surprising situation. Exim stopped. Reducing the size of /var/log/exim/main.log has solved the Problem. I presume it is a message of CentOS, not from exim. Is this correct?
Do you have a 'LogFileMaxSize' in your configuration file...? BTW, no logrotate?
JD