1.3.4 - high cpu load - client login
-
@Tom-Elliott said in 1.3.4 - high cpu load - client login:
11
Hi,
We have the same problem.
Is this problem is resolved in RC10 ?
Or when RC11 available ?Regards.
-
@Florent What is:
“We have the same problem.”?
I ask because there seems to be multiple issues being described in this thread, while the primary issue was related to High CPU. Are you referring to High CPU usage being an issue?
-
@Tom-Elliott
Thanks for your response (my english is not very good).Yes we have high CPU usage since we have deploy the new client (0.11.9) with GPO.
We have try to modify FOG_CLIENT_CHECKIN_TIME but we think value over 60 seconds are no effects.
In our client log we see in general a contact server every 60-200 seconds.
We have more than 1500 clients.If the problem is here is it possible to modify checkin time to 15 minutes ?
Or if the problem is not this where i can find informations for identify in detail the source of the problem ?
Regards
-
Do you see something like this in your processes on your FOG server?
We Disabled IMAGEREPLICATORGLOBALENABLED until Tom fixes the image checking in the next RC.
-
@UWPVIOLATOR
Just do this on Web interface / fog settings or after restart apache ? -
@Florent In the GUI.
FOG Configuration Page->FOG Settings->FOG Linux Service Enabled
-
Tom,
We added back about 75% of our clients and the load has remained stable and UI responsive. I was trying to update to 1.3.5-RC10, but the install failed.- Downloading inits, kernels, and the fog client…Failed!
Feb 28 12:47:24 FogDB systemd[1]: Starting MySQL Community Server…
Feb 28 12:47:26 FogDB systemd[1]: Started MySQL Community Server.
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)At this point there’s basically no fog site in apache. I’m reverting back to my last snapshot.
-
@Tom-Elliott Yes imagereplicatorglobalenabled is not checked
-
@UWPVIOLATOR said in 1.3.4 - high cpu load - client login:
Increased MaxRequestWorkers from 150 to 500 in mpm_prefork_module
Hi,
Where you have put this parameter because i try in my apache2.conf in prefork module but not valid after i restart apache2 -
So no improvement with imagereplicatorglobalenabled off?
With this issue I’ve increase my client communication up to 30 minutes. I will reduce when I know things have stabilized.
In Ubuntu, see which mpm you have enabled. There should only be one in /etc/apache2/mods-enabled. That’s the file you would edit to increase the MaxRequestWorkers. Make a copy of the file before editing.
-
@ablohowiak said in 1.3.4 - high cpu load - client login:
So no improvement with imagereplicatorglobalenabled off?
No
With this issue I’ve increase my client communication up to 30 minutes. >I will reduce when I know things have stabilized.
Where you have up to 30 minutes your client communication , “checkin time parameter” ?
-
Yes.
-
@ablohowiak
Oh very thanks it’s works !
I was thinking test this before but maybe not with “imagereplicatorfogenabled” at off.
After few minutes cpu is ok.Thanks.
-
Hi,
Today it’s better but all the 30 minutes we have pic of 2 minutes.
In wiki it’s write (https://wiki.fogproject.org/wiki/index.php?title=FOG_Client
The frequency of the checkin-time determines how quickly the FOG Client will receive instructions from the FOG Server. If an image deployment is scheduled for a computer that is turned on, with a checkin-time of 60 seconds, means the FOG Client may begin initiating the task anywhere from 0 to 60 seconds + the random staggering time that is added. This same concept would apply to immediate power management tasks, snapin tasks, capture tasks, and so on. Scheduled tasks are not affected by this behavior, and if the target system is on when the scheduled task is to be ran, this will happen on time
How it’s possible to modify the random staggering range for spread over 10 minutes for example ?
Thanks.
-
@Florent said in 1.3.4 - high cpu load - client login:
How it’s possible to modify the random staggering range for spread over 10 minutes for example ?
The staggering is not meant to be adjustable, what’s meant to be adjustable is the FOG_CLIENT_CHECKIN_TIME, this governs how often the FOG Client should check with the server. Assuming 10,000 computers power on all at exactly the same moment, over the course of the day the random staggering will cause all clients to spread out evenly with their check-ins. But nobody has 10,000 systems all powering on at the same second. Generally, organizations either A. leave their computers on all the time or B. allow the end-users to power them on.
Also asking @Joe-Schmitt if he could give further explanation.
-
1.3.5-RC 10 and working fine.
All clients are back on, I’ve already reduced the client check in time, and the load was fine for the start of the school day.
The Image replicator service is still off.
-
@Wayne-Workman
Hi,
Ok i understand.
Actually majority off our classroom reboot at the same time for software update in night (same time is residual effect with green fog on old version).
I will adjust power management (good amelioration in this version) for spread out this reboot.Thanks.