HAProxy Enterprise Documentation 1.6r2
shutdown sessions server
Terminate all client sessions that are connected to a specific server.
Description
Use shutdown sessions server
to stop all sessions connected to a particular server. You might use this to end long-running sessions after putting a server into maintenance mode.
Examples
Below, we stop all sessions associated with the server s1 in the backend websocket:
$ echo "shutdown sessions server websocket/s1" | sudo socat stdio /var/run/hapee-1.6/hapee-lb.sock
See also
Next up
Troubleshooting