Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, January 25, 2018 6:52 AM | 1 vote
Hi,
For some reason suddenly both our Linux VM is experiencing high CPU usage by the "mdsd" command.
All replies (13)
Thursday, January 25, 2018 7:18 AM
What is the version of your Azure Linux VM agent? Azure Linux VMs running agent version 2.1.5 or 2.1.6 experience abnormally high CPU usage if they receive more than one automatic update of Azure Linux VM Agent. If this situation applies to your VMs, then refer this help page to troubleshoot the issue. Let us know how it goes and feel free to ask if you need further assistance.
Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.
Thursday, January 25, 2018 7:26 AM
How do I check the Azure Linux VM agent?
- Update 2:
I went ahead and update to version 2.2.17 and will monitor if mdsd still having high CPU issue. If so will open another issue again.
- Update 1:
I used the following command to check and got version 2.2.6
apt list --installed | grep walinuxagentwalinuxagent/now 2.2.6-0ubuntu1~16.04.1 amd64 [installed,upgradable to: 2.2.17-0ubuntu1~16.04.1]
Thursday, January 25, 2018 8:43 AM | 1 vote
Hi all,
We are having the same issue. Already restarted the walinuxagent, and still at >95% cpu usage.
walinux agent on version 2.2.17 running on ubuntu 16.04.
Any clue?
Thank you very much
Thursday, January 25, 2018 10:42 AM
We have the same problem. It looks like it is killing our server.
Any help from Microsoft how to debug it ?
Thursday, January 25, 2018 11:09 AM
@P5000: Just to confirm, what is the OS flavor running on your VMs?
@Juanvs1982: Do you happen to know when this issue started? I’ll try to get more information on this.
Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.
Thursday, January 25, 2018 12:43 PM
Hi Shihab,
It started growing up at 5:52 am GMT +1. The 70% treshold alarm warned us at 7:24 am GMT +1.
If you need more info , please dont hesitate to ask.
Thank you very much
Thursday, January 25, 2018 1:40 PM
You can do like this.
### Before you start, please make sure that modules will be fine.
## Remove walinuxagent
sudo apt-get remove --purge walinuxagent
sudodpkg --configure -a
apt-get autoremove # Especially this part. If it's not clear, consider to skip this step.
apt-get clean
## Download walinuxagent
wget https://github.com/Azure/WALinuxAgent/archive/v2.2.17.tar.gz
tar -zxvf v2.2.17.tar.gz
cd WALinuxAgent-2.2.17
#sudo apt-get install python-pip #setuptools
sudo apt-get install python-setuptools
sudo python setup.py install
sudo service walinuxagent restart
# Check version
waagent --version
Thursday, January 25, 2018 6:27 PM
Same issue - we just upgraded to 2.2.17 and no help. We also don't seem to be able to stop the service, it just automatically restarts.
Friday, January 26, 2018 1:18 AM
I'm having the same issue. It started at 6:00AM GMT as well. We're running 2.2.17 on Ubuntu 16.04.1.
Friday, January 26, 2018 2:00 AM
I'm experiencing the same thing. It seems like all these cases are the result of an update to the OmsAgentForLinux extension. I've opened a new issue about these cases, please add any additional information here: https://github.com/Microsoft/OMS-Agent-for-Linux/issues/632
Saturday, January 27, 2018 8:00 PM
You could use the Portal to disable and re-enable the Linux Diagnostic Extension, review and let us know if this helps. There’s a known issue in which updating the OMI package (a common dependency between the OmsAgent extension and LAD) leaves it in a non-running state; the mdsd component of LAD then spins while trying to communicate with the server.
Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.
Tuesday, February 13, 2018 9:18 AM
BTW can I be notified by e-mails when there is some post in discussion I am involved in ?
Tuesday, February 13, 2018 8:32 PM
BTW can I be notified by e-mails when there is some post in discussion I am involved in ?
@P5000
If you are referring to the email notifications on the forum thread, see How to Change Your Email Alerts and Notifications on the MSDN/TechNet Platforms article for details on this topic. Or do provide more details on your request.
Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.