Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken pipe after running for a while #241

Open
dzpt opened this issue Jan 28, 2023 · 3 comments
Open

broken pipe after running for a while #241

dzpt opened this issue Jan 28, 2023 · 3 comments

Comments

@dzpt
Copy link

dzpt commented Jan 28, 2023

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
@jonashaag
Copy link
Owner

Are the clients disconnecting randomly? What are the clients?

@dzpt
Copy link
Author

dzpt commented Jan 28, 2023

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

@jonashaag
Copy link
Owner

In that the messages are nothing to worry about

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants