spring-bootjarvpsmultiple-instanceshostinger

Multiple instances of same jar, creating when starts the service (ubuntu server)


I hosted springboot .jar file on hostinger vps server and start the app as a service this is my service file

service file when starting the service multiple instances of jar files are created and multiple mysqld connections also created

anyone knows why is this happening?

Thank you

htop (real time processing of server)


Solution

  • You are displaying user process threads in htop. Every platform thread in Java will be visible there.

    In htop you can toggle user process threads with the key H