tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Logrotate killing Tomcat
Date Mon, 02 May 2011 14:00:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas,

On 4/30/2011 12:57 AM, Thomas Freitag wrote:
> Hi Alex,
> 
> On 04/29/2011 07:19 PM, Alex Carvalho da Silva wrote:
>> I ran manually "/usr/sbin/logrotate /etc/logrotate.conf" and the aplication
>> shutdown. Can mod_jk shutdown the tomcat?
> 
> No it can not. You should look in /etc/logrotate.conf which files are
> referenced. Maybe scripts are sending signals to the java process.

+1

It's more likely that you are using a process that is more appropriate
for Apache httpd log rotation than Tomcat log rotation.

>> I suspicious that configuration in my workers.properties:
> 
>> worker.institucional-homologacao-west.socket_timeout=1800
>> worker.institucional-homologacao-west.recycle_timeout=1800
>> worker.institucional-homologacao-west.cache_timeout=1800
> 
> At least recycle_timeout and cache_timeout deprecated since several
> years, see
> http://tomcat.apache.org/connectors-doc/reference/workers.html for
> description of connection_pool_timeout.

+1

Always good to read the documentation :)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2+uQAACgkQ9CaO5/Lv0PAbJwCgv2UPa1f8/kCg2T6oMrW4Sfl0
KuIAoMHR4sFhOkWFocgYCRBzlcGMo0JL
=nBow
-----END PGP SIGNATURE-----

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


Mime
View raw message