help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lstat: Value too large...


From: skaar
Subject: Re: lstat: Value too large...
Date: Tue, 26 Nov 2002 16:04:50 -0500
User-agent: Mutt/1.4i

* Mark.Burgess@iu.hio.no (Mark.Burgess@iu.hio.no) [021126 15:32]:
> 
> Ah - yes, that's true...I am starting to forget solaris these days.

talking of limits,

cfservd is using select(2) and on linux glibc have a hard coded limit
of 1024 file descriptors when using select (this even if you can
increase the fd limit dynamicly in the kernel) - the glibc maintainers
treats this as a feature and point to poll(2).

I'm not running cfservd myself on linux and I think solaris handles
more than 1024 fds for select, and probably freebsd too where select
is a wrapper around poll, if I remmeber it correctly.

/skaar
> 
> M
> 
> On 26 Nov, skaar wrote:
> > * Mark.Burgess@iu.hio.no (Mark.Burgess@iu.hio.no) [021126 15:10]:
> >> I think it depends on whether the 64 bit OS is installed.
> >> The datastructures are not large enough in the 32bit OS
> >> to handle this. I don't think it matters whether it is stat
> >> or lstat, if that's what you mean. Either way, cfengine
> >> cannot do much about this...
> > 
> > several 32-bit OSes have 64-bit filesystem support
> > 
> > -D_LARGEFILE64_SOURCE 
> > -D_FILE_OFFSET_BITS=64
> > 
> > solaris: man lfcompile64, lf64
> > linux: /usr/include/features.h
> > 
> > 
> > /skaar
> >> 
> >> M
> >> 
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
> >> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Help-cfengine mailing list
> >> Help-cfengine@gnu.org
> >> http://mail.gnu.org/mailman/listinfo/help-cfengine
> > 
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine

-- 
/skaar

+-------------------------------------------------------------------+
+----- skaar@aol.net                     kent skaar ----------------+
+----- internet services: infrastructure & security ----------------+
+-------------------------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]