Nginx worker process cpu utilized 100%

the kong version is 1.1.2, when create new service and route, the first time access to routes, the fronted webstite will get error like 504, the cpu utilized will increase to 100% and the work process is shutting down, one more to pay attention to is that the idle conncection of postgres 9.6 will increase quickly util exceed the max connectin limit by pgmoon , here are some error logs for refernece:

[crit] 73606#0: *2940864 [lua] handler.lua:192: could not rebuild router: could not find service for route (2ead3ee5-d3b9-4e35-9d50-2777b7d52258): [postgres] receive_message: failed to get type: close
[error] 73606#0: *2940864 [kong] handler.lua:686 no router to route request (reason: could not find service for route (2ead3ee5-d3b9-4e35-9d50-2777b7d52258): [postgres] receive_message: failed to get type: closed)
kong] concurrency.lua:93 bypassing build_router lock: timeout,


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ