Posts Tagged ‘high cpu’

 ” Antimalware Service Executable ” was using 250MB ran and 20% CPU even though we had deployed the Reg Key to disable realtime scanning e.g. below
 

 
Looks like the App has a party anyway with these scheduled Tasks

 
 
 
How to Disable Windows Defender properly
 
You can’t disable these Services , you have to do via Registry
 

 
Boot machine into Safe Mode
 
Change Reg Key Below
 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Start = Dword 4
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdNisSvc\Start = Dword 4
 
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

52afc1a25a054_avaya_button[1]I was asked to investigate a server which was using lots of disk and CPU useage every 5 minutes. I logged in and check perf mon to find out tomcat7.exe was zipping up all the files in \onexportal\Tomcat\Server\logs into from *RollingFiles. After running this , all I could see in the logs is

“couldn’t be deleted after adding to zip”

A quick research of TomCat turns out the Avaya server was using the log4j Apache Logging Service ( http://logging.apache.org/log4j/2.x/ )

The config for this was in Tomcat\Server\bin\log4j.xml

After checking there was a parameter in there called <param value=”10MB” name=”MaxFileSize”/> which meant it would try to Roll these constantly.

You can change <param value=”true” name=”Append”/> to <param value=”false” name=”Append”/> and restart the service which means the logs will start from scratch everytime you restart the “Avaya one-X Portal for IP Office” service

or you can clear the logs file by using a sheuduled script

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)