summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-06-30 18:19:47 -0700
committerdormando <dormando@rydia.net>2020-07-02 15:05:22 -0700
commit53b4d74234cdbf42263b49885499ff977b215451 (patch)
treea62ce1e5f208c4307f041b389d1ac3c184781e8d /doc
parent0271aa9e4c96a884a700070a3d7f3afffc276620 (diff)
downloadmemcached-53b4d74234cdbf42263b49885499ff977b215451.tar.gz
fix leak in merged resp/read buffers
The list grows toward next, not prev. Also wasn't zeroing out next ptr. Also didn't unmark free for first resp object. (thanks Prudhviraj!) Adds a couple counters so users can tell if something is wrong as well. response_obj_count is solely for response objects in-flight, they should not be held when idle (except for one bundle per worker thread).
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index 36fce44..737937c 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -1203,6 +1203,9 @@ integers separated by a colon (treat this as a floating point number).
| connection_structures | 32u | Number of connection structures allocated |
| | | by the server |
| response_obj_oom | 64u | Connections closed by lack of memory |
+| response_obj_count | 64u | Total response objects in use |
+| response_obj_bytes | 64u | Total bytes used for resp. objects. is a |
+| | | subset of bytes from read_buf_bytes. |
| read_buf_count | 64u | Total read/resp buffers allocated |
| read_buf_bytes | 64u | Total read/resp buffer bytes allocated |
| read_buf_bytes_free | 64u | Total read/resp buffer bytes cached |