Summary
If there are an extreme number of files stored on a beacon awaiting upload then the Flexera Beacon Engine Windows service may fail with an System.OutOfMemoryException error appearing in the BeaconEngine.log file.
Details
This issue may occur if there is an extremely large number (at least 100s of thousands) of files awaiting upload under the C:\ProgramData\Flexera Software\Incoming directory.
An error message like the following will appear in the C:\ProgramData\Flexera Software\Compliance\Logging\BeaconEngine\BeaconEngine.log file when this issue occurs:
2021-09-07 02:03:57,767 [es.BeaconStatusService|Engine] [ERROR] Failed to flush beacon status file to 'C:\ProgramData\Flexera Software\Incoming\BeaconStatus\20210906144513-{D001B164-48FD-3600-A397-7EA9EF82545F}.bstat'
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.CtorCharPtr(Char* ptr)
at Microsoft.Win32.Win32Native.WIN32_FIND_DATA.get_cFileName()
at System.IO.StringResultHandler.CreateObject(SearchData searchData, WIN32_FIND_DATA& findData)
at System.IO.FileSystemEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.IO.Directory.GetFiles(String path)
at Flexera.Beacon.Common.Services.BeaconStatusService.GenerateUploaderStatistics()
at Flexera.Beacon.Common.Services.BeaconStatusService.FlushStatusToDisk(Boolean force, Boolean fullContent)
Mitigation
To mitigate this issue, arrange of the backlogged files to uploaded to the beacons parent, and then re-start the Flexera Beacon Engine service.
Alternatively, arrange to delete aged files which may not be necessary.
Fix status
This issue has been fixed in the following FlexNet Manager Suite releases: 2021 R1.4 / Mar 2022 (Cloud), 2022 R1 (On Premises)
Other information
Affected components: Inventory Beacon
Master issue ID: IOJ-2247091
Also known as: FNML-75199
Related Articles
Known Issue: Rules may not run at the correct scheduled time until the beacon engine service is restarted after the beacon… 19Number of Views Known Issue: “WriteFileEvidence - Insert unmatched evidence” import writer step may fail with error due to FileEvidenceFil… 42Number of Views Known Issue: “WriteFileEvidence - Insert unmatched evidence” import writer step may fail with error due to NewFileEvidence… 65Number of Views Known Issue: The lightweight Kubernetes agent incorrectly logs an inventory upload as a failure if the beacon returns an H… 10Number of Views Known Issue: EvidenceAlerts import writer step may fail with error when using SQL Server 2016: INSERT EXEC failed because … 12Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago