I have a system that I would like to run elastic endpoint on that has a large network mounted file share.
Every time I install it in the fleet policy, it causes the system to deadlock. I believe this is due to endpoint trying to run a discovery across this large networked filesystem.
How can I prevent elastic endpoint from scanning this directory/mount? Most antiviruses have this feature but I'm having trouble finding documentation around this topic.
Could you tell us some basic information about your environment.
What kind of OS and version are you using?
What kind of network file system is it?
Elastic version
Elastic Endpoint won't sift through your files with no reason. When it checks a file it's because some activity was initiated for it.
By the way, most likely the reason for the deadlock is logged by Endpoint, so could you also attach the log file?
For Linux you can find it at: /opt/Elastic/Endpoint/state/log/
For Windows: C:\Program Files\Elastic\Endpoint\state\log\
Additionally, I currently have an unsigned certificate for TLS. This is the beginning section of the logfile before I removed the antivirus functionality in a different fleet policy. After removing the anti-virus, the endpoint no longer deadlocked.
See log here: state.log - Pastebin.com
Yes the endpoint is running 7.16.3. Installed from tarball elastic-agent-7.16.3-linux-x86_64.tar.gz.
When I push a default endpoint integration in a fleet policy the system load spikes and the cpu usage drops. No additional processes can be created/brought out of sleep. The resultant symptom I noticed first was I could not SSH into the system. An existent SSH connection would still function, albeit very slowly.
I recovered from this bad state by pushing a policy with the malware protections completely disabled in the endpoint integration. This relived the system load and I was able to create new SSH sessions etc.
I suppose deadlock may be a bit too severe of a word. The system performance was impaired for sure.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.