Memory Configurations (Fine tuning)

Hi all,

Am struggling setting up DHIS to work on my 4GB RAM, 2.0GHz, 32-bit Ubuntu 12.04 laptop.

When I launch localhost:8181/dhis i get some errors. This is the snapshot of the log

sovello@sovello-1x88:/var/lib/tomcat7$ tail -f logs/catalina.out

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [GT authority factory disposer] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [WeakCollectionCleaner] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [http-bio-8181-exec-7] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.coyote.AbstractProtocol stop

INFO: Stopping ProtocolHandler [“http-bio-8181”]

Can someone out there please guide me through setting up this thing.

I want to test the interoperability between iHRIS and DHIS2, a feature that’s been developed by HISP India team.

Any configuration suggestions will be so much appreciated.

Cheerio

P.S> Sorry for bugging you with the ugly error log

···


:: Sovello Hildebrand Mgani ::

–If you teach man to fish, you’ll feed him a lifetime–

Hi,

Are you sure you are not running several instances? I would kill all java apps on the box, and try to start dhis again.

If this doesn’t fix it, please delete catalina.out config, and restart dhis… and send us the full log, it will make it easier to help

···


Morten

On Fri, Dec 6, 2013 at 2:10 PM, Sovello Hildebrand Mgani sovellohpmgani@gmail.com wrote:

Hi all,

Am struggling setting up DHIS to work on my 4GB RAM, 2.0GHz, 32-bit Ubuntu 12.04 laptop.

When I launch localhost:8181/dhis i get some errors. This is the snapshot of the log

sovello@sovello-1x88:/var/lib/tomcat7$ tail -f logs/catalina.out

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [GT authority factory disposer] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [WeakCollectionCleaner] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [http-bio-8181-exec-7] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.coyote.AbstractProtocol stop

INFO: Stopping ProtocolHandler [“http-bio-8181”]

Can someone out there please guide me through setting up this thing.

I want to test the interoperability between iHRIS and DHIS2, a feature that’s been developed by HISP India team.

Any configuration suggestions will be so much appreciated.

Cheerio

P.S> Sorry for bugging you with the ugly error log

:: Sovello Hildebrand Mgani ::

–If you teach man to fish, you’ll feed him a lifetime–


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

Say “killall -9 java” and restart tomcat. Any luck with this?

···

On Fri, Dec 6, 2013 at 2:15 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi,

Are you sure you are not running several instances? I would kill all java apps on the box, and try to start dhis again.

If this doesn’t fix it, please delete catalina.out config, and restart dhis… and send us the full log, it will make it easier to help


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


Morten

On Fri, Dec 6, 2013 at 2:10 PM, Sovello Hildebrand Mgani sovellohpmgani@gmail.com wrote:

Hi all,

Am struggling setting up DHIS to work on my 4GB RAM, 2.0GHz, 32-bit Ubuntu 12.04 laptop.

When I launch localhost:8181/dhis i get some errors. This is the snapshot of the log

sovello@sovello-1x88:/var/lib/tomcat7$ tail -f logs/catalina.out

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [GT authority factory disposer] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [WeakCollectionCleaner] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [http-bio-8181-exec-7] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.coyote.AbstractProtocol stop

INFO: Stopping ProtocolHandler [“http-bio-8181”]

Can someone out there please guide me through setting up this thing.

I want to test the interoperability between iHRIS and DHIS2, a feature that’s been developed by HISP India team.

Any configuration suggestions will be so much appreciated.

Cheerio

P.S> Sorry for bugging you with the ugly error log

:: Sovello Hildebrand Mgani ::

–If you teach man to fish, you’ll feed him a lifetime–


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

killall -9 java may be a bit extreme, but “killall tomcat” should work?

···

On Fri, Dec 6, 2013 at 4:33 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

Say “killall -9 java” and restart tomcat. Any luck with this?


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

On Fri, Dec 6, 2013 at 2:15 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi,

Are you sure you are not running several instances? I would kill all java apps on the box, and try to start dhis again.

If this doesn’t fix it, please delete catalina.out config, and restart dhis… and send us the full log, it will make it easier to help


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


Morten

On Fri, Dec 6, 2013 at 2:10 PM, Sovello Hildebrand Mgani sovellohpmgani@gmail.com wrote:

Hi all,

Am struggling setting up DHIS to work on my 4GB RAM, 2.0GHz, 32-bit Ubuntu 12.04 laptop.

When I launch localhost:8181/dhis i get some errors. This is the snapshot of the log

sovello@sovello-1x88:/var/lib/tomcat7$ tail -f logs/catalina.out

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [GT authority factory disposer] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [WeakCollectionCleaner] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [http-bio-8181-exec-7] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.coyote.AbstractProtocol stop

INFO: Stopping ProtocolHandler [“http-bio-8181”]

Can someone out there please guide me through setting up this thing.

I want to test the interoperability between iHRIS and DHIS2, a feature that’s been developed by HISP India team.

Any configuration suggestions will be so much appreciated.

Cheerio

P.S> Sorry for bugging you with the ugly error log

:: Sovello Hildebrand Mgani ::

–If you teach man to fish, you’ll feed him a lifetime–


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!

It looks there multiple instances running without my knowledge.

A restart of the system solved the problem.

Cheers

killall -9 java may be a bit extreme, but “killall tomcat” should work?

···

On Fri, Dec 6, 2013 at 4:33 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

Say “killall -9 java” and restart tomcat. Any luck with this?


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

On Fri, Dec 6, 2013 at 2:15 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi,

Are you sure you are not running several instances? I would kill all java apps on the box, and try to start dhis again.

If this doesn’t fix it, please delete catalina.out config, and restart dhis… and send us the full log, it will make it easier to help


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


Morten

On Fri, Dec 6, 2013 at 2:10 PM, Sovello Hildebrand Mgani sovellohpmgani@gmail.com wrote:

Hi all,

Am struggling setting up DHIS to work on my 4GB RAM, 2.0GHz, 32-bit Ubuntu 12.04 laptop.

When I launch localhost:8181/dhis i get some errors. This is the snapshot of the log

sovello@sovello-1x88:/var/lib/tomcat7$ tail -f logs/catalina.out

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [GT authority factory disposer] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [WeakCollectionCleaner] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [http-bio-8181-exec-7] but has failed to stop it. This is very likely to create a memory leak.

Dec 6, 2013 2:57:17 PM org.apache.coyote.AbstractProtocol stop

INFO: Stopping ProtocolHandler [“http-bio-8181”]

Can someone out there please guide me through setting up this thing.

I want to test the interoperability between iHRIS and DHIS2, a feature that’s been developed by HISP India team.

Any configuration suggestions will be so much appreciated.

Cheerio

P.S> Sorry for bugging you with the ugly error log

:: Sovello Hildebrand Mgani ::

–If you teach man to fish, you’ll feed him a lifetime–


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