Jul 23 Ashok Mandala wrote: | | Hi All, | | I have started using the API calls to librrd in my program (Thanks for | helping out :-) ) - but have started getting the "too many open files" | error message from rrd_get_error() after around 1200 rrd files have | been created/updated. I am not opening any files or sockets in my | program, so the rrd functions should be the only ones using the file | descriptors. Also, the application is not multi-threaded , so there is | only one call to rrd_xxx functions at any point - I expect that after | each return from the rrd_update() or rrd_create() calls the file | descriptor count would have been unchanged if the files had been | properly closed. Then, why is this error occuring ? Has anyone | encountered the same problem before ?
there is a bug in rrdtool where you loos filedescriptor every time you try to open a file which does not exist ... will be fixed in the next release cheers tobi | | Thanks. | Ashok. | | | | | | | -- | Unsubscribe mailto:[EMAIL PROTECTED] | Help mailto:[EMAIL PROTECTED] | Archive http://www.ee.ethz.ch/~slist/rrd-developers | WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi | | -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ mailto:[EMAIL PROTECTED] http://people.ee.ethz.ch/~oetiker -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
