| Name |
Last commit
|
Last update |
|---|---|---|
| codejail | ||
| .coveragerc | ||
| .gitignore | ||
| AUTHORS | ||
| LICENSE.txt | ||
| Makefile | ||
| NOTICE.txt | ||
| README.rst | ||
| memory_stress.py | ||
| proxy_main.py | ||
| pylintrc | ||
| setup.py |
When spawning subprocesses, fork() will fail if the memory of the parent can't be duplicated in the child. This means large long-lived processes will have problems using CodeJail repeatedly. This introduces a long-lived proxy subprocess which then spawns the actual subprocesses. Because the proxy process starts small and stays small, it will be able to spawn subprocesses even when the parent process grows large. The use of the proxy process is controlled by a "PROXY" limit, which should be 0 or 1. If neither is set, then the CODEJAIL_PROXY environment variable determines whether the proxy is used.
| Name |
Last commit
|
Last update |
|---|---|---|
| codejail | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| .gitignore | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| Makefile | Loading commit data... | |
| NOTICE.txt | Loading commit data... | |
| README.rst | Loading commit data... | |
| memory_stress.py | Loading commit data... | |
| proxy_main.py | Loading commit data... | |
| pylintrc | Loading commit data... | |
| setup.py | Loading commit data... |