tengine 关于nginx status统计数据持续增长的问题。

enyaitl3  于 3个月前  发布在  Nginx
关注(0)|答案(4)|浏览(81)

Active connections: 229584
server accepts handled requests request_time
957650437 957650437 3905721729 1541061647601
Reading: 0 Writing: 228043 Waiting: 1540

想请教下,我们的nginx启动以来,统计的nginx status数据就一直增长从未降下去过,与服务器中实际的数据不符。比如Active connections: 229584,实际只有22XX左右。tengine版本是最新的。

izkcnapc

izkcnapc1#

tengine版本是多少?装了哪些模块? ./nginx -V显示是什么?

dfty9e19

dfty9e192#

@yaoweibin details as below,thanks~
Tengine version: Tengine/2.2.2 (nginx/1.8.1)
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/tengine --with-http_v2_module --with-http_ssl_module --with-http_stub_status_module --with-http_upstream_check_module --with-http_concat_module --with-http_realip_module --with-luajit-inc=/usr/local/include/luajit-2.1 --with-luajit-lib=libluajit-5.1.so.2.1.0 --add-module=/root/ngx_cache_purge-2.3 --add-module=/root/ngx_lua-0.10.2 --add-module=/root/ngx_devel_kit-0.2.19 --with-openssl=/root/openssl-1.0.2o --with-force-exit
nginx: loaded modules:
nginx: ngx_core_module (static)
nginx: ngx_errlog_module (static)
nginx: ngx_conf_module (static)
nginx: ngx_dso_module (static)
nginx: ngx_events_module (static)
nginx: ngx_event_core_module (static)
nginx: ngx_epoll_module (static)
nginx: ngx_procs_module (static)
nginx: ngx_proc_core_module (static)
nginx: ngx_openssl_module (static)
nginx: ngx_regex_module (static)
nginx: ngx_http_module (static)
nginx: ngx_http_core_module (static)
nginx: ngx_http_log_module (static)
nginx: ngx_http_upstream_module (static)
nginx: ngx_http_v2_module (static)
nginx: ngx_http_static_module (static)
nginx: ngx_http_autoindex_module (static)
nginx: ngx_http_index_module (static)
nginx: ngx_http_concat_module (static)
nginx: ngx_http_auth_request_module (static)
nginx: ngx_http_auth_basic_module (static)
nginx: ngx_http_access_module (static)
nginx: ngx_http_limit_conn_module (static)
nginx: ngx_http_limit_req_module (static)
nginx: ngx_http_realip_module (static)
nginx: ngx_http_geo_module (static)
nginx: ngx_http_map_module (static)
nginx: ngx_http_split_clients_module (static)
nginx: ngx_http_referer_module (static)
nginx: ngx_http_rewrite_module (static)
nginx: ngx_http_ssl_module (static)
nginx: ngx_http_proxy_module (static)
nginx: ngx_http_fastcgi_module (static)
nginx: ngx_http_uwsgi_module (static)
nginx: ngx_http_scgi_module (static)
nginx: ngx_http_memcached_module (static)
nginx: ngx_http_empty_gif_module (static)
nginx: ngx_http_browser_module (static)
nginx: ngx_http_user_agent_module (static)
nginx: ngx_http_upstream_hash_module (static)
nginx: ngx_http_upstream_ip_hash_module (static)
nginx: ngx_http_upstream_consistent_hash_module (static)
nginx: ngx_http_upstream_check_module (static)
nginx: ngx_http_upstream_least_conn_module (static)
nginx: ngx_http_upstream_keepalive_module (static)
nginx: ngx_http_upstream_dynamic_module (static)
nginx: ngx_http_stub_status_module (static)
nginx: ngx_http_cache_purge_module (static)
nginx: ndk_http_module (static)
nginx: ngx_http_write_filter_module (static)
nginx: ngx_http_header_filter_module (static)
nginx: ngx_http_chunked_filter_module (static)
nginx: ngx_http_v2_filter_module (static)
nginx: ngx_http_range_header_filter_module (static)
nginx: ngx_http_gzip_filter_module (static)
nginx: ngx_http_postpone_filter_module (static)
nginx: ngx_http_ssi_filter_module (static)
nginx: ngx_http_charset_filter_module (static)
nginx: ngx_http_userid_filter_module (static)
nginx: ngx_http_footer_filter_module (static)
nginx: ngx_http_trim_filter_module (static)
nginx: ngx_http_headers_filter_module (static)
nginx: ngx_http_upstream_session_sticky_module (static)
nginx: ngx_http_reqstat_module (static)
nginx: ngx_http_lua_module (static)
nginx: ngx_http_lua_upstream_module (shared, 3.1)
nginx: ngx_http_copy_filter_module (static)
nginx: ngx_http_range_body_filter_module (static)
nginx: ngx_http_not_modified_filter_module (static)

vtwuwzda

vtwuwzda3#

您好,我现在也遇到同样的问题,排查好久仍然没有结果,请问您这个后来有定位到什么原因或者做了什么处理就恢复了吗?

lpwwtiir

lpwwtiir4#

打上这个patch试一下 nginx/nginx@aad0d1b
如果还不行建议升级到nginx最新版本1.19.5

相关问题