File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1159,6 +1159,17 @@ If you set `vhost_traffic_status_zone` directive, is automatically enabled.
11591159
11601160` Description: ` Sets parameters for a shared memory zone that will keep states for various keys.
11611161The cache is shared between all worker processes.
1162+ In most cases, the shared memory size used by nginx-module-vts does not increase much.
1163+ The shared memory size is increased pretty when using ` vhost_traffic_status_filter_by_set_key `
1164+ directive but if filter's keys are fixed(* eg. the total number of the country code is about 240* )
1165+ it does not continuously increase.
1166+
1167+ If you use ` vhost_traffic_status_filter_by_set_key ` directive, set it as follows:
1168+
1169+ * Set to more than 32M shared memory size by default.
1170+ (` vhost_traffic_status_zone shared:vhost_traffic_status:32m ` )
1171+ * If the message(* ` "ngx_slab_alloc() failed: no memory in vhost_traffic_status_zone" ` * )
1172+ printed in error_log, increase to more than (usedSize * 2).
11621173
11631174### vhost_traffic_status_dump
11641175
You can’t perform that action at this time.
0 commit comments