InTime Server

How to tune InTime Server to support more InTime Agents and jobs?

106 views July 20, 2016 October 18, 2019 Michael 0

Symptoms:

  1. Running too many InTime agents may cause the InTime Server to run out of memory.
  2. Transferring too many large files may cause InTime Server to run out of memory.
  3. InTime Client may experience intermittent connection issues and warnings such as: Error Message: “License server is not contactable or not responding properly. Please check with your IT administrator.”

Resolution:

1. Give InTime Server more memory to accommodate more agents.

By default, InTime Server runs using these jvm options:

[user@host ~]$ cat jvm.options
-server
-Xms2g
-Xmx2g
-Djava.security.egd=file:/dev/./urandom 
-Djava.net.preferIPv4Stack=true

Use <InTimeServer directory>/jvm.options.optimal to overwrite <InTimeServer directory>/jvm.options

-server
-Xms4g
-Xmx4g
-Djava.security.egd=file:/dev/./urandom
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:NewRatio=2
-XX:CMSInitiatingOccupancyFraction=80
-XX:+CMSScavengeBeforeRemark
-XX:MetaspaceSize=64m 
-XX:MaxMetaspaceSize=128m
-Djava.net.preferIPv4Stack=true

2. (root access required) Increase the ulimit on the InTime Server machine to allow more open files. Refer to: https://support.plunify.com/en/knowledgebase/how-to-increase-file-open-limit-in-linux/

3. Start the InTime Server in the terminal:

[user@host intimeserver]$ ./start_server.sh

4. Start a new terminal and check that InTime server is running with the correct jvm options:

[user@host intimeserver]$ ps -ef | grep intimeserver
user 52179     1  1 Jul15 ?        02:07:12 /mnt/opt/intimeserver/./jdk/bin/java -server -Xms4g -Xmx4g 
-Djava.security.egd=file:/dev/./urandom -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:NewRatio=2 
-XX:CMSInitiatingOccupancyFraction=80 -XX:+CMSScavengeBeforeRemark -XX:MetaspaceSize=64m 
-XX:MaxMetaspaceSize=128m -Djava.net.preferIPv4Stack=true 
-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog 
-Dlogback.configurationFile=/mnt/opt/intimeserver/./conf/logback.xml -DINTIMESERVER_HOME=/mnt/opt/intimeserver/. 
-classpath /mnt/opt/intimeserver/./intimeserver.jar:/mnt/opt/intimeserver/./lib/* 
com.plunify.main.InTimeServer -directory /mnt/opt/intimeserver/./plunify_server 
-licensefile /mnt/opt/intimeserver/./server.lic -log_level info -remoteadmin admin

Applies to:

  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 181825 – Last Review: Oct 17, 2019 – Revision: 2.0

Leave a Reply