Currently, jetzig leaks at least one file descriptior per static resource it serves. If the public directory contains subdirectories, it potentially leaks one FD per subdirectory.
To reproduce the issue, either check with lsof (e.g. lsof -c jetzig) after doing some requests or start a jetzig app in a shell with a limit on open files (e.g. run ulimit -n 128 before running the jetzig app).
Currently, jetzig leaks at least one file descriptior per static resource it serves. If the public directory contains subdirectories, it potentially leaks one FD per subdirectory.
To reproduce the issue, either check with
lsof
(e.g.lsof -c jetzig
) after doing some requests or start a jetzig app in a shell with a limit on open files (e.g. runulimit -n 128
before running the jetzig app).