iresty / Mio

API statistics/summary and health datas in NGINX based on OpenResty/ngx_lua, just like NGINX Plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About stub_status module's error info?

fankeke opened this issue · comments

HI, I installed openresty like this:
[ke@localhost openresty-1.11.2.1]$ ./configure --with-http_stub_status_module --with-pcre=../pcre-8.30

and then visit to localhost:8080

but error info below:

Mio/gateway/module/status.lua:250: attempt to perform arithmetic on field 'connectio
ns_reading' (a nil value)

I think already install stub-status module, and checked obj/ngx_module.c 。

any tips ?? thanks

my mistakes .

I previously using the old nginx core instead of recompiled nginx core. so ...

this time everything run ok. thanks .