https://github.com/polytypic/dream-leak
https://github.com/polytypic/dream-leak
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polytypic/dream-leak
- Owner: polytypic
- Created: 2024-09-13T13:03:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-14T06:35:58.000Z (over 1 year ago)
- Last Synced: 2025-04-08T22:23:22.117Z (9 months ago)
- Language: OCaml
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dream leaks sockets on macOS
After 1k requests Dream server crashes:
```
Fatal error: exception Unix.Unix_error(Unix.EINVAL, "select", "")
Raised by primitive operation at Lwt_engine.select#select in file "src/unix/lwt_engine.ml", line 407, characters 26-60
Called from Lwt_engine.select_based#iter in file "src/unix/lwt_engine.ml", line 348, characters 8-39
Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 36, characters 6-49
Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
Called from Dune__exe__Server in file "bin/server/server.ml", lines 2-10, characters 2-8
```
See the failure on CI.