Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AzureMonitorAgent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def check_disk_space_availability():
Check if there is the required space on the machine.
"""
try:
if get_free_space_mb("/var") < 700 or get_free_space_mb("/etc") < 500 or get_free_space_mb("/opt") < 500 :
if get_free_space_mb("/var") < 700 or get_free_space_mb("/etc") < 5 or get_free_space_mb("/opt") < 500 :
# 52 is the exit code for missing dependency i.e. disk space
# https://github.com/Azure/azure-marketplace/wiki/Extension-Build-Notes-Best-Practices#error-codes-and-messages-output-to-stderr
return MissingDependency
Expand Down