diff options
author | Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | 2017-12-20 18:31:30 +0100 |
---|---|---|
committer | Fernando Fernandez Mancera <ffernandezmancera@gmail.com> | 2017-12-20 18:31:30 +0100 |
commit | ac9eebd63637d39b2a55d9a40c748a197fd47f93 (patch) | |
tree | 3434ea6e2dd7bcbb0efa4a59b3385b5619e715dd /src/or/relay.c | |
parent | 5c4da2cacd308e63293a67a4e595044d24dd56a6 (diff) | |
download | tor-ac9eebd63637d39b2a55d9a40c748a197fd47f93.tar.gz tor-ac9eebd63637d39b2a55d9a40c748a197fd47f93.zip |
Add some values to OOM log msg #24501
Exposing cell_queues_get_total_allocation(), buf_get_total_allocation(),
tor_compress_get_total_allocation(), tor_compress_get_total_allocation() when
hit MaxMemInQueues threshold.
Fixes #24501
Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 09f70793d3..952622b6bf 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -2530,7 +2530,7 @@ packed_cell_mem_cost(void) } /* DOCDOC */ -STATIC size_t +size_t cell_queues_get_total_allocation(void) { return total_cells_allocated * packed_cell_mem_cost(); |