Answer the question
In order to leave comments, you need to log in
What is the reason for the poor performance of the Droplet in DigitalOcean?
Good time of the day! Created a Droplet in Digital Ocean with 1GB RAM, 20GB HDD and 2TB bandwidth. OS - Debian 8.9 x32. Droplet in Frankfurt. Picked up a tomcat on this droplet. The problem lies in the low loading speed of even the main page of Tomcat. Here is the tomcat service script (tomcat.service):
[Unit]
Description=Tomcat9
After=network.target
[Service]
Type=forking
Environment=CATALINA_PID=/opt/tomcat/tomcat9.pid
Environment=JAVA_HOME=/usr/lib/jvm/java-8-oracle
Environment=CATALINA_HOME=/opt/tomcat
Environment=CATALINA_BASE=/opt/tomcat
Environment="CATALINA_OPTS=-Xms512m -Xmx512m"
Environment="JAVA_OPTS=-Dfile.encoding=UTF-8 -Dnet.sf.ehcache.skipUpdateCheck=t$
ExecStart=/opt/tomcat/bin/startup.sh
ExecStop=/opt/tomcat/bin/shutdown.sh
[Install]
WantedBy=multi-user.target
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question