Re: cf-agent and memory usage
Stefan Skoglund <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
tis 2022-01-04 klockan 16:54 +0100 skrev Stefan Skoglund: > I have a error in my policy such that cf-agent on the hub eats up all > memory (a virtual machine with 5G of RAM allocated) and when crashes > with xrealloc: > --- > notice: Q: "...ne/bin/git pull": Already up to date. > xreallocCRITICAL: Unable to allocate memory > --- > > This is enterprise 18.1. > > How to debug ? > > Do cf-agent pulls down data from the clients or is it cf-hub who does > that ? > answering to myself, i have a policy which load data_state() into an container in pass 1 and then it is redone in pass 2. I wanted the classes part from data_state which is then used in a custom template_data container. It isn't the first time i have tried this..... -- You received this message because you are subscribed to the Google Groups "help-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/94debf1284fe871860493c16765849f21f74ebea.camel%40agj.net.