tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62515] Tomcat should perform a graceful shutdown
Date Thu, 05 Jul 2018 13:10:07 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
                 OS|                            |All

--- Comment #1 from Mark Thomas <> ---
There are a couple of points it is worth clarifying before starting a
discussion on any potential changes.

Currently, the point where the socket is bound and unbound is controlled by
bindOnInit. By default, the socket is bound when the connector is initialised
and unbound when it is destroyed.

On stop, the connector is first paused. Any new connections from that point
will sit in the TCP backlog. Shutdown continues with the web applications being
stopped followed by the host and engine. Then the connectors are stopped.
Everything is then destroyed (same order). The connections in the backlog will
be dropped when the server socket is unbound.

The behaviour reported in the description is consistent with the current

Effectively, what is being requested is that the server socket is unbound
earlier in the process.

Some investigation is required to see what might be possible.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message