suningzh
Results
1
comments of
suningzh
> @hilbert36 有没有使用健康检查模块? 可以多跑两天,观察一下内存是否会一直上涨;谢谢! 猜测可能是ngx_http_upsync_ctx_t结构体中的几个ngx_array_t导致的内存泄漏 比如在函数ngx_http_upsync_consul_parse_json内每次使用ngx_array_init对upstream_conf重新进行初始化, 但是原先upstream_conf指向的内存池并没有释放 是否应该先ngx_array_destroy(&ctx->upstream_conf)