← Back to team overview

dhis2-devs team mailing list archive

Simple way to monitor dhis2 Tomcat based server

 

I don't know how other people monitor their dhis2 tomcat server but i found
this simple way to get all important data of the server in real time, just
by enable Tomcat manager

You will see the heap status, active sessions, and thread. Any thread that
causes problem can be easily identified, i.e. unrealistically long process
time

Here is example, if any one have problem with your current server, pls let
me know, I can take a look.

Another interesting fact is that heap will increased when number of
sessions increases, i.e. number of concurrent users. 100 active users can
consume 20% of Old Gen (in 6G of total heap space) and it seems to be very
linear. If 80% of Old Gen is a safe threshold for the server, this server
probably can serve about 500 concurrent users. This is really useful to
guess/calculate the capacity of your server.

Of course, its important that what actions users will perform.


[image: Inline image 1]

PNG image