EPM - Recommendations for Developer Machines / Compilation Delay

EPM - Recommendations for Developer Machines / Compilation Delay

137
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:56 PM


Symptom


During compilation of code there is a significant slowdown on the machine when EPM is installed.


Environment


23.6;23.7;23.8;23.9;23.10;23.11;23.12;24.1;24.2 EPM EPM Console
EPM


Cause


By default configuration, EPM is monitoring the entirety of the file system, registering and cataloging every new file created, which during compilation can be a massive number of files - this may be the cause for the high resources usage during compilation. 


Resolution


We should first try to identify the root cause of it e.g. which application? What it’s behavior? Is this application is a compiler and creates hundreds and thousands temporary files on the disk? What type of files? What’s the path? etc.
 
In case we find that the application in question is or behaves like a compiler and creates many files on the disk, then use the following recommendations:
 
NOTE: Up to Version 10.4 There were 4 main recommendations to implement on Developer machines which experience performance impact with EPM.
From Version 10.5+,  Recommendation 5 was added and significantly ease the developer's machines compilation actions to run under the EPM agent.

 
Recommendation 1 - Separate Developer Set

We recommend separating and managing Developer machines in a separate EPM Set. This is so specific configuration changes (and exclusions if needed) can be fine-tuned to a specific developer environment without impacting the rest of their organizations deployment.


 
Recommendation 2 - Run-Normally on compilation artifact path
Create a run normally policy with the highest priority on the compilation artifact path - this way the contents aren't ignored, but whose impact on performance is minimized.



Recommendation 3 - Exclude the the compilation path completely from EPM.

- Advanced > Agent Configuration > General configuration > Agent Behavior > Exclude files from policies(Windows) > Edit > Add Definition 
Advanced > Agent Configuration > General configuration > Agent Behavior > Exclude files from policies(MacOS) > Edit > Add Definition.
- Input the Location where the file compilation is happening (configurable)
- Save
 
NOTE: Usually, it is not the final “compilation path”, but some temporary path(s) or even specific type of files (JS, DLL or alike). So exclude only the relevant files and paths and not the full application path. 
 
Recommendation 4 - Easy-to-get-parameters
When there are policies based only on Publisher - this means that in order to match this kind of target, the agent needs to check and validate the publisher of every single file it monitors, a time and resource intensive process. For general use of EPM, this impact is not felt, but when Developers are compiling code this process needs to run against the many many temporary compilation files. We advise to include one other easy-to-get parameter to these policies.
All properties except Publisher and Checksum can be considered as easy-to-get (File Location, Product Name etc.), and in these cases the Agent will verify the Publisher only if easy-to-get property matches. (e.g. - if it’s a DLL policy target by both product name and publisher name, then when a .dll is loaded that doesn't have the assigned product name, it's publisher won't be verified). 

Recommendation 5 - Developer Applications - For EPM version 10.5+
To improve End point performance, you can disable full file source updates for applications that create a large number of files during their running. The Developer Applications Application Group enables you to prevent updating the full file source and sending events for the files created by the applications you define.

You can find the full details of how to use
Developer Applications in the 'Idira Endpoint Privilege Manager Solution Guide'.

Each of these recommendations may be a sufficient solution or all together will be required in order to minimize the impact of EPM on Developer Machines which experienced compilation delay.


Additional Information


Details

SYMPTOM: During compilation of code there is a significant slowdown on the machine when EPM is installed.
 
PROBLEM: By default configuration, EPM is monitoring the entirety of the file system, registering and cataloging every new file created, which during compilation can be a massive number of files - this may be the cause for the high resources usage during compilation.
 
SOLUTION: 
We should first try to identify the root cause of it e.g. which application? What it’s behavior? Is this application is a compiler and creates hundreds and thousands temporary files on the disk? What type of files? What’s the path? etc.
 
In case we find that the application in question is or behaves like a compiler and creates many files on the disk, then use the following recommendations:
 
There are 4 main recommendations to implement on Developer machines which experience performance impact with EPM.
 

Recommendation 1 - Separate Developer Set

We recommend separating and managing Developer machines in a separate EPM Set. This is so specific configuration changes (and exclusions if needed) can be fine-tuned to a specific developer environment without impacting the rest of their organizations deployment.

 

Recommendation 2 - Run-Normally on compilation artifact path
Create a run normally policy with the highest priority on the compilation artifact path - this way the contents aren't ignored, but whose impact on performance is minimized.

 

Recommendation 3 - Exclude the the compilation path completely from EPM.

- Advanced > Agent Configuration > Files To Be Ignored > Add
- Input the Location where the file compilation is happening (configurable)
- Save
 
NOTE: Usually, it is not the final “compilation path”, but some temporary path(s) or even specific type of files (JS, DLL or alike). So exclude only the relevant files and paths and not the full application path. 
 
Recommendation 4 - Easy-to-get-parameters
When there are policies based only on Publisher - this means that in order to match this kind of target, the agent needs to check and validate the publisher of every single file it monitors, a time and resource intensive process. For general use of EPM, this impact is not felt, but when Developers are compiling code this process needs to run against the many many temporary compilation files. We advise to include one other easy-to-get parameter to these policies.

All properties except Publisher and Checksum can be considered as easy-to-get (File Location, Product Name etc.), and in these cases the Agent will verify the Publisher only if easy-to-get property matches. (e.g. - if it’s a DLL policy target by both product name and publisher name, then when a .dll is loaded that doesn't have the assigned product name, it's publisher won't be verified). 

Recommendation 5 - 

 

Each of these recommendations may be a sufficient solution or all together will be required in order to minimize the impact of EPM on Developer Machines which experienced compilation delay.

 




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001AtPCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail