HI, I have CA DevTest Server installed in Windows Server 2012 R2 [8GB RAM] and facing high CPU[99%] and high memory utilization[80%] by VSE process. I tried stopping few of the deployed services but still the CPU and memory utilization remains the same. Can someone please suggest how to resolve the issue?
What version is this?
What all DevTest services have you started on this box?
Devtest version is 9.1. Following services are running in the server:
I noticed DevTest VSE process is consuming 86% of CPU Utilization and Registry to be 5%.
As an observation, once a Java process (and this DevTest) has obtained memory from the OS it will not be returned until the process is restarted.
Does VSE process release memory and minimizes CPU utilization, if 50% of deployed services are stopped in Devtest Console?
Like all Java processes, the VSE will manage the memory it has been allocated, and will request more from the OS to grow the internal heap up to the size specified by the -Xmx value (which may be specified in the vmoptions file).
Once it has the memory, however, it does not release it back to the OS. If garbage collection frees up heap, it is managed as free heap space. This behaviour is that exhibited by Java, and is not specific to DevTest.
If your CPU utilisation is due to workload, then setting the logging to be less verbose may assist. In the logging.properties file, look for the line that reads log4j.rootCategory=INFO,A1, and modify it to be log4j.rootCategory=WARN,A1 . No restart is necessary.
If you are sure that the VSE is occupying the CPU, look into the vse.log after making the above change - you may receive some indication of any issues that need to be addressed from this log file.
Thank you Dave. I will check the log file for any exceptions logged.
Also, is there any way to find the CPU utilization/ memory utilization of individual virtual services deployed?
I've been trying to find an easy way to identify virtual services that are high cpu and memory consumers as well.