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

Re: OpenShift master keeps consuming lots and memory and swapping



Hi Joel,

the master should also be configured as a (unschedulable) node so that it has access to the SDN. I would recommend you following Clayton's advices for finding the root cause of your issue.

Regards,

Frédéric 


On 21 Oct 2017 08:02, "Joel Pearson" <japearson agiledigital com au> wrote:
It looks like swap gets disabled for nodes, but not for masters?

https://github.com/openshift/openshift-ansible/blob/release-3.6/roles/openshift_node/tasks/main.yml
On Sat, 21 Oct 2017 at 4:50 pm, Joel Pearson <japearson agiledigital com au> wrote:
Thanks Louis, so maybe that means openshift-ansible should be modified to disable swap then? Unless it’s already there and I just need to enable the setting?

I’ll bump it up to 20 GB too and see how that goes.
On Sat, 21 Oct 2017 at 4:26 pm, Louis Santillan <lsantill redhat com> wrote:
Firstly, leaving swap enabled is an anti-pattern in general [0] as OpenShift is then unable to recognize OOM conditions until performance is thoroughly degraded.  Secondly, we generally recommend to our customers that they have at least 20GB [1] for Masters.  I've seen many customers go far past that to suit their comfort.




___________________________________________________

LOUIS P. SANTILLAN

SENIOR CONSULTANT, OPENSHIFT, MIDDLEWARE & DEVOPS

Red Hat Consulting, NA US WEST

lpsantil gmail com    M: 3236334854    


On Fri, Oct 20, 2017 at 4:54 PM, Joel Pearson <japearson agiledigital com au> wrote:
Hi,

I've got a brand new OpenShift cluster running on OpenStack and I'm finding that the single master that I have is struggling big time, it seems to consume tons of virtual memory and then start swapping and slows right down.

It is running with 16GB of memory, 40GB disk and 2 CPUs.

The cluster is fairly idle, so I don't know why the master gets this way.  Restarting the master solves the problem for a while, for example, I restarted it at 10pm last night, and when I checked again this morning it was in the same situation.

Would having multiple masters alleviate this problem?

Here is a snapshot of top:

Inline images 1

Any advice?  I've happy to build the cluster with multiple masters if it will help.


--
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

Love Your Software™ | ABN 98 106 361 273


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

--
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

Love Your Software™ | ABN 98 106 361 273
--
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

Love Your Software™ | ABN 98 106 361 273
p: 1300 858 277 | m: 0405 417 843 | w: agiledigital.com.au

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


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