Support regarding CPU usage of FOG server
-
How are the load average on the machine? Without accessing the fog web interface I can see the following load average: 0,15, 0,14, 0,10 at the moment. When more computers are turned on / logged in the load is higher but still below 1 when I remember correctly.
While cloning (unicast) on the other side the average loads are very high at around 9 but everything still works fine.
-
What do the load averages look like?
It’s possible that with a lot of clients, CPU usage goes up a bit. I believe some people were trying to get PHP-FPM working which should help with CPU usage in those cases afaik.
-
More often than not, (unless you’re still using the legacy version of the fog client), the CPU usage starts to become high because of replication. This slows the CPU because it’s got to process the data, and read it from disk to send it where ever it needs to be distributed.
You could try:
service FOGImageReplicator stop service FOGSnapinReplicator stop
-
How many clients do you have in your FOG domain (i.e. devices that connect to your fog server)?
-
About 120 Clients in total, maybe 70 max concurrent usually
-
@taspharel I guess you need to go back to your service provider and see if you can get a trending over time. What are they considering high cpu load?
The numbers you posted below are pretty low cpu usage. I understand that was only for a max 15 minute time from when you collected the data. You need to see if you can correlate the high cpu usage time the are saying to a specific action. For 200 nodes, it shouldn’t cause high CPU usage even during imaging.
There are two bits of information we probably should have for completeness.
- How many vCPUs are allocated to the fog server VM
- What version of FOG are you running. There WAS issues in the 1.3.x range of heavy CPU loading that was addressed in subsequent version of FOG.
-
And remember, it’s your VM you’re paying for, not theirs.
-
@fernando-gietz [Moderator’s note] Yes I want you to have your own thread on this. Your conditions may be different than the OPs. I’m going to fork this thread into a new one. To avoid polluting this thread with off-point discussions
Thread forked to here: https://forums.fogproject.org/topic/10890/fog-server-cpu-usage-100
-
@Taspharel Is this still an issue?
-
Thanks for staying on top of this, they never asked back, I guess they just accepted that thats something we needed.