UVC Webconsole: Login is slow

Document ID : KB000086789
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
none

Patch level detected:Univiewer Console 6.6.01
Product Version: Dollar.Universe 6.6.01

Description :Login on UVC is very slow.

When executing the command "netstat -na" on the Tomcat server there is an large number of connection in the state [CLOSE_WAIT]
Environment:
OS: All
Cause:
Cause type:
Configuration
Root Cause: Tomcat cannot create more connections due to a system limitation.
Resolution:
1. Increase the number of File Descriptors (Unix systems)

The number of File Descriptors for the user that starts Tomcat has to be increased
This can be done by the command "ulimit -n", for example "ulimit -n 2048"
or in the file /etc/security/limits.conf (Redhat Linux, see with your Linux Admin)

2. Increase the number of threads available and the number of accepted connections on Tomcat (Unix and Windows systems)

In the file /conf/server.xml
Under the tag
Within the tag "Connector" increase or add (i) maxThreads (default value=200) (ii) acceptCount (default value=100)

For exemple :


WARNING: an increase of maxThread has a direct effect on the amount of memory necessary.
(see https://tomcat.apache.org/tomcat-7.0-doc/config/http.html)

Fix Status: Released

Fix Version(s):
Component: Univiewer.Console
Version: Dollar.Universe 6.6.01
Additional Information:
Workaround :
N/A