I have a server with 16Gb RAM running Windows Server 2012 R2 and (currently) DHIS 2.16. Given that it is mostly dedicated to DHIS2, what would you suggest is the best way to split the RAM between Java/Tomcat and Postgres for optimal DHIS2 performance?
Also, should I see anything under the ‘about DHIS2 page’ on a Windows server? Mine currently displays:
Current user:
admin
Version:
2.16
Build revision:
Build date:
2015-02-12 02:06
User agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Server date:
2017-07-16 20:41
Environment variable:
DHIS2_HOME
External configuration directory:
Database type:
Database name:
Database user:
Java Opts:
Java temporary directory:
Java version:
Java vendor:
OS name:
OS architecture:
OS version:
Server memory:
CPU cores:
Hi Edward,
As per my experience with windows server, you should split your ram as follow
-
O/S = 2 GB
-
Postgres 9.5 = 8 GB
-
JAVA_OPTS = 4 GB (min 1024M - max 4096M)
-
Keep remain 2 GB for windows buffer
As far as concern about the environment variables you must assign the following variables in windows
-
JAVA_HOME=
-
CATALINA_HOME =
-
JAVA_OPTS =
-
DHIS2_HOME=
-
Postgres bin directory location in PATH Variable with separation of “;”
These all above variables will show in about DHIS2 page, if its configured correctly.
···
On Wed, Jul 19, 2017 at 12:58 AM, Edward Robinson erobinson@projectbalance.com wrote:
I have a server with 16Gb RAM running Windows Server 2012 R2 and (currently) DHIS 2.16. Given that it is mostly dedicated to DHIS2, what would you suggest is the best way to split the RAM between Java/Tomcat and Postgres for optimal DHIS2 performance?
Also, should I see anything under the ‘about DHIS2 page’ on a Windows server? Mine currently displays:
Current user:
admin
Version:
2.16
Build revision:
Build date:
2015-02-12 02:06
User agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Server date:
2017-07-16 20:41
Environment variable:
DHIS2_HOME
External configuration directory:
Database type:
Database name:
Database user:
Java Opts:
Java temporary directory:
Java version:
Java vendor:
OS name:
OS architecture:
OS version:
Server memory:
CPU cores:
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
–
Thanks & Regards
Arvind rao chikne
9818979986
Think Green!!! Please consider your environmental responsibility before printing this e-mail
1 Like
Thanks for the quick follow up Arvind, appreciate it!
···
Hi Edward,
As per my experience with windows server, you should split your ram as follow
-
O/S = 2 GB
-
Postgres 9.5 = 8 GB
-
JAVA_OPTS = 4 GB (min 1024M - max 4096M)
-
Keep remain 2 GB for windows buffer
As far as concern about the environment variables you must assign the following variables in windows
-
JAVA_HOME=
-
CATALINA_HOME =
-
JAVA_OPTS =
-
DHIS2_HOME=
-
Postgres bin directory location in PATH Variable with separation of “;”
These all above variables will show in about DHIS2 page, if its configured correctly.
On Wed, Jul 19, 2017 at 12:58 AM, Edward Robinson erobinson@projectbalance.com wrote:
I have a server with 16Gb RAM running Windows Server 2012 R2 and (currently) DHIS 2.16. Given that it is mostly dedicated to DHIS2, what would you suggest is the best way to split the RAM between Java/Tomcat and Postgres for optimal DHIS2 performance?
Also, should I see anything under the ‘about DHIS2 page’ on a Windows server? Mine currently displays:
Current user:
admin
Version:
2.16
Build revision:
Build date:
2015-02-12 02:06
User agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Server date:
2017-07-16 20:41
Environment variable:
DHIS2_HOME
External configuration directory:
Database type:
Database name:
Database user:
Java Opts:
Java temporary directory:
Java version:
Java vendor:
OS name:
OS architecture:
OS version:
Server memory:
CPU cores:
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
–
Thanks & Regards
Arvind rao chikne
9818979986
Think Green!!! Please consider your environmental responsibility before printing this e-mail