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

Re: OpenShift master keeps consuming lots and memory and swapping

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.

[0] https://docs.openshift.com/container-platform/3.6/admin_guide/overcommit.html#disabling-swap-memory
[1] https://docs.openshift.com/container-platform/3.6/install_config/install/prerequisites.html#production-level-hardware-requirements




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:

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

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