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/10/30 02:55:45 UTC

[GitHub] [apisix] spacewander commented on issue #2520: bug: "failed to acquire the lock: timeout" in logs/error.log when setuping route at the first time

spacewander commented on issue #2520:
URL: https://github.com/apache/apisix/issues/2520#issuecomment-719139512


   @wfgydbu 
   What was the CPU usage and loadavg when the `failed to acquire` error happened?
   
   The difference between v1.5 and v1.2 which causes the issue is that v1.5 introduce a lock to limit the concurrency. This limitation is to protect backend services, but the schema check doesn't interact with any backend services, so we can add a new option to bypass lock in the lrucache.


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