I'm answering my own question because I've solved it.
It seems to be related the the JVM settings I've been struggling with.
As said before I'm a Windows user learning Ubuntu and sometimes simple
tasks are very complicated for me ;)

I had created the setenv.sh file in the wrong location, making Tomcat not
using it.
I know created the file in /usr/share/tomcat7/bin/

And the content is:

-server -Xms512m -Xmx1024m
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
-XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=36000
-XX:+UseParallelOldGC -XX:+UseParallelGC
-XX:NewRatio=2 -XX:+AggressiveOpt

After restarting Tomcat GWC is now continuing pre-seeding my files.

I'm still looking for some explanation about the used sizes in setenv.sh.
I have a 2GB server. What is the relation between for example -Xmx and the
available RAM?

Thanks,

Paul


2012/11/13 Paul Meems <[email protected]>

>
> I have a 4GB GeoTiff layer I want to seed using the integrated GWC on my
> GeoServer v2.2.1 Ubuntu server.
> When I start seeding the process is very quickly finished, about 5
> minutes. Even when I seed to zoomlevel 14.
> My GeoTiff is just a small area and I have enough HD so I want to seed all
> levels.
>
> When I use the preview of GWC I can see the tiles of the first levels
> showing very fast, but when I zoom in it takes a long time. Also GWC
> reports it uses about 10MB of disk space for my tiles.
> I would have assumed to need several hundreds of diskspace.
> I'm assuming not all tiles are being pre-seeded.
>
> I've enabled geoserver dev. logging, but I don't see any warning/errors
> about GWC:
> 2012-11-13 10:03:02,113 INFO [org.geoserver.wms] -
> Request: getServiceInfo
> 2012-11-13 10:03:02,115 DEBUG [org.geoserver.ows] - Getting layers and
> styles from LAYERS and STYLES
> 2012-11-13 10:03:02,115 DEBUG [org.geoserver.ows] - establishing raster
> style for Dakscan-demo:Luchtfoto-512
> 2012-11-13 10:03:02,116 DEBUG [org.geoserver.filters] - Compressing output
> for mimetype: application/xml
> 2012-11-13 10:03:02,118 DEBUG [org.geoserver.wms] - setting up map
> 2012-11-13 10:03:02,119 DEBUG [org.geoserver.wms.map] - setting up
> 2048x2048 image
> 2012-11-13 10:03:02,141 INFO [org.geoserver.wms] -
> Request: getMap
> ...
> 2012-11-13 10:03:08,948 DEBUG [org.geoserver.security] - Start searching
> for expired authentication tokens
> 2012-11-13 10:03:08,949 DEBUG [org.geoserver.security] - Number of expired
> authentication tokens found: 0
> 2012-11-13 10:03:08,949 DEBUG [org.geoserver.security] - End searching for
> expired authentication tokens
> 2012-11-13 10:03:08,963 DEBUG [org.geoserver.filters] - Compressing output
> for mimetype: application/xml
> 2012-11-13 10:03:28,906 TRACE [org.geoserver.gwc.layer] - -->
> http-bio-8080-exec-2 returns cache hit for [264, 292, 11]
> 2012-11-13 10:03:28,907 TRACE [org.geoserver.gwc.layer] - -->
> http-bio-8080-exec-17 returns cache hit for [264, 292, 11]
> 2012-11-13 10:03:28,909 DEBUG [org.geoserver.filters] - Not compressing
> output for mimetype: image/jpeg
> 2012-11-13 10:03:28,910 DEBUG [org.geoserver.filters] - Not compressing
> output for mimetype: image/jpeg
> 2012-11-13 10:03:28,912 TRACE [org.geoserver.gwc.layer] - -->
> http-bio-8080-exec-4 returns cache hit for [264, 292, 11]
> ...
> 2012-11-13 10:08:20,975 DEBUG [org.geoserver.security] - Bad credentials
> org.springframework.security.authentication.BadCredentialsException: Bad
> credentials
> ...
> 2012-11-13 10:12:04,068 DEBUG [org.geoserver] - Thread 54 releasing the
> lock in mode WRITE
> 2012-11-13 10:12:04,069 DEBUG [org.geoserver.filters] - Compressing output
> for mimetype: text/html;charset=UTF-8
> 2012-11-13 10:12:09,409 DEBUG [org.geoserver.security] - Start searching
> for expired authentication tokens
> 2012-11-13 10:12:09,410 DEBUG [org.geoserver.security] - Number of expired
> authentication tokens found: 0
> 2012-11-13 10:12:09,410 DEBUG [org.geoserver.security] - End searching for
> expired authentication tokens
> 2012-11-13 10:12:15,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2012-11-13 10:12:15,920 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2012-11-13 10:12:15,920 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2012-11-13 10:12:15,921 DEBUG [org.geoserver] - Thread 54 locking in mode
> WRITE
> 2012-11-13 10:12:15,921 DEBUG [org.geoserver] - Thread 54 got the lock in
> mode WRITE
> 2012-11-13 10:12:15,924 DEBUG [org.geoserver] - Thread 54 releasing the
> lock in mode WRITE
> 2012-11-13 10:12:15,955 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2012-11-13 10:12:15,955 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2012-11-13 10:12:15,956 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2012-11-13 10:12:15,956 DEBUG [org.geoserver] - Thread 54 locking in mode
> WRITE
> 2012-11-13 10:12:15,957 DEBUG [org.geoserver] - Thread 54 got the lock in
> mode WRITE
> 2012-11-13 10:08:20,997 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.2.1.jar!/org/geoserver/web/css/blueprint/screen.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
>
> In this logging I do see some warnings/debug messages, but they don't seem
> very important.
>
> Because of the small area of my layer I can pre-seed by using the preview,
> but that is not what I want to do for all my layers.
>
> Thanks,
>
> Paul
>
>
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to