[collectd] Too many open files

matthew sporleder msporleder at gmail.com
Wed Aug 19 14:20:41 CEST 2009


On Wed, Aug 19, 2009 at 7:25 AM, Domagoj Mikac<domagoj.mikac at metronet.hr> wrote:
> Hi,
>
> I have created a <Plugin snmp> section with appropriately 2300 devices.
> Configuration for each device looks as follows (Device name and ip address
> is set for each device differently).
>
>         <Host "DEVICE_NAME">
>                 Address "DEVICE_IP_ADDRESS"
>                 Version 2
>                 Community "COMMUNITY_STRING"
>                 Collect "unicast_traffic64" "nonunicast_packets"
> "discarded_packets" "errored_packets"
>         </Host>
>
> After starting collectd process it creats RRD files for only 1257 devices
> (RRDs for more than 1000 devices are not created, even though I have enough
> free space on disk)
>
> At the same time I get the following error in log file:
>
> [2009-08-19 12:15:56] rrdtool plugin: rrd_update_r
> (/opt/collectd/rrd/test.rrd) failed: opening '/opt/collectd/rrd/test.rrd':
> Too many open files
> [2009-08-19 12:19:20] rrdtool plugin: rrd_update_r
> (/opt/collectd/rrd/test.rrd) failed: mmaping file
> '/opt/collectd/rrd/test2.rrd': Invalid argument
>
> Please help.
>

Check out your ulimit values and bump them up!  (especially ulimit -n)



More information about the collectd mailing list