Thanks Juan and Stefan! Your suggestions are very helpful!
It was GeoServer that run slowly. And an exisitng application also run slowly
after the installation of GeoServer.
I found an error in the log: java.lang.OutOfMemoryError: PermGen. So I
configured Tomcat with these:
-Xmx1400m
-XX:PermSize=256m
GeoServer and the exisiting application run normal after the configuration.
Thanks!!!!
Maggie
From: Stefan Engelhardt (HBT) <[email protected]>
To: Juan Marín Otero <[email protected]>; Meichun Li
<[email protected]>
Cc: [email protected]
Sent: Monday, January 14, 2013 9:26 AM
Subject: RE: [bulk]: Re: [Geoserver-users] Problem with GeoServer Web Archive
Installation in Tomcat
Hi,
we are running many applications with java virtual machines, tomcat and others.
Perhaps your heap space is not big enough so the virtual machine has to do much
garbage collection, which is enormous time consuming if it is small enough. In
some applications we had factor 20 up to 100 higher computing times because the
garbage collection was working all the time. The problem is, that java is doing
a dynamical configuration depending on the system, for example 32 or 64 bit.
Hope that I wrote just correct facts, but if I am not right in all details, I
think that this could be a good point to start searching. Try do add –Xmx and
other options as described in the documentation:
http://docs.geoserver.org/stable/en/user/production/container.html
I am interested in every case if this would help you or not.
Cheers
Stefan
From:Juan Marín Otero [mailto:[email protected]]
Sent: Monday, January 14, 2013 3:08 PM
To: Meichun Li
Cc: [email protected]
Subject: [bulk]: Re: [Geoserver-users] Problem with GeoServer Web Archive
Installation in Tomcat
Hi,
Some comments below
On Mon, Jan 14, 2013 at 8:36 AM, Meichun Li <[email protected]> wrote:
Hi,
I installed GeoServer 2.2.2 web archive in Tomcat 6 using JDK 1.6.0_22 on my
test server, but tomcat run too slow after the installation.
Is Tomcat running slow, or is GeoServer? What are the GeoServer runtime
settings, and can you share how much memory / cpus your server has?
>It worked fine while I installed it in my development local machine, just that
>Tomcat version is 5.5. The installation was straitforward and I could just run
>it using the default set up. So it is weird that there is problem on the
>server.
The problem most likely has nothing to do with the Tomcat version, Tomcat 6 is
a widely deployed platform under many different scenarios.
>Anyone knows what will caused the problem of installation? Any suggestions?
Did the installation complete? Are you able to run GeoServer and see its admin
page? Again, it would be nice to see if you get any errors, and what
configuration parameters you are using before being abe to make an educated
guess as to what's happening.
Thanks
>Thanks so much!
>
>Maggie
>
>------------------------------------------------------------------------------
>Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>MVPs and experts. SALE $99.99 this month only -- learn more at:
>http://p.sf.net/sfu/learnmore_122412
>_______________________________________________
>Geoserver-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Juan Marín Otero
GIS Consultant
-------Visita mi blog en---------------------
http://guachintoneando.blogspot.com
---------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users