RedHat Enterprise Linux, McAfee, Java, and slow startup!!!

I recently ran across an issue with a Java application taking several minutes to start on a RHEL 6 host, but I could not reproduce the problem in any of my development environments. Turned out to be caused by McAfee/NAI anti-virus. If you are forced to use NAI/McAfee on Linux (for some stupid reason), then you might want to try this fix.



⁠/opt/NAI/LinuxShield/bin/nails on-access --disable⁠

This will disable on-access (on read) of files, which can cause the loading of JAR files to be EXTREMELY slow.

Comments

Popular Posts