[collectd] no rrd files created on solaris (Bad file number)

Sebastian Harl sh at tokkee.org
Thu Aug 2 15:43:53 CEST 2012


Hi,

On Tue, Mar 22, 2011 at 02:26:47PM +0100, Mathijs Möhlmann wrote:
> On Wed, Mar 16, 2011 at 10:35:07AM +0100, Mathijs Möhlmann wrote:
> > I'm using collectd 4.10.2 on Solaris 10 (gcc 3.4.6). Sometimes when I
> > start with a clean rrd directory or add a host the .rrd file (rrdtools
> > plugin) don't get created and I get the following message:
> > 
> > collectd[2996]: [ID 702911 daemon.error] stat(/usr/local/var/lib/collectd/rrd/asterix/load/load.rrd) failed: Bad file number
> 
> I've created a patch thats fixed this issue for me. Is this the right fix?

Sounds good to me. I've pushed that fix to Github -- see
<https://github.com/collectd/collectd/pull/109>.

Having reentrancy available sounds like a good idea in general ;-)
See also: <http://docs.oracle.com/cd/E19455-01/806-5257/compile-4/index.html>

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120802/ff1fb561/attachment.pgp>


More information about the collectd mailing list