﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21621	Remove kqueue-based autoreloader	Aymeric Augustin	nobody	"I keep running into issues and I now think it's a dead end. The final nail in the coffin is the subprocess module: if fails miserably as soon as 1024 file descriptors open, even if they're unrelated.

{{{
  File ""/Users/myk/Documents/dev/myks_org/django/utils/version.py"", line 26, in get_version
    git_changeset = get_git_changeset()
  File ""/Users/myk/Documents/dev/myks_org/django/utils/version.py"", line 48, in get_git_changeset
    timestamp = git_log.communicate()[0]
  File ""/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py"", line 806, in communicate
    return self._communicate(input)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py"", line 1384, in _communicate
    stdout, stderr = self._communicate_with_select(input)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py"", line 1485, in _communicate_with_select
    rlist, wlist, xlist = select.select(read_set, write_set, [])
ValueError: filedescriptor out of range in select()
}}}

kqueue needs one open file descriptor per watched file, so this condition is reached extremely quickly."	Bug	closed	Core (Management commands)	dev	Normal	fixed			Accepted	0	0	0	0	0	0
