diff options
author | Kevin Lin <developer@kevinlin.info> | 2020-11-16 15:26:49 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-11-20 12:30:33 -0800 |
commit | 1332f52df4dc9084325d348ac12a8fdc44811d17 (patch) | |
tree | 70ee6328088a4a42fdf3df736d000d1ff867854a /doc | |
parent | 2d118d43d4607d86f2312f0dd44815833da39a59 (diff) | |
download | memcached-1332f52df4dc9084325d348ac12a8fdc44811d17.tar.gz |
'shutdown graceful' command for raising SIGUSR1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocol.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt index 625db25..2788253 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -1695,6 +1695,12 @@ be released back to the OS asynchronously. The argument is in megabytes, not bytes. Input gets multiplied out into megabytes internally. +"shutdown" is a command with an optional argument used to stop memcached with +a kill signal. By default, "shutdown" alone raises SIGINT, though "graceful" +may be specified as the single argument to instead trigger a graceful shutdown +with SIGUSR1. The shutdown command is disabled by default, and can be enabled +with the -A/--enable-shutdown flag. + "version" is a command with no arguments: version\r\n |