Hi,
we are using geoserver 2.8.1.
We are getting issues with some requests sent to geoserver that take more
than 5 seconds to complete: thus we are getting a SocketTimeoutException.
In the attached log file extract, you can see that geoserver is logging
nothing between "2017-02-14 14:37:37,441" and "2017-02-14 14:37:48,049",
except for the "[diskquota.CacheCleanerTask] - Global cache quota
enforcement task still running, avoiding issueing a new one...".
What is causing geoserver to take so long to finally output "POST coverage
IMAGE_3664_1,IMAGE_3664_1" (which I assume is the end of the request
processing)?
Thanks,
Jessica
2017-02-14 14:37:30,180 DEBUG
[security.IncludeQueryStringAntPathRequestMatcher] - Checking match of
request : 'Path:
/rest/workspaces/myApp/coveragestores/image_3664_1/coverages, QueryString:
null'; against '/web/**'
...
2017-02-14 14:37:30,205 DEBUG [geoserver.config] - Persisting coverage
IMAGE_3664_1
2017-02-14 14:37:30,206 DEBUG [geoserver.config] - Persisted
com.sun.proxy.$Proxy10 to
workspaces/myApp/IMAGE_3664_1/IMAGE_3664_1/coverage.xml
2017-02-14 14:37:30,209 DEBUG [geoserver.config] - Persisted
com.sun.proxy.$Proxy18 to global.xml
2017-02-14 14:37:30,210 DEBUG [catalog.impl] - Warning, some code is setting
the LayerInfo name, but that will be ignored
2017-02-14 14:37:30,210 DEBUG [catalog.impl] - Warning, some code is setting
the LayerInfo enabled flag, but that will be ignored
2017-02-14 14:37:30,211 DEBUG [geoserver.config] - Persisting layer
IMAGE_3664_1
2017-02-14 14:37:30,211 DEBUG [geoserver.config] - Persisted
com.sun.proxy.$Proxy12 to
workspaces/myApp/IMAGE_3664_1/IMAGE_3664_1/layer.xml
2017-02-14 14:37:30,211 DEBUG [gwc.layer] - Handling add event:
LayerInfoImpl[IMAGE_3664_1, resource:CoverageInfoImpl[IMAGE_3664_1]]
2017-02-14 14:37:30,212 DEBUG [gwc.layer] - Depersisting
GeoServerTileLayerInfo from
/rt/geoserver/data_dir/gwc-layers/LayerInfoImpl--31e45cbf_15a015a8466_-2f99.xml.tmp
2017-02-14 14:37:32,144 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
Committing TileSet[IMAGE_3621#EPSG:4326#image/png]1 aggregated updates, 1
different pages, accum quota diff: -155,648.0 B, created 2000ms ago] to
quota store due to max wait time reached
2017-02-14 14:37:35,184 DEBUG
[security.IncludeQueryStringAntPathRequestMatcher] - Checking match of
request : 'Path: /rest/layergroups/image_3664.xml, QueryString: null';
against '/web/**'
...
2017-02-14 14:37:35,185 DEBUG [org.geoserver] - Thread 18 locking in mode
READ
2017-02-14 14:37:37,441 DEBUG [diskquota.CacheCleanerTask] - Global cache
quota enforcement task still running, avoiding issueing a new one...
2017-02-14 14:37:47,441 DEBUG [diskquota.CacheCleanerTask] - Global cache
quota enforcement task still running, avoiding issueing a new one...
2017-02-14 14:37:48,049 INFO [jdbc.JDBCQuotaStore] - Applying quota diff
-155648 on tileset TileSet[IMAGE_3621#EPSG:4326#image/png]
2017-02-14 14:37:48,050 INFO [jdbc.JDBCQuotaStore] - Applying page stats
payload PageStatsPayload [numTiles=-1, lastAccessTime=0, numHits=0,
page=TilePage[IMAGE_3621#EPSG:4326#image/png@anonymised.com,3,12], tileSet=null]
2017-02-14 14:37:48,050 DEBUG [diskquota.CacheCleaner] - Expiring tile page
TilePage[IMAGE_1123#EPSG:4326#image/png@anonymised.com,5,13] based on the global LFU
expiration policy
2017-02-14 14:37:48,050 DEBUG [gwc.layer] - Depersisting
GeoServerTileLayerInfo from
/rt/geoserver/data_dir/gwc-layers/LayerInfoImpl--31e45cbf_15a015a8466_-2f99.xml
2017-02-14 14:37:48,053 INFO [file.FileBlobStore] - Truncated 1 tiles
2017-02-14 14:37:48,053 DEBUG [seed.TruncateTask] - Completed truncate
request.
2017-02-14 14:37:48,053 INFO [seed.GWCTask] - Thread group finished TRUNCATE
task after 0.003 seconds
2017-02-14 14:37:48,053 INFO [jdbc.JDBCQuotaStore] - Truncating page
TilePage[IMAGE_1123#EPSG:4326#image/png@anonymised.com,5,13]
2017-02-14 14:37:48,053 INFO [jdbc.JDBCQuotaStore] - Setting page
TilePage[IMAGE_1123#EPSG:4326#image/png@anonymised.com,5,13] fill factor to 0.0
2017-02-14 14:37:48,067 DEBUG [jdbc.JDBCQuotaStore] - Creating tileset
TileSet[myApp:IMAGE_3664_1#EPSG:4326#image/png]
2017-02-14 14:37:48,068 DEBUG [jdbc.JDBCQuotaStore] - Creating tileset
TileSet[myApp:IMAGE_3664_1#EPSG:900913#image/png]
2017-02-14 14:37:48,068 DEBUG [jdbc.JDBCQuotaStore] - Creating tileset
TileSet[myApp:IMAGE_3664_1#EPSG:900913#image/jpeg]
2017-02-14 14:37:48,068 DEBUG [jdbc.JDBCQuotaStore] - Creating tileset
TileSet[myApp:IMAGE_3664_1#EPSG:4326#image/jpeg]
2017-02-14 14:37:48,068 DEBUG [geoserver.config] - Persisted
com.sun.proxy.$Proxy18 to global.xml
2017-02-14 14:37:48,068 INFO [catalog.rest] - POST coverage
IMAGE_3664_1,IMAGE_3664_1
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-taking-so-much-time-to-complete-a-request-to-create-a-layer-tp5313513.html
Sent from the GeoServer - User mailing list archive at Nabble.com.