Closed akshayka closed 3 weeks ago
Some more digging.
I opened 8 notebooks on macOS, without closing any. This led to > 256 open file descriptors, exceeding macOS' default limit of 256 open files. This caused marimo new to fail. In this case, the failure was not due to a leak but just due to for some reason we open a lot of files in the server.
Describe the bug
A user left marimo edit (homepage) running for multiple days. There were 8 notebooks open in that edit session, each of which had also been running for multiple days.
The server eventually became degraded, in the following ways:
This suggests a possible file descriptor leak, somewhere in the server, but I'm not sure where. The server had to be force quit.
Snippet of logs attached. (The server was continually emitting error logs).
errors.txt
Logs when trying to create a new notebook:
Environment
marimo 0.6.13, macOS.
Code to reproduce
No response