Hello. I'm facing some issues trying to use this type of store.

I have a folder with 5570 tifs (~50 KBs each) plus the .ovr and other
metadata files associated with each tif totaling ~40000 files. They were
generated by arcgis.

When I created a store for this folder, geoserver took almost 6 hours to do
it. Observing the resource monitor (windows program), I saw it was reading ~
1 tif every second. However cpu usage and disk usage were very low, only RAM
kept high usage.

Besides the long waiting time, this process blocks ("server is busy...")
almost every usage on the admin page, plus the get capabilities request.

The worst part is that if I keep poking other geoserver resources, the store
creation hung permanently without any UI error message and log error
message. The tif reading in resource monitor completely stops, but the
message "server is busy" is still present at the web interface for some
operations.

I have to manually restart tomcat to make geoserver work properly again.


Here are my configs:

datastore.properties
SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory
host=***
port=***
database=***
schema=***
user=***
passwd=***
Loose\ bbox=true
Estimated\ extends=false
validate\ connections=false
Connection\ timeout=10
preparedStatements=true


indexer.properties
Caching=false
AdditionalDomainAttributes=territorio_id(territorio_id)
Schema=*the_geom:Polygon,location:String,territorio_id:Integer
PropertyCollectors=IntegerFileNameExtractorSPI[territorioregex](territorio_id)

territorioregex.properties
regex=[0-9]{2,7}


Geoserver 2.13.2
Memory Usage    5,7 GB / 19,1 GB

Host: windows server 2016 / 10 cores @ 2.4 / 32 RAM / 

I'm using the image mosaic approach because the rasters will be visible only
one at time using the territorio_id filter and I want to avoid creating 5570 
x 4 (3 more stores to go) single rasters layers.

Am doing something wrong? Is there anything I could do to improve the
creation time and stop the blocks? Is this normal behavior due to the number
of files?

Any help or tips is highly appreciated. Thanks!



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to