Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson def22c226f issue #179: don't reap first stage until core_src_fd is drained.
Bootstrap would hang if (as of writing) a pipe sufficient to hold 42,006
bytes was not handed out by the kernel to the first stage. It was luck
that this didn't manifest before, as first stage could write the full
source and exit completely before reading begun.

It is not clear under which circumstances this could previously occur,
but at least since Linux 4.5, it can be triggered if
/proc/sys/fs/pipe-max-size is reduced from the default of 1MiB, which
can have the effect of capping the default pipe buffer size of 64KiB to
something lower.

Suspicion is that buffer pipe size could also be reduced under memory
pressure, as reference to busy machines appeared a few times in the bug
report.
8 years ago
.travis tests: paralellize vanilla Ansible run. 8 years ago
ansible_mitogen Enable unidirectional routing in Ansible; closes #132. 8 years ago
docs docs: more accurate bullet. 8 years ago
examples examples: import mitogen-fuse.py. 8 years ago
mitogen issue #179: don't reap first stage until core_src_fd is drained. 8 years ago
tests issue #132: initial unidirectional routing mode. 8 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 8 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml issue #179: ec0_receive() and connect_bootstrap() should use deadline. 8 years ago
ChangeLog docs: add initial ChangeLog. 8 years ago
LICENSE Add license text everywhere. 8 years ago
README.md README: move testing bits into tests directory. 8 years ago
dev_requirements.txt tests: Add coverage as a dev requirement 8 years ago
preamble_size.py Add mitogen.service to preamble_size.py 8 years ago
run_tests issue #164: rename 'test' to 'run_tests' to avoid tab complete conflict 8 years ago
setup.cfg tests: Switch to unit2 test runner, with coverage 8 years ago
setup.py setup: Add missing os import 8 years ago
tox.ini tests: Switch to unit2 test runner, with coverage 8 years ago

README.md