I believe it is a time related issue. For a test, I had the policy server 
connect to the client's cf-serverd continually for several hours without any 
issue.

I cannot say where the memory issue was. I did not have cf-serverd compiled in 
debug mode, so there are no symbols in the core file. However, the core dump 
did not indicate cf-serverd, but rather some internal libc code. I have seen 
this before on some other programs - exact same stack trace and same register 
values.


On Feb 12, 2010, at 9:38 AM, Gus Tofwin wrote:

> Hi
> Is this a time related issue or a per connection issue? Sounds like a
> per connection issue. I myself have not seen this in v3 but it would
> be interesting to have a some machines connect on a 5 minute intervals
> with a few copies or something to generate a weighted connection. To
> see if this is related on a monthly cleanup or a connection/resource
> clean up?
> 
> What area do you think that the memory segment area are the resources
> stuck in? BDB or a memory leak?
> 
> Me saw this on some older 2.1.x which were fixed in later updates.
> 
> regards
> Gusto
> 
> On Fri, Feb 12, 2010 at 9:36 AM, Mark Burgess <mark.burg...@iu.hio.no> wrote:
>> 
>> Matt, are you saying there is a memory leak, or that there is some weird 
>> memory
>> resource allocation on AIX? Could you work around by restarting the server 
>> once a week?
>> 
>> Matt Richards wrote:
>>> Greetings,
>>> 
>>> cf-serverd core dumped on all my AIX servers after about a month of
>>> running. After looking at the core dump, it seems it is a rather common
>>> issue. cf-serverd over time seems to accumulate too much data to be held
>>> in a single memory segment.  Recompiling with the compiler flag
>>> "-bmaxdata:0x80000000" should do the trick. If you don't want to
>>> recompile, you can relink it with "ldedit -bmaxdata:0x80000000 cf-serverd"
>>> 
>>>  I will let you know in another month if it was successful.
>>> 
>>> 
>>> ------------------------------------------------------------------------
>>> 
>>> _______________________________________________
>>> Help-cfengine mailing list
>>> Help-cfengine@cfengine.org
>>> https://cfengine.org/mailman/listinfo/help-cfengine
>> 
>> --
>> Mark Burgess
>> 
>> -------------------------------------------------
>> Professor of Network and System Administration
>> Oslo University College, Norway
>> 
>> Personal Web: http://www.iu.hio.no/~mark
>> Office Telf : +47 22453272
>> -------------------------------------------------
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>> 

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to