You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "crazyMonkey1995 (via GitHub)" <gi...@apache.org> on 2023/03/29 10:23:55 UTC

[GitHub] [apisix] crazyMonkey1995 opened a new issue, #9195: bug: nginx-lua-prometheus dependency should be update to avoid nginx-lua-prometheus's bug

crazyMonkey1995 opened a new issue, #9195:
URL: https://github.com/apache/apisix/issues/9195

   ### Current Behavior
   
   The version of nginx-lua-prometheus  is 0.20220527,
   But there is a bug of it: https://github.com/knyar/nginx-lua-prometheus/issues/149
   and I encountered this bug
   
   ### Expected Behavior
   
   Maybe update the version of  nginx-lua-prometheus?
   
   ### Error Logs
   
   gdb attach all of the wokers and it block at:
   (gdb) bt
   #0  ngx_shmtx_lock (mtx=0x7e2ba7242068) at src/core/ngx_shmtx.c:87
   #1  0x0000000000572ce9 in ngx_meta_lua_ffi_shdict_store (zone=0xdaa1b8, op=5, key=0x7e2b93e90ba8 "__ngx_prom__key_8", key_len=17, value_type=4,
       str_value_buf=0x7e2b92dec7d0 "xxxxxxxxxxxxx"..., str_value_len=234, num_value=<optimized out>, exptime=0, user_flags=0, errmsg=0x7e2bb47c80a0, forcible=0x7e2bb47a25b0) at /tmp/tmp.PEGq0wUP9q/openresty-1.21.4.1/../apisix-nginx-module-1.9.0/src/meta/ngx_meta_lua_shdict.c:1401
   #2  0x00007e2bbd8b775b in ?? ()
   #3  0x00000000000000ea in ?? ()
   #4  0x0000000000000000 in ?? ()
   
   ![image](https://user-images.githubusercontent.com/21658981/228504237-cb626579-a474-4af3-8655-a73d272941a0.png)
   
   ### Steps to Reproduce
   
   constantly
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.15.0
   - Operating system (run `uname -a`): Linux nginx-prd-it-8fd8df996-rzldj 4.19.113-300.el7.x86_64 #1 SMP Mon Mar 30 21:31:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: prometheus blocked somewhere and cause worker process full CPU usage [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9195:
URL: https://github.com/apache/apisix/issues/9195#issuecomment-2002390358

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] crazyMonkey1995 commented on issue #9195: bug: nginx-lua-prometheus dependency should be update to avoid nginx-lua-prometheus's bug

Posted by "crazyMonkey1995 (via GitHub)" <gi...@apache.org>.
crazyMonkey1995 commented on issue #9195:
URL: https://github.com/apache/apisix/issues/9195#issuecomment-1489560963

   I looked at it again and it seems that something is different. The problem I encountered is that the worker process has been stuck somewhere and did not return (from the perspective of the gdb stack), but from the the stack, it should also be related to prometheus and share dict


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: prometheus blocked somewhere and cause worker process full CPU usage [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9195:
URL: https://github.com/apache/apisix/issues/9195#issuecomment-2029517579

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: prometheus blocked somewhere and cause worker process full CPU usage [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9195: bug: prometheus blocked somewhere and cause worker process full CPU usage
URL: https://github.com/apache/apisix/issues/9195


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org