← Back to team overview

dhis2-users team mailing list archive

Re: Please help me for a blank run-able DHIS2 database

 

Hi Liem,
you need to set memory for tomcat.

JAVA_OPTS="-Xmx1024m -Xms1024m -XX:PermSize=512m -XX:MaxPermSize=1024m"

On Wed, Apr 22, 2015 at 3:19 PM, Liem Le Duy <liem.leduy@xxxxxxxxxxxxxx>
wrote:

> Hi Michael,
>
> Yes, correctly, I have checked the Tomcat process always take more than
> 80% CPU
>
> I will try to start manually to see what happened
>
> Thank you a lot
> Liem
>
>
>
> On Wed, Apr 22, 2015 at 3:09 PM, Michael Mwebaze <
> michael.mwebaze@xxxxxxxxx> wrote:
>
>> Hi Liem,
>>
>> if you deployed the war into tomcat, you might also want to increase the
>> memory allocation to your tomcat. This will help significantly. Also if
>> possible, start Tomcat from the command line so you are able to see if any
>> exceptions are being thrown so you can troubleshoot. I hope this helps.
>>
>> Regards,
>>
>> Michael
>>
>> On 22 April 2015 at 04:03, John Lewis <johnlewis.hisp@xxxxxxxxx> wrote:
>>
>>> Hi Liem,
>>> How have you installed dhis2 using dhis2 live or individual component.
>>> you can create a database (empty) and use that database name in
>>> hibernate.properties file.
>>> is it h2 database or postgres.
>>> John
>>>
>>> On Wed, Apr 22, 2015 at 3:00 PM, Liem Le Duy <liem.leduy@xxxxxxxxxxxxxx>
>>> wrote:
>>>
>>>> Dear,
>>>>
>>>> My name is Liem, I am from Viet Nam. I am newbie in DHIS2
>>>>
>>>> I already installed DHIS2 on my pc with Serra Leon data example, the
>>>> web site work but the performance is trouble. I can only log-in, any action
>>>> after log-in successful take long time, I did some actions such as "kick
>>>> profile button".. then waited but the browser always in progress of
>>>> connecting and return nothing for us
>>>>
>>>> I worry about of Serra Leon example data is huge, so that it cause
>>>> performance
>>>>
>>>> Actually I hope to have a blank database version that come up with a
>>>> lit bit data such as user, role,..but can be run-able however with more
>>>> than 320 tables I still not clarified on so I dont know what first point to
>>>> start to have it
>>>>
>>>> So I think to you!, I will be very appreciated if you can send me a
>>>> blank run-able data or suggest me some clues so I can easy to create it
>>>>
>>>> Thank you so much, for reading & understand my condition
>>>>
>>>> I am looking forward to your response
>>>> Best regards
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

Follow ups

References