1
ps aux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

root 12 2367 0.0 0 0 ? S Dec12 73367:02 [migration/1]

Migration/1 is consuming high CPU time while being in "S" state.

What does this mean? Is there something I could/should do about it?

5

1 Answer 1

2

See this question and answer over on Serverfault (the site for sysadmins).

migration is part of the kernel, and is a thread that is responsible for moving processes to another CPU to balance out the workload. It shouldn't take a lot of CPU itself — apparently, from the other answer, there was a bug in kernels before 3.6.11 which might be the problem. Or, this may be a symptom of overloaded swap.

1
  • The version is 4.4.0-63-generic. I read somewhere to modify the swap value too and I changed it to 0. It still shows high CPU time. I ran taskset to see which core it was running on and tried to see if there were any processes running on that CPU that were in state "D" or "R" but nothing :( I really dont know what to do :( Commented Dec 15, 2017 at 22:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .