CA Spectrum OneClick client has performance issues and the following shows in the tomcat log: waitForReadTasks timed out

Document ID : KB000006384
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

The OneClick client is slow and may show the following symptoms:

Frequent disconnect/reconnects (red border)

Topology views hang when initializing

List views take a long time to populate

Searches take a long time to produce results.

 

When reviewing the OneClick Tomcat log, the "waitForReadTasks timed out" message is seen:

 

Apr 04, 2017 07:06:27.020 (http-bio-443-exec-2) (MODELREPO) - waitForReadTasks timed out

 

Cause:

The problem is due to a bottleneck with the amount of information being processed in the model repository.

Resolution:

Cange the ModelRepository reads from 500 to 5000 in the <SPECROOT>/tomcat/webapps/spectrum/WEB-INF/web.xml: 

Change this:

(context-param xmlns="") 

(param-name)com.aprisma.topo.ModelRepository.ThrottledModelReadCount(/param-name) 

(param-value)500(/param-value) 

(description) 

This parameter defines the maximum number of models the Model Repository will read in a single request to a SpectroSERVER. 

(/description) 

(/context-param) 

To this:

(context-param xmlns="") 

(param-name)com.aprisma.topo.ModelRepository.ThrottledModelReadCount(/param-name) 

(param-value)5000(/param-value) 

(description) 

This parameter defines the maximum number of models the Model Repository will read in a single request to a SpectroSERVER. 

(/description) 

(/context-param)

 

 

Stop and restart tomcat for the change to take effect.