bjoern
bjoern copied to clipboard
broken pipe after running for a while
I bind bjoern on socket.
from app import create_app
app = create_app()
if __name__ == '__main__':
import bjoern
bjoern.run(app, 'unix:/var/www/python/vyo/run.sock')
I notice after running for a while, there are numerous of broken pipe log.
Client 10 hit errno 32
Client 3 hit errno 32
Client 3 hit errno 32
Client 8 hit errno 32
Client 8 hit errno 32
Client 10 hit errno 32
Client 10 hit errno 32
Client 10 hit errno 32
Are the clients disconnecting randomly? What are the clients?
@jonashaag sure does, i use flask to serve request with nginx as a proxy. i suppose on some heavy tasks, nginx cuts the connections to the socket which causes the issue.
In that the messages are nothing to worry about