-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Arseny,

On 7/30/14, 4:13 PM, Arseny wrote:
> 30.07.2014 16:19, Ron Holckener пишет:
>> This behavior exists using the regular shutdown.sh script? Is the
>> timeout (10s) configurable?
>> 
>> Thanks, Ron Holckener
>> 
>> 
> 
> ./$CATALINA_HOME/bin/catalina.sh stop 30
> 
> (30 sec. wait)
> 
> Don't remember same option inside shutdown.sh, but anyway - it
> call catalina.sh with stop option.

catalina.sh stop 30 will only wait 30 seconds to check to see if the
process stopped: it will not force a shutdown.

Under default setup, Tomcat will only perform a graceful shutdown.
That is, no explicit process termination will occur. A SHUTDOWN
command is sent to the server which will pause the connectors (so they
will not accept new connections) but any in-progress connections will
complete, the thread pool(s) will drain, etc.

If you use:

$ CATALINA_PID=/tmp/tomcat.pid bin/catalina.sh stop 30 -force

... then catalina.sh will wait 30 seconds and then try to kill the JVM
using "kill -9" once per second for 5 seconds until the process is
dead or the 5 tries don't work.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJT2bWsAAoJEBzwKT+lPKRYDiUQAL6MbPwQAsvKATU5Xquhy40k
DHc3KKPG5Ro/i4cNJkT7MkyPzfJTeKCyfJpqk2YyNv2xcdY6RLHcVFEixBrtE1oK
KEzZFZbQy1kMGcn1QJhzRW5nuWJYRk/XPI+YZ87BMnNl9MBmHRdyQxL2fEEtrXf5
srsPR3FY1OWtz59ZrQ49A2v4vnnx49p3+UmRhO6WxvYlD08W24PbE/MNwG75fdg8
TDQFRD+4UZ6seILGX+7/oVXDMw6SbyrRKo/8qfKWBZG7j9NkYzirvYE7pH9szI16
7nMi4to5YN3JLLTFCDgwPsxgbct0577UUzRAfMqbFwOdhY5F2drphVwoPqSZvPUw
7qwDi+u4AkQhXoxcWGsSGi+bKHxOHayZBLH+M7UDtc6cPFCYDCL11umyFnEuJFj7
vqMODzn+Y70pVHCTiXtkOyoLjEFbrQk/h+GPDAlsDUYDoQ8woDCY2aNZn5yrQ+Hr
uyoeHQCYKamok6tEPScNUzLuVHdiS9PSdDA+NFsYkq0Vw3GmHV/a2SGSye+Esilj
8uhlxeIuN6OpFqtZ2qZADdETSGwXWOrK0o+bLMGm+7yQK5aVTlPxm0gxCMT3kOyH
Uopy0vvZL0GmWznjVJLvmcb0DUqwmV0U0ZWk7vKL9SqF2BXC0ESnUsI2gZhos26r
qzQcHnG8QuIroFsfRPQQ
=MpLt
-----END PGP SIGNATURE-----

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

Reply via email to