<div dir="ltr"><div>Hi,</div><div><br></div><div>Is there a way we can adjust memory and CPU of controller-0 before we deploy starlingx?</div><div>In my case without having a single VM under OpenStack has following memory usage though host machine (I use AIO simplex on the virtualized environment) has enough memory.<br></div><div><br></div><div>controller-0:~$ free -m<br>              total        used        free      shared  buff/cache   available<br>Mem:          17894       11131         406          65        6356        5967<br>Swap:             0           0           0<br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 14, 2021 at 7:55 PM Ildiko Vancsa <<a href="mailto:ildiko.vancsa@gmail.com">ildiko.vancsa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I saw that you have a ‘reserved for platform’ memory entry with the value of 4600 MiB.<br>
<br>
I’ve found entries below that report platform memory usage having an over 100% value:<br>
<br>
daemon.log:2021-02-14T07:14:55.000 controller-0 collectd[130887]: info platform memory usage: Usage: 114.7%; Reserved: 4600.0 MiB, Platform: 5274.3 MiB (Base: 4684.1, k8s-system: 590.2), k8s-addon: 0.0<br>
<br>
So while the overall memory usage in the system isn’t over the threshold I assume the usage of that reserved amount of memory still exceeds it. Have you seen any configuration option to increase the amount of platform memory?<br>
<br>
You can also look into collectd if that leads you closer to what it is reading to get those values.<br>
<br>
I don’t have access to a StarlingX install to look into this, so I cannot tell where to look for that.<br>
<br>
I found some documentation for Kubernetes to set memory limits, but I’m not sure that applies here. (<a href="https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/" rel="noreferrer" target="_blank">https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/</a>)<br>
<br>
Have you looked into the above already?<br>
<br>
Thanks,<br>
Ildikó<br>
<br>
<br>
> On Feb 14, 2021, at 10:51, Rai, Ankush <<a href="mailto:Ankush.Rai@commscope.com" target="_blank">Ankush.Rai@commscope.com</a>> wrote:<br>
> <br>
> Not sure exactly which log file to check. Captured some data here, please check if this can help.  <br>
>  <br>
> Software Version: 20.06<br>
> Memory:<br>
> Reserved for Platform: 4600 MiB<br>
> Usable Total: 13293 MiB<br>
> Available: 13293 MiB<br>
>  <br>
> The fm has logged these events.<br>
>  <br>
> fm-event.log:2021-02-10T08:57:25.000 controller-0 fmManager: info { "event_log_id" : "100.103", "reason_text" : "Platform Memory threshold exceeded ; threshold 80.00%, actual 88.83%", "entity_instance_id" : "region=RegionOne.system=6e232236-df0a-4bc5-9006-76f782b5493f.host=controller-0", "severity" : "major", "state" : "set", "timestamp" : "2021-02-10 08:57:25.484131" }<br>
> fm-event.log:2021-02-10T09:17:55.000 controller-0 fmManager: info { "event_log_id" : "100.103", "reason_text" : "Platform Memory threshold exceeded ; threshold 90.00%, actual 95.19%", "entity_instance_id" : "region=RegionOne.system=6e232236-df0a-4bc5-9006-76f782b5493f.host=controller-0", "severity" : "critical", "state" : "set", "timestamp" : "2021-02-10 09:17:55.482154" }<br>
> <br>
<br>
[snip]<br>
<br>
>  <br>
> From: Ildiko Vancsa <<a href="mailto:ildiko.vancsa@gmail.com" target="_blank">ildiko.vancsa@gmail.com</a>> <br>
> Sent: Sunday, February 14, 2021 2:42 PM<br>
> To: Rai, Ankush <<a href="mailto:Ankush.Rai@commscope.com" target="_blank">Ankush.Rai@commscope.com</a>><br>
> Cc: <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a><br>
> Subject: Re: [Starlingx-discuss] Alarm "Memory threshold"<br>
>  <br>
>  <br>
> Hi Ankush,<br>
>  <br>
> Do you have any log entries on the system you could share here that show the memory readings the alarm might be triggered by?<br>
>  <br>
> Thanks,<br>
> Ildikó<br>
>  <br>
>  <br>
> > On Feb 14, 2021, at 09:26, Rai, Ankush <<a href="mailto:Ankush.Rai@commscope.com" target="_blank">Ankush.Rai@commscope.com</a>> wrote:<br>
> > <br>
> > Hi, <br>
> >  <br>
> > Below alarm is getting raised for every node of the central and edge cloud.<br>
> >  <br>
> > “Platform Memory threshold exceeded ; threshold 90.00%, actual 95.19%”<br>
> >  <br>
> > It looks to be the false alarm as nodes are having enough available memory. Please config the root cause of this alarm.<br>
> >  <br>
> > Thanks,<br>
> > Ankush<br>
> >  <br>
> >  <br>
> > _______________________________________________<br>
> > Starlingx-discuss mailing list<br>
> > <a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
> > <a href="http://secure-web.cisco.com/1PV8HDMvVRW0RqVu-SKTRWk6WWzv0LMknZ5lZPnq_3AC44IJMRoTkCmBzbDzfSRKy1sR51Ro2VO06UwWt-4FdJVml-0HlHOjpHq9J5nmMvsPseu4RcqzNaQvw5haLJsQqt0HLmSNJtbid7y2kxIipLb1hZwBP5gx-ZIdH71ha2sHnU9iy8kbtB51Y5tHpLdGIcUYnJfot6KLcOe6xS2sPGBEOGVhleDZ83q7d7l9kxhO6HkHdmUPURKbTELhCqw8pf-r7fiE8usjs79rMvOl3im3n1pT0kPRXHzHN_DY7SMgFhzOa2MXDTiDCKn-33Ump/http%3A%2F%2Flists.starlingx.io%2Fcgi-bin%2Fmailman%2Flistinfo%2Fstarlingx-discuss" rel="noreferrer" target="_blank">http://secure-web.cisco.com/1PV8HDMvVRW0RqVu-SKTRWk6WWzv0LMknZ5lZPnq_3AC44IJMRoTkCmBzbDzfSRKy1sR51Ro2VO06UwWt-4FdJVml-0HlHOjpHq9J5nmMvsPseu4RcqzNaQvw5haLJsQqt0HLmSNJtbid7y2kxIipLb1hZwBP5gx-ZIdH71ha2sHnU9iy8kbtB51Y5tHpLdGIcUYnJfot6KLcOe6xS2sPGBEOGVhleDZ83q7d7l9kxhO6HkHdmUPURKbTELhCqw8pf-r7fiE8usjs79rMvOl3im3n1pT0kPRXHzHN_DY7SMgFhzOa2MXDTiDCKn-33Ump/http%3A%2F%2Flists.starlingx.io%2Fcgi-bin%2Fmailman%2Flistinfo%2Fstarlingx-discuss</a><br>
>  <br>
>  <br>
<br>
<br>
_______________________________________________<br>
Starlingx-discuss mailing list<br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" rel="noreferrer" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br>
</blockquote></div>