Giter Site home page Giter Site logo

Comments (7)

jbergstroem avatar jbergstroem commented on May 9, 2024

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.

benoitc avatar benoitc commented on May 9, 2024

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.

alephzarro avatar alephzarro commented on May 9, 2024

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

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

benoitc avatar benoitc commented on May 9, 2024

what is your fs ?

from gunicorn.

alephzarro avatar alephzarro commented on May 9, 2024

zfs v14

from gunicorn.

benoitc avatar benoitc commented on May 9, 2024

are you reproducing it with latest head ?

from gunicorn.

benoitc avatar benoitc commented on May 9, 2024

can't reproduce and no answer for reporter. Closing this issue for now.

from gunicorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.