Hi,
after the wrapper reach the 2 GB logfile size it stopps and never come back.
OK, why the java process is write so much log entries is a onother bad story :-(
Error message:
/etc/init.d/tomcat_3401 start Starting tomcat_3401...
DEBUG | wrapper | 2008/01/25 16:08:40 | Working directory set to: /var/tmp/tomcat-server/tomcat_3401/temp
/opt/tomcat-server/tomcat_3401/bin/wrapper: line 406: 27083 File size limit exceededsu -m $RUN_AS_USER -c "exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE wrapper.daemonize=TRUE $WRAPPER_PARAMETER"
System
Debian Linux 32 Bit Kernel
Usage: wrapper_delta_pack_3.2.3/bin/wrapper-linux-x86-32
java 1.5.0_06
== wrapper log configuration:
wrapper.console.format=LPTM
wrapper.console.loglevel=NONE
wrapper.logfile.rollmode=DATE
wrapper.logfile=/var/log/tomcat-server/tomcat_3401/catalina-YYYYMMDD.log
wrapper.logfile.format=M
wrapper.logfile.loglevel=INFO
wrapper.syslog.loglevel=NONE
===
I debug the problem and find that the wrapper source isn't compile with
LARGE_FileSize support.
After we at logger.c the following lines, the problem are gone:
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64
s. http://www.ohse.de/uwe/articles/lfs.html
I am not sure that all linux platforms use the same switch or have this problem.
Peter
Logged In: YES
user_id=228081
Originator: NO
Peter,
Thank you for pointing this out. First of all, I would strongly suggest using log rolling.
This should now be fixed for the 3.3.0 release.
Cheers,
Leif