Comments (7)
EPIPE is most likely related to your client being disconnected when gunicorn tries to respond. This is pretty common and vill be visible if you have the traffic you describe. WORKER TIMEOUT is related to a worker not completing its task before gunicorn has killed it. Try raising a setting named timeout
(defaults to 30) and see if that helps.
from gunicorn.
First one should be a permission problem. Try to set user and group or umask, maybe botth to fix it. Worker timeout is because something in your app keep the worker busy. Which kind of application it is ?
from gunicorn.
Thanks, first of all.
So just to summarize the progress, as for 1):
Setting umask/user/group helped from "crashing on some requests". However then, I encounter the same sort of crash when signaling the server (kill / kill -QUIT / ..)
File "/data/sw/python/current/lib/python2.6/site-packages/gunicorn-0.7.2-py2.6.egg/gunicorn/arbiter.py", line 112, in signal
self.wakeup()
File "/data/sw/python/current/lib/python2.6/site-packages/gunicorn-0.7.2-py2.6.egg/gunicorn/arbiter.py", line 237, in wakeup
os.write(self.PIPE[1], '.')
OSError: [Errno 32] Broken pipe
Btw. I workaround this problem by spawning the gunicorn using & instead of using --daemon
- TIMEOUT and EPIPE. Ok.
Thus the "error: [Errno 57] Socket is not connected" in response.py is the one that makes me feel uncomfortable.
from gunicorn.
what is your fs ?
from gunicorn.
zfs v14
from gunicorn.
are you reproducing it with latest head ?
from gunicorn.
can't reproduce and no answer for reporter. Closing this issue for now.
from gunicorn.
Related Issues (20)
- Suggestion: Drop support for python < 3.7 HOT 1
- Version 21.0.1 or higher breaks with python 3.5 HOT 1
- Improper parsing of chunk lengths HOT 2
- Backlog size monitoring HOT 2
- Error instead of warning in logs when sending SIGTERM since v21
- gunicorn + Django + gevent worker + asyncio code causes SynchronousOnlyOperation error
- log error
- Signal exit log has pid hardcoded in message
- --worker-class eventlet does not successfully switch to websocket, Traceback
- Request hangs in unreader until timeout is reached
- How to set hooks when using baseapplication
- events not sent when using morethan 1 gunicorn workers
- AsyncToSync error with Flask Async, Gunicorn and Gevent
- Gunicorn - websockets only doesn't evenly distribute connections to workers
- [ERROR] Socket error processing request. HOT 1
- I'm considering making the Gunicorn website responsive
- gunicorn master process to register ephemeral node to zookeeper HOT 1
- Using SCRIPT_NAME causes a Gunicorn error HOT 1
- Trouble with 'worker_exit' hook
- worker-class parameter accepts class additionally to class path HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gunicorn.