You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/18 13:14:04 UTC

[GitHub] [apisix] OnlyPiglet opened a new issue #2074: prometheus no memory when high qps request help:

OnlyPiglet opened a new issue #2074:
URL: https://github.com/apache/apisix/issues/2074


   ### Issue description
   when at a high qps scene, the promethues will report a error about the exporter
   no memory allocted
   table.contact(peometheus:merics_data())
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS: centos 7.7 64 位
   
   it seem's the reason is the limit of luajit or lua itself,how can I solve this.thanks for helping
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet edited a comment on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet edited a comment on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675473410


   @membphis  I sorry I have destory the colud server, this is the only info about this error,the error link the file of promethues/exporter.lua  ``core.table.concat(prometheus:metric_data())``
   ``` shell
   lua entry thread aborted: memory allocation error: not enough memory
   ```


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet edited a comment on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet edited a comment on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675484892


   there is a fire flame
   <img width="923" alt="Snipaste_2020-08-18_21-39-38" src="https://user-images.githubusercontent.com/46953658/90519987-562a1380-e19b-11ea-8061-3a0990f2473e.png">
   I am not sure if this will be useful to solve this problem


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675484892


   there is a fire flame
   <img width="923" alt="Snipaste_2020-08-18_21-39-38" src="https://user-images.githubusercontent.com/46953658/90519987-562a1380-e19b-11ea-8061-3a0990f2473e.png">
   I am not sure if this will be helpful


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675474865


   we cloudn't add the limit of lua or luajit right?


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet edited a comment on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet edited a comment on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675473410


   @membphis  I sorry I have destory the colud server, this is the only info about this error,the error link the file of promethues/exporter.lua  table.contact(peometheus:merics_data())
   ``` shell
   lua entry thread aborted: memory allocation error: not enough memory
   ```


----------------------------------------------------------------
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.

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



[GitHub] [apisix] github-actions[bot] closed issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2074:
URL: https://github.com/apache/apisix/issues/2074


   


-- 
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] github-actions[bot] commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-904504060


   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] OnlyPiglet commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675793450


   @membphis yes,that's what I am concerned the Lua GC 64 model .MyMemory is 16GB,The Cpu is 4 cores


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675494088


   Do you enabled Lua GC 64 model?
   And what is the size of your memory?


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet edited a comment on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet edited a comment on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675484892


   @membphis there is a fire flame
   <img width="923" alt="Snipaste_2020-08-18_21-39-38" src="https://user-images.githubusercontent.com/46953658/90519987-562a1380-e19b-11ea-8061-3a0990f2473e.png">
   I am not sure if this will be useful to solve this problem


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675473410


   @membphis  I sorry I have destory the colud server, this is the only info about this error,the error link the file of promethues/exporter.lua  table.contact(peometheus:merics_data())
   ``` lua entry thread aborted: memory allocation error: not enough memory
   ```


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675471859


   please provide a full error log.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] OnlyPiglet edited a comment on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
OnlyPiglet edited a comment on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-675484892


   @membphis there is a flame graph
   <img width="923" alt="Snipaste_2020-08-18_21-39-38" src="https://user-images.githubusercontent.com/46953658/90519987-562a1380-e19b-11ea-8061-3a0990f2473e.png">
   I am not sure if this will be useful to solve this problem


----------------------------------------------------------------
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.

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



[GitHub] [apisix] github-actions[bot] commented on issue #2074: prometheus no memory when high qps request help:

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2074:
URL: https://github.com/apache/apisix/issues/2074#issuecomment-914176082


   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