We have had problems with large files that are generated in the path C: \ ProgramData \ amagent in some cases we saw files of up to 120 GB.
We do not know why the agent is taking this behavior, has this happened to someone else?
We have had problems with large files that are generated in the path C: \ ProgramData \ amagent in some cases we saw files of up to 120 GB.
We do not know why the agent is taking this behavior, has this happened to someone else?
Hi,
Hi
Okay, we’ll definitely want to get a ticket submitted to Support so they can take a look - there could simply be a hung operation or two, but let’s get them to dig into it.
As a long term Automox user, I have never seen this issue - we have lots of devices with 120GB SSD boot drives, so if it was typical we would also have had a lot of ‘disk full’ issues. I don’t recall reading that Automox requires 120GB+ free to operate ...
Yeah that’s concerning. Our users also typically have 128GB to 256GB SSDs, and 120GB of unexpected data could definitely fill up their drives.
What causes these kinds of files? Is it preventable?
Looking at the filenames in the original post, you would probably want to know what the Powershell script was doing. Given the size of a clean Windows installation, it does look like this needs some investigation - perhaps a Worklet that is doing something unexpected?
Hello, we were able to identify that the problem was caused by a Worklet update of a registry (reg), the operation hangs and the stdout file keeps growing nonstop until the disk is full.
The worklet had been running previously for a while, but the problem appeared last week.
That’s good to hear you found the problem. I think the Automox developers need to look at limiting the amount of space the agent can use.
To check the behavior of the files created by the agent, here is a worklet to check the size of the files in the folder:
Get-ChildItem -path "C:\ProgramData\amagent" | Foreach {
$Files = Get-ChildItem $_.FullName -Recurse -File
$Size = '{0:N2}' -f (( $Files | Measure-Object -Property Length -Sum).Sum /1MB)
>PSCustomObject]@{Profile = $_.FullName ; TotalObjects = "$($Files.Count)" ; SizeMB = $Size}
}
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.