Servoy Smart Client 2019.03 takes ages to load

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Servoy Smart Client 2019.03 takes ages to load

Postby swingman » Wed Feb 12, 2020 11:28 pm

Hi all,

some of my users are reporting that it sometimes takes them 5 minutes to get to the password dialog when launching Smart Client. (Windows and Mac).
The server admin pages are very responsive even while the users are experiencing these 'freezes',

We have the following Ubuntu cloud server:

Code: Select all
Server Information
Servoy version 2019.3.1 -releaseNumber 3413
Port used by RMI Registry: 1099
Repository version 51
Current time: Wed Feb 12 21:24:21 UTC 2020
Uptime: 57 days 23 hours 12 minutes 31 seconds
Server ID: 1D8A3AC9-68A2-4C18-B7EF-83961F5FAA03

Settings file for this server: /home/ubuntu/servoy/application_server/servoy.properties

User Information
Logged in as: ***********************

JVM Information
java.vm.name=OpenJDK 64-Bit Server VM
java.version=11.0.4
java.vm.info=mixed mode, sharing
java.vm.vendor=Ubuntu

Operating System Information
os.name=Linux
os.version=4.15.0-70-generic
os.arch=amd64

System Information
CodeHeap 'non-nmethods' Non-heap memory: allocated=2496K, used=1500K, max=5696K
Metaspace Non-heap memory: allocated=113280K, used=110604K, max=204800K
CodeHeap 'profiled nmethods' Non-heap memory: allocated=39616K, used=22883K, max=120032K
Compressed Class Space Non-heap memory: allocated=12416K, used=11616K, max=196608K
CodeHeap 'non-profiled nmethods' Non-heap memory: allocated=39168K, used=35990K, max=120032K
Heap memory: allocated=536576K, used=444443K, max=1048575K
Number of Processors: 6


Code: Select all
Network Settings
servoy.server.start.rmi: yes      
servoy.jnlpCodebaseOverride: no      
java.rmi.server.hostname: 127.0.0.1      
servoy.rmiStartPort: 1099      
rmi.connection.timeout: 120      
ApplicationServer.pingDelay: 300      
SocketFactory.tunnelConnectionMode:    http & Socket   
SocketFactory.tcpNoDelay: yes      
SocketFactory.compress: yes      
SocketFactory.useSSL:    yes   
SocketFactory.tunnelUseSSLForHttp: yes      
SocketFactory.SSLSupportedSuites:    blank   
SocketFactory.SSLKeystorePath: server/conf/servoy.ks      
SocketFactory.SSLKeystorePassphrase: ***********************       
servoy.X-Forwarded-Host: blank      
servoy.X-Forwarded-Proto: blank      


Any idea what to look for?
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1318
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Servoy Smart Client 2019.03 takes ages to load

Postby swingman » Wed Mar 04, 2020 1:28 am

Today I managed to grab some log-output from a smart-client while it was frozen during loading:
Code: Select all
WARNING: RMI TCP Accept-5340: accept loop for ServerSocket[addr=null,localport=0] throws
java.lang.IllegalThreadStateException
   at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:867)
   at java.lang.Thread.init(Thread.java:405)
   at java.lang.Thread.init(Thread.java:349)
   at java.lang.Thread.<init>(Thread.java:599)
   at sun.rmi.runtime.NewThreadAction.run(NewThreadAction.java:133)
   at sun.rmi.runtime.NewThreadAction.run(NewThreadAction.java:51)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.tcp.TCPTransport$1.newThread(TCPTransport.java:117)
   at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:619)
   at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:932)
   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:420)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:377)
   at java.lang.Thread.run(Thread.java:748)

security: Grant connect perm for https://[our domain]:8443/plugins/mail.jar : java.security.Permissions@63e3f6c9 (
("java.net.URLPermission" "https://[our domain]:8443" "*:*")
("java.net.URLPermission" "https://[our domain]:8443/-" "*:*")
)

security: JAVAWS AppPolicy Permission requested for: https:/[our domain]:8443/plugins/mail.jar
network: Created version ID: 1557233252000
network: Created version ID: 1557233252000
network: Created version ID: 1557233252000
network: Created version ID: 1557233252000
network: Created version ID: 1557233252000
network: Created version ID: 1557233252000
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@30018dca: 3
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@30018dca: 4
security: Grant connect perm for https://[our domain]:8443/plugins/agent.jar : java.security.Permissions@3629f9c9 (
.....

Mar 03, 2020 12:24:44 PM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAcceptLoop
WARNING: RMI TCP Accept-5340: accept loop for ServerSocket[addr=null,localport=0] throws
java.lang.IllegalThreadStateException
   at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:867)
   at java.lang.Thread.init(Thread.java:405)
   at java.lang.Thread.init(Thread.java:349)
   at java.lang.Thread.<init>(Thread.java:599)
   at sun.rmi.runtime.NewThreadAction.run(NewThreadAction.java:133)
   at sun.rmi.runtime.NewThreadAction.run(NewThreadAction.java:51)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.tcp.TCPTransport$1.newThread(TCPTransport.java:117)
   at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:619)
   at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:932)
   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:420)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:377)
   at java.lang.Thread.run(Thread.java:748)
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1318
Joined: Wed Oct 01, 2003 10:20 am
Location: London


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron