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

[ERROR] Socket error processing request. #3072

Open
olekhy opened this issue Sep 18, 2023 · 1 comment
Open

[ERROR] Socket error processing request. #3072

olekhy opened this issue Sep 18, 2023 · 1 comment

Comments

@olekhy
Copy link

olekhy commented Sep 18, 2023

We get an Error in gunicorn when try to querieng mssql with a tick bigger query. Smaller queries ; no Error was thrown.

Gunicorn Version 21.2.0


 [ERROR] Socket error processing request.
Traceback (most recent call last):
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 285, in handle
    keepalive = self.handle_request(req, conn)
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 357, in handle_request
    util.reraise(*sys.exc_info())
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/util.py", line 641, in reraise
    raise value
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 343, in handle_request
    resp.write(item)
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/http/wsgi.py", line 326, in write
    self.send_headers()
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/http/wsgi.py", line 322, in send_headers
    util.write(self.sock, util.to_bytestring(header_str, "latin-1"))
  File "/Users/dade/.conda/envs/viz-davide/lib/python3.8/site-packages/gunicorn/util.py", line 299, in write
    sock.sendall(data)
OSError: [Errno 9] Bad file descriptor

@olekhy
Copy link
Author

olekhy commented Sep 18, 2023

duplicate #2064

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

1 participant