tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Ralph.Gro...@itdz-berlin.de>
Subject RE: Catalina.out gets to big-> Server crashes
Date Thu, 02 Feb 2006 10:55:39 GMT
Good Morning Pete,

although I have no Tomcat knowledge whatsoever
(only subscribed to the list in order to learn more and seek for
an answer to my trivia questions)
the fact that your Tomcat crashes when a logfile reached the 2 GB
boundary
in my opinion has nothing to do with Tomcat but rather the
underlying filesystem Tomcat is logging to.
Usually old type filesystems could only write 2^31 bytes unless
the filesystem provided a so
called largefile extension.
Modern journaling filesystems have far higher limits for single
file sizes.
What type of filesystem do you use?
Besides, I'd strongly advise to employ logrotate on your
logfiles.
No admin can comfortably handle logfiles that big.
Any log rotation mechanism would automatically rotate the files
either on a set time interval
or if a set size is reached.

HTH
Ralph

> -----Original Message-----
> From: Peter.Neu@gmx.net [mailto:Peter.Neu@gmx.net]
> Sent: Thursday, February 02, 2006 11:09 AM
> To: Tomcat Users List
> Subject: Catalina.out gets to big-> Server crashes
> 
> 
> Hello,
> 
> I got this problem that the catalina.out file gets to big. It
grows to
> a size of approx. 2 gig and then tomcat just crashes. 
> 
> Does anyone know how configure tomcat so that catalina.out 
> only get a size
> of 100 MB and then replaces it by a new empty catalina.out? 
> The old one
> should be saved under a different name. 
> 
> cheers,
> Pete 
> 
> -- 
> Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne
Risiko!
> Satte Provisionen fur GMX Partner:
http://www.gmx.net/de/go/partner
> 
>
-----------------------------------------------------------------
----
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message