librelist archives

« back to archive

constantly crushing tomcat6

constantly crushing tomcat6

From:
Jude Mwenda
Date:
2011-02-23 @ 13:17
Hi,
I am running geonode on a small instance and what i find strange is that
 Tomcat6 keeps crushing and goes offline. efforts to get it back up take
some time. Despite restarting severally.
Regards

Re: constantly crushing tomcat6

From:
Ariel Nunez
Date:
2011-02-23 @ 13:53
Jude,

Did you install GeoNode by hand or using the Ubuntu packages / cloned an AMI ?

There was a bug in GeoNetwork that caused crashes but there is a 
workaround for it in the Ubuntu GeoNode installer (and hopefully in the 
docs too).

Sent from my iPad.

On Wednesday, February 23, 2011 at 8:17 AM, Jude Mwenda wrote: 
> Hi,
> I am running geonode on a small instance and what i find strange is that
Tomcat6 keeps crushing and goes offline. efforts to get it back up take 
some time. Despite restarting severally.
> Regards
> 
> 
> 

Re: [geonode] Re: constantly crushing tomcat6

From:
Jude Mwenda
Date:
2011-02-23 @ 14:08
Aah i do it by hand. step by step. Any clues to resolve the issue?

2011/2/23 Ariel Nunez <ingenieroariel@gmail.com>

>  Jude,
>
> Did you install GeoNode by hand or using the Ubuntu packages / cloned an
> AMI ?
>
> There was a bug in GeoNetwork that caused crashes but there is a workaround
> for it in the Ubuntu GeoNode installer (and hopefully in the docs too).
>
> Sent from my iPad.
>
>  On Wednesday, February 23, 2011 at 8:17 AM, Jude Mwenda wrote:
>
> Hi,
> I am running geonode on a small instance and what i find strange is that
>  Tomcat6 keeps crushing and goes offline. efforts to get it back up take
> some time. Despite restarting severally.
> Regards
>
>
>

Re: [geonode] Re: constantly crushing tomcat6

From:
Ariel Nunez
Date:
2011-02-23 @ 14:22
On Wed, Feb 23, 2011 at 9:08 AM, Jude Mwenda <jude@upande.com> wrote:
> Aah i do it by hand. step by step. Any clues to resolve the issue?
>

Yes,

It is in the docs (step 4):
http://docs.geonode.org/1.0/deploy/ubuntu.html

export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m

-XX:CompileCommand=exclude,net/sf/saxon/event/ReceivingContentHandler.startElement"

Note The Java options used are as follows:
-Xmx1024m tells Java to use 1GB of RAM instead of the default value
-XX:MaxPermSize=256M increase the amount of space used for “permgen”,
needed to run geonetwork/geoserver.
-XX:CompileCommand=... is a workaround for a JVM bug that affects
GeoNetwork; see http://trac.osgeo.org/geonetwork/ticket/301