gy09535 edited a comment on issue #2899:
URL: https://github.com/apache/apisix/issues/2899#issuecomment-737158868


   I try to use bad user and I find too many auth request can cause etcd cpu 
100% . Apisx  render too many auth error in etcd_config.lua ,ref : 
https://github.com/apache/apisix/blob/master/apisix/core/config_etcd.lua#L509
   I think the _automatic_fetch may be has problem, ref: 
https://github.com/apache/apisix/blob/master/apisix/core/config_etcd.lua#L486
   
   ### etcd cpu 100%
   
![image](https://user-images.githubusercontent.com/15153469/100864332-d1a49c00-34d0-11eb-8e44-794f4369216c.png)
   
   ### etcd error log 
   
![image](https://user-images.githubusercontent.com/15153469/100864479-01ec3a80-34d1-11eb-96c9-fbba4c58225b.png)
   
   ### apisix error log 
   
![image](https://user-images.githubusercontent.com/15153469/100864536-13354700-34d1-11eb-8dc2-b0c152d6ed99.png)
   
   @spacewander  You can use my case to reproduce it.


----------------------------------------------------------------
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:
[email protected]


Reply via email to