cga-harvard / worldmap

WorldMap GeoNode Project
GNU General Public License v3.0
13 stars 7 forks source link

GeoServer hangs for minutes under certain circumnstances #128

Closed capooti closed 7 years ago

capooti commented 7 years ago

This is happening:

(1) most likely becuase GeoFence cache must be recreated (2) it looks like GeoFence it is iterating all of the layers of the datastore and then the following error is raised "20 Oct 20:52:18 WARN [geofence.internal] - GeoFence was not able to find any matching user on Security Context amd Services"

capooti commented 7 years ago

In another case I see that GWC is iterating all layers, and I see a lot of errors like this one: 20 Oct 20:56:42 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:China_Prov_Pop_2010_normWGS84_VQX in CRS EPSG:900913. Assuming full GridSet bounds. (null)

I am not sure what raises the iteration of all of the layers. Could it be when a new tile must be generated???

capooti commented 7 years ago

Some layers to investigate:

20 Oct 21:03:37 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:DariusPoints_BC6 in CRS EPSG:900913. Assuming full GridSet bounds. (null) 20 Oct 21:03:37 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:DariusPoints_BC6 in CRS EPSG:4326. Assuming full GridSet bounds. (null) 20 Oct 21:03:38 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:combustiveis_fosseis_ng4 in CRS EPSG:900913. Assuming full GridSet bounds. (null) 20 Oct 21:03:38 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:combustiveis_fosseis_ng4 in CRS EPSG:4326. Assuming full GridSet bounds. (null) 20 Oct 21:03:42 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:qgis_kahe_t7Z in CRS EPSG:900913. Assuming full GridSet bounds. (null) 20 Oct 21:03:42 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:qgis_kahe_t7Z in CRS EPSG:4326. Assuming full GridSet bounds. (null) 20 Oct 21:03:42 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:schools_LA_GM_GCW in CRS EPSG:900913. Assuming full GridSet bounds. (null) 20 Oct 21:03:42 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:schools_LA_GM_GCW in CRS EPSG:4326. Assuming full GridSet bounds. (null) 20 Oct 21:03:45 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:foreignrichmond_Gz9 in CRS EPSG:900913. Assuming full GridSet bounds. (null) 20 Oct 21:03:45 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:foreignrichmond_Gz9 in CRS EPSG:4326. Assuming full GridSet bounds. (null) 20 Oct 21:03:45 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:b12_digital_kdl in CRS EPSG:900913. Assuming full GridSet bounds. (null) 20 Oct 21:03:45 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:b12_digital_kdl in CRS EPSG:4326. Assuming full GridSet bounds. (null) 20 Oct 21:03:45 WARN [gwc.layer] - Can't compute bounds for tile layer geonode:teste2_4nn in CRS EPSG:900913. Assuming full GridSet bounds. (null)

I will need to check with GWC list why all of the layers on a datastore are checked. In our case it is a disaster as we still have 20k thousand layers in the original database

capooti commented 7 years ago

So we have two different problems, and I will file a ticket for each one of them (and close this):