[BUG] Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.141 is using a lot of disk space
Closed this issue · 1 comments
my vm is using Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.141 but this is using a lot of disk space. Over 24gb.
When i check the disk space of folder /var/lib/waagent/* by doing du -sh /var/lib/waagent/* i see that Microsoft.Azure.Diagnostics is taking a lot of disk space. When i look in to the folder i see a lot of core. files(See a small sample below). Total amount of 791 core. files. Can i clean this up of are all these files required to run azure diagnostics?
-rw-------. 1 root root 430149632 Sep 10 2023 core.939941
-rw-------. 1 root root 431222784 Dec 10 01:09 core.940554
-rw-------. 1 root root 393920512 Mar 19 01:14 core.942366
-rw-------. 1 root root 397873152 Dec 27 01:19 core.954122
-rw-------. 1 root root 423612416 Mar 20 01:05 core.954475
-rw-------. 1 root root 415072256 Dec 28 01:03 core.959033
-rw-------. 1 root root 479764480 Mar 18 2023 core.9683
-rw-------. 1 root root 387358720 Oct 7 2023 core.992817
Note: Please add some context which would help us understand the problem better
- du -sh /var/lib/waagent/*
4.0K /var/lib/waagent/5B8541DBDE79D8E1DCB31819B7DFFEEFE712D1BC.crt
4.0K /var/lib/waagent/5B8541DBDE79D8E1DCB31819B7DFFEEFE712D1BC.prv
4.0K /var/lib/waagent/8F2E1CEF47BC0A9500BA443438B810AEA522A00B.crt
4.0K /var/lib/waagent/8F2E1CEF47BC0A9500BA443438B810AEA522A00B.prv
4.0K /var/lib/waagent/A306D9F7FA17475D666F05097E8463FE8D24708B.crt
4.0K /var/lib/waagent/A306D9F7FA17475D666F05097E8463FE8D24708B.prv
4.0K /var/lib/waagent/A79BF8545007A4A77C86BEBEDE51C8BE8D9DF603.crt
4.0K /var/lib/waagent/A79BF8545007A4A77C86BEBEDE51C8BE8D9DF603.prv
4.0K /var/lib/waagent/A93437F09C070BA459BBA186D9F5A4C59C1895D9.crt
4.0K /var/lib/waagent/A93437F09C070BA459BBA186D9F5A4C59C1895D9.prv
8.0K /var/lib/waagent/Certificates.p7m
4.0K /var/lib/waagent/Certificates.pem
8.0K /var/lib/waagent/Certificates.xml
4.0K /var/lib/waagent/D6C2BA60BECD97002BBD78533D630175821B8171.crt
4.0K /var/lib/waagent/D6C2BA60BECD97002BBD78533D630175821B8171.prv
4.0K /var/lib/waagent/E9FA6C4D3C5F447F1AD886B721D7948616942BD9.crt
4.0K /var/lib/waagent/E9FA6C4D3C5F447F1AD886B721D7948616942BD9.prv
4.0K /var/lib/waagent/EAEE9F8E6CE685F6F386743D9E99081FE7AF6335.crt
4.0K /var/lib/waagent/EAEE9F8E6CE685F6F386743D9E99081FE7AF6335.prv
8.0K /var/lib/waagent/events
4.0K /var/lib/waagent/event_status.json
4.0K /var/lib/waagent/fast_track.json
4.0K /var/lib/waagent/GoalState.1.xml
3.1M /var/lib/waagent/history
4.0K /var/lib/waagent/Incarnation
4.0K /var/lib/waagent/initial_goal_state
24G /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.141
33M /var/lib/waagent/Microsoft.Azure.NetworkWatcher.NetworkWatcherAgentLinux-1.4.1974.1
8.7M /var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.9217.0
16M /var/lib/waagent/Microsoft.CPlat.Core.RunCommandLinux-1.0.5
140M /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.13.40
280K /var/lib/waagent/Microsoft.OSTCExtensions.VMAccessForLinux-1.5.14
4.0K /var/lib/waagent/ovf-env.xml
4.0K /var/lib/waagent/partition
4.0K /var/lib/waagent/Protocol
4.0K /var/lib/waagent/provisioned
4.0K /var/lib/waagent/published_hostname
16K /var/lib/waagent/run-command
4.0K /var/lib/waagent/SharedConfig.xml
4.0K /var/lib/waagent/TransportCert.pem
4.0K /var/lib/waagent/TransportPrivate.pem
4.0K /var/lib/waagent/waagent-network-setup.py
4.0K /var/lib/waagent/waagent_status.json
808K /var/lib/waagent/WALinuxAgent-2.10.0.8
728K /var/lib/waagent/WALinuxAgent-2.7.3.0
744K /var/lib/waagent/WALinuxAgent-2.8.0.11
764K /var/lib/waagent/WALinuxAgent-2.9.0.4
776K /var/lib/waagent/WALinuxAgent-2.9.1.1
4.0K /var/lib/waagent/WireServerEndpoint
Distro and WALinuxAgent details (please complete the following information):
- centos 7.7.190
- WALinuxAgent version 2.2.45
@davisnando we don't write those(core.939941), and they are inside extension folder. can you check with extension owner if they create those https://github.com/Azure/azure-linux-extensions/tree/master/Diagnostic