High CPU Centos7 1.5.4
-
Hi I am also having this issue in a virtualized (VMware) machine centos7 fog version 1.5.4 any idea on how to fix this?
-
@Troye-Johnson Do you have one single FOG server or storage nodes as well? How many hosts (with fog-client installed) do you have?
-
I have two storage nodes and just under 155 clients. @Sebastian-Roth
-
Hi,
Which version of PHP do you have installed?
Is a virtual server? -
PHP 5.6.38 (cli) (built: Oct 24 2018 12:50:38)
Copyright 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright 1998-2016 Zend TechnologiesAnd yes it is a VMware server.
-
Well
First thing: update your php version to php7 and mariaDB to last version.
After do this, Did the your performance increase?
-
@Troye-Johnson Repliaction code (master to storage) has been improved from 1.5.4 to 1.5.5 a lot. As well there were seom PHP-FPM config improvements that should definitely help. But make sure you carefully read the IMPORTANT NOTICE in the release notes on upgrading from 1.5.4 to 1.5.5!
Fernando is right that PHP 7.x is way faster than 5.6.x. But upgrading PHP manually could break if you run the FOG installer later on again. Not sure if I’d advice you to go that route. Depends on how experienced you are doing such things in Linux. Might need manual fixing as well.
But this is all guessing as we don’t really know what is causing the load on your particular system. Possibly run
top
, take a picture and post here so we get an impression on what’s going on. -
-
@Sebastian-Roth @Fernando-Gietz
Upgrading to 7.0 and upgrading MySQL to the latest version seems to have fixed the high CPU usage took forever to do it yesterday I will try to image a pc today. The GUI is working and things seem fine so I will do a deep dive into things today and tomorrow and see where it lands me. If everything works would you suggest upgrading to 1.5.5?
-
@Troye-Johnson I’d wait for 1.5.6 as we have improved things like client communication in the
dev-branch
a fair bit. Not sure when we get to the next release though. -
This post is deleted!