Please turn JavaScript on

Recent Commits to gunicorn:master

Is this your feed? Claim it!

Publisher:  Unclaimed!
Message frequency:  1.07 / day

Message History

Merge pull request #3651 from benoitc/fix/control-socket-reload-leak-3648 fix: control socket leaks fds and threads on SIGHUP reload (#3648)

Read full story
test: make reload leak test robust to pypy non-refcounting GC Assert fd counts do not keep growing across many reloads instead of a strict absolute bound. PyPy leaves already-closed fds pending collection, so a fixed offset is not a leak; a real leak keeps climbing per reload. Thread count stays the deterministic signal.

Read full story
test: fix pre-existing pylint unused-variable in test_http.py

Read full story
fix: stop control socket leaking fds and threads on SIGHUP reload (#3648) reload() spawns workers back to back, so each fork's _stop_for_fork ran before the just-restarted control thread had set _loop/_server. The shutdown was skipped, join() timed out, and the thread was dropped while still holding its selector fd and unix socket, leaking one thread plus fds per worker per rel...

Read full story