Skip to content

Commit 8ab4e79

Browse files
authored
docs(weave): Add troubleshooting guide item on OSError24 (#3844)
1 parent 5b6883e commit 8ab4e79

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/docs/guides/troubleshooting.md

+12
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,15 @@ This can also be set programmatically using the `settings` argument to `weave.in
106106
```python
107107
client = weave.init("fast-upload", settings={"client_parallelism": 100})
108108
```
109+
110+
## OS errors
111+
112+
### `[Errno 24]: Too many open files`
113+
114+
This error occurs when the number of open files exceeds the limit set by your operating system. In Weave, this may happen because you're working with large image datasets. Weave uses `PIL` for image processing, which keeps file descriptors open for the duration of the program.
115+
116+
To resolve this issue, increase the system limit for open files to `65,536` using `ulimit`:
117+
118+
```bash
119+
ulimit -n 65536
120+
```

0 commit comments

Comments
 (0)