-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GeoNode Docker/GeoServer Cache is jamming up the disk space #10197
Comments
@Holz1GST please make sure the GeoServer DiskQuotas have been correctly enabled and configured https://docs.geoserver.org/stable/en/user/geowebcache/webadmin/diskquotas.html |
Hi @Holz1GST in theory the temporary files should be removed by GeoNode automatically or, at least, there shouldn't be duplicates. Do you confirm that you are using an updated version of GeoNode 4.0.x running with docker? |
Yes, we are using version 4.0.x of GeoNode with docker. |
Dear GeoNode community/developers,
We recently setup a GeoNode Docker instance on our Ubuntu 20.04.5 LTS Server.
We started uploading data to it and had to notice that our 1.7 TB disk quickly ran out of space.
The Problem
While uploading data to our GeoNode Docker instance the 1.7 TB HD quickly ran out of space.
A first look at the Geoserver Backend showed that something seemed to be wrong with the Geoserver-Cache as some uploaded Layers had a Cache of several TB. Clearing the Cache, making some changes to the disk quota settings and restarting the docker containers seems to have fixed this issue, as the Cached Layers are cleared correctly now.
Never the less the 1.7 TB disk space are still jammed up. A closer look at the usage of disk space showed that there are three major culprits in the docker volumes taking up the disk space.
![image](https://user-images.githubusercontent.com/80322853/198022643-acf1a443-1a1e-4e12-8c3a-b09a0e96fa82.png)
![image](https://user-images.githubusercontent.com/80322853/198022788-fecb063a-7909-469b-87c8-c63e021ea4de.png)
![image](https://user-images.githubusercontent.com/80322853/198022912-3b496b8f-8ec8-4f9d-81d4-e4f367bfab27.png)
Culprit 1:
Culprit 2:
Culprit 3:
As we have uploaded about 600 GB of data GeoNode shouldn't use up 1.6 TB of space. Apparently Culprit 1 & 2 are containing "tmp" folders for each uploaded layer. Should these folders be cleared automatically by GeoNode after finishing the upload?
![image](https://user-images.githubusercontent.com/80322853/198024958-0fbb53a9-c383-4c00-ab4d-4b6a5410da3d.png)
![image](https://user-images.githubusercontent.com/80322853/198025001-51227d46-c8ac-49bb-976a-579fef19837e.png)
Culprit 1:
Culprit 2:
As far as I understand geoserver stores the data in the geonode-gsdatadir. Thus I suppose that the tmp-folders there actually contain the uploaded data and shouldn't be removed. What is being stored in the geonode-statics volume then? Should this data be removed by GeoNode automatically?
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: