help-cfengine
[Top][All Lists]
Advanced

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

Re: [PATCH] Many interfaces


From: Mark Burgess
Subject: Re: [PATCH] Many interfaces
Date: Mon, 18 Aug 2003 14:23:41 +0200 (MEST)

On  4 Jul, Armin Wolfermann wrote:
> * Mark Burgess <Mark.Burgess@iu.hio.no> [04.07.2003 12:23]:
>> On  4 Jul, Armin Wolfermann wrote:
>> > -#define bufsize 4096
>> > +#define bufsize 32768
>> 
>>   What is the purpose of this? This is not a good thing to do for all
>>   buffers. It would be better to increase the size of a specific
>>   buffer that needs to be larger.
> 
> Sorry, this was the simplest solution to get it run. The defined
> classes grow to over 20 kB and it seems much more difficult (for me)
> to fix this elsewhere in the code.


I have compromised on this. You get more space for interfaces, but
if the ALLCLASS variable grows too large cfagent dumps the environment
from the environment variable channel. I think a large environment
would crash the exec call if someone called modules with such a large
variable. Most Unices won't cope.

But this should not affect most people. 

Change in 2.1.0 end of october. (RElease at LISA 03 cfengine birthday
party)

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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