diff options
author | dormando <dormando@rydia.net> | 2020-02-25 18:09:05 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-02-26 00:16:50 -0800 |
commit | 05721e4b6c393f25830021bb13f6637e5747dfcc (patch) | |
tree | 533ac96420a55842798070ee225a4ca32d39febc /doc | |
parent | 379e3df46dd2f08fb12f577bba70a9d7422b6f7c (diff) | |
download | memcached-05721e4b6c393f25830021bb13f6637e5747dfcc.tar.gz |
add separate limits for connection buffers
allows specifying a megabyte limit for either response objects or read
buffers. this is split among all of the worker threads.
useful if connection limit is extremely high and you want to
aggressively close connections if something
happens and all connections become active at the same time.
missing runtime tuning.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocol.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt index 8440ca9..2e58702 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -1107,8 +1107,10 @@ integers separated by a colon (treat this as a floating point number). | response_obj_bytes | 64u | Number of bytes used for response objects | | response_obj_total | 64u | Total nummber of response objects | | response_obj_free | 64u | Current free cached response objects | +| response_obj_oom | 64u | Connections closed by lack of memory | | read_buf_bytes | 64u | Total read buffer bytes allocated | | read_buf_bytes_free | 64u | Total read buffer bytes cached for reuse | +| read_buf_oom | 64u | Connections closed by lack of memory | | reserved_fds | 32u | Number of misc fds used internally | | cmd_get | 64u | Cumulative number of retrieval reqs | | cmd_set | 64u | Cumulative number of storage reqs | @@ -1276,6 +1278,8 @@ other stats command. | | | per active watcher connected. | | worker_logbuf_size| 32u | Size of internal per-worker-thread buffer | | | | which the background thread reads from. | +| resp_obj_mem_limit| 32u | Megabyte limit for conn. response objects. | +| read_obj_mem_limit| 32u | Megabyte limit for conn. read buffers. | | track_sizes | bool | If yes, a "stats sizes" histogram is being | | | | dynamically tracked. | | inline_ascii_response | |