dspinellis / dspinellis/pmonitor
“too many open files” error in awk
Open
- Dominant language
- Shell
- Stars
- 192
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
I am running `pmonitor -i1` on a long-running `cp` process that copies some large files but also very many small files, and I’m getting this error:
```
awk: cmd. line:4: (FILENAME=- FNR=18787) fatal: cannot open pipe `date +%s' (Too many open files)
```
I think `file_length` is leaking file descriptors (though I’m not quite sure about the details).
PR incoming.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.