The following issue has been SUBMITTED. ====================================================================== https://www.opencsw.org/mantis/view.php?id=5339 ====================================================================== Reported By: rselas Assigned To: ====================================================================== Project: collectd Issue ID: 5339 Category: Reproducibility: always Severity: block Priority: normal Status: new ====================================================================== Date Submitted: 2021-03-09 17:16 CET Last Modified: 2021-03-09 17:16 CET ====================================================================== Summary: too many open files Description: collectd reports "too many open files" error despite the fact that there are a lot fd free still not being used:
# plimit 4205 4205: collectd -C /etc/opt/csw/collectd.conf -f resource current maximum time(seconds) unlimited unlimited file(blocks) unlimited unlimited data(kbytes) unlimited unlimited stack(kbytes) 8192 unlimited coredump(blocks) unlimited unlimited nofiles(descriptors) 16384 32768 vmemory(kbytes) unlimited unlimited # pfiles 4205 | tail -10 SOCK_STREAM SO_SNDBUF(16384),SO_RCVBUF(5120) sockname: AF_UNIX peer: collectd[4205] zone: global[0] 573: S_IFSOCK mode:0666 dev:599,0 ino:62746 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK SOCK_STREAM SO_SNDBUF(16384),SO_RCVBUF(5120) sockname: AF_UNIX peer: collectd[4205] zone: global[0] example of error log entry: [2021-03-09 14:46:38] csv plugin: fopen (/diag/collectd/csv/hcdsns-be-jee-r02a-id-c04-m1-n2/DataSource-opss-audit-viewDS/gauge-value-ResolvedAsCommittedTotalCount-2021-03-09) failed: Too many open files ======================================================================