line 227, in create_sockets sock = sock_type(addr, conf, log) File "/.../lib/python3.4/site-packages/gunicorn/sock.py", line 114, in __init__ fcntl.lockf(self.sock, fcntl.LOCK_SH | fcntl.LOCK_NB) OSError: [Errno 9] Bad file descriptor ...
Python sockets can actually be closed multiple times without issue. Python tracks when a socket has been closed and only issues a close to the OS once. However, if you close a file descriptor out from underneath the Python socket, then closing it from Python will cause an EBADF error: >>...
[2021-01-21 17:25:14 +0800] [28640] [INFO] Error while closing socket [Errno 9] Bad file descriptor [2021-01-21 17:25:14 +0800] [28642] [INFO] Shutting down [2021-01-21 17:25:14 +0800] [28642] [INFO] Error while closing socket [Errno 9] Bad file descriptor [2021-01-21 ...
Manager I, Engineering - Capacity Management Paris, France; Madrid, Spain See all jobs at Datadog Related Posts NGINX 502 Bad Gateway Error: PHP-FPM How to monitor Elasticsearch with Datadog Monitoring Kafka with Datadog eBook: Migrate to Azure without disruption...
File "/usr/lib/python3/dist-packages/gunicorn/six.py", line 625, in reraise raise value File "/usr/lib/python3/dist-packages/gunicorn/workers/async.py", line 35, in handle listener_name = listener.getsockname() OSError: [Errno 9] Bad file descriptor ...
[INFO] Error while closing socket [Errno 9] Bad file descriptor I believe this is coming from this line in gunicorn: gunicorn/gunicorn/sock.py Line 69 in 1299ea9 self.log.info("Error while closing socket %s", str(e)) fvalverd commented Jul 10, 2021 This...
[2020-05-23 03:08:13 +0000] [15] [INFO] Shutting down 2020-05-23 15:08:13.259 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Error while closing socket [Errno 9] Bad file descriptor 2020-05-23 15:08:13.360 NZST [2020-05-23 03:08:13 +0000] [15] [INFO] Waiting for ...
The code checking from the file descriptor type is not cross platform. A fix should land today. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. dangelsaurus commented Nov 26, 2019 same here. excited to see ...