I use Flask + uwsgi + neo4j.
With a large number of requests at the same time, uwsgi forks out many workers to handle the request, then I get the error below:
neo4j.exceptions.ServiceUnavailable: Failed to read from defunct connection IPv4Address(('neo4j', 7687)) (ResolvedIPv4Address(('172.23.0.5', 7687)))
Issue
I use Flask + uwsgi + neo4j. With a large number of requests at the same time, uwsgi forks out many workers to handle the request, then I get the error below:
Can anyone help me fix this issue? Thanks.
my neo4j driver config :
uwsgi config
My Environment