Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High load on python wsgi server causes sem_init: Too many open files #145

Open
ciarancourtney opened this issue Aug 18, 2017 · 0 comments
Open

Comments

@ciarancourtney
Copy link

When running HTTP benchmarks, wrt in this case, against a few Django + WSGI Server combinations (aiohttp, cherrypy, waitress) this error always crops up after a few seconds and the unikernel will become unresponsive. The Techempower framework sets the open file limit to

Code can be viewed here

=== calling "python.bin" main() ===

STUB ``__fork'' called
STUB ``_sys___wait450'' called
Serving on http://0.0.0.0:8080
sem_init: Too many open files
vagrant@tfb-all:~/FrameworkBenchmarks$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 23600
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 99
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 23600
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant