GitHub user bhouse-nexthop added a comment to the discussion: Degraded 
cloudstack agent

> > [@vgarcia-linube](https://github.com/vgarcia-linube) on the settings that 
> > helped you said:
> > > limit the number of threads of the agent and try to read the usage 
> > > metrics in longer time spans (I think it defaults to 10 minutes or 
> > > something like that, setting it to once every two hours mitigates it a 
> > > bit, just enough so you don't have to restart the agent every few hours 
> > > so it doesn't hog the kvm node cpu
> > 
> > 
> > Can you provide the exact setting names (and where, such as 
> > agent.properties or something in management config) and values you used 
> > that helped? I'd like to see if that helps me.
> > Also does preemptively restarting the agent before it gets too bad in 
> > something like cron.daily prevent the issue from occurring?
> 
> could check `stats.interval` in global settings

@vgarcia-linube can you elaborate on which stats you changed?  There are a lot 
of `stats.interval` settings in the global config, so I'm thinking you didnt' 
change all of those did you?  "Usage metrics" is a bit generic to know what you 
are referring to.  You did mention ones that default to 10 minute time spans, 
the only one I see that matches that is `volume.stats.interval`.

GitHub link: 
https://github.com/apache/cloudstack/discussions/12450#discussioncomment-15515820

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to