-
Notifications
You must be signed in to change notification settings - Fork 544
Description
I imported GB data about 2 years ago and immediately after running container tiles were available but I had to add Ireland data, so I stopped containers, and removed volumes and imported Britain and Ireland.pbf and created new volumes, after running container I see nothing and cpu is used completely by rendered in a way that makes server not responding!! has anything changed or I'm doing something wrong ??
I first create volumes for osm-data and osm-tiles then run the following commands
docker run -e UPDATES=enabled -v /home/renderaccount/data/britain-and-ireland-latest.osm.pbf:/data/region.osm.pbf -v /home/renderaccount/data/britain-and-ireland.poly:/data/region.poly -v osm-data:/data/database/ -v osm-tiles:/data/tiles/ overv/openstreetmap-tile-server import
docker run -d --restart unless-stopped -p 8080:80 -e REPLICATION_URL=https://planet.openstreetmap.org/replication/minute/ -e MAX_INTERVAL_SECONDS=60 -e ALLOW_CORS=enabled -e THREADS=100000 -e "OSM2PGSQL_EXTRA_ARGS=-C 10240" -e UPDATES=enabled -v osm-data:/data/database/ -v osm-tiles:/data/tiles/ -d overv/openstreetmap-tile-server run
as far as I know for importing GB I'd used the same commands. I also check the tiles volume but there ano no files, folders there except for planet-import-complete. I remmber there used to be folders 0,1,...20.
I checked the logs for the containe and see the following errors:
** (process:138): ERROR **: 06:13:13.377: An error occurred while loading the map layer 'default': Postgis Plugin: could not look up local user ID 1000: Too many open files
Connection string: ' dbname=gis connect_timeout=4'
encountered during parsing of layer 'landcover-low-zoom' in Layer at line 815 of '/home/renderer/src/openstreetmap-carto/mapnik.xml'
** (process:138): ERROR **: 06:13:28.504: An error occurred while loading the map layer 'default': Postgis Plugin: could not look up local user ID 1000: Too many open files
Connection string: ' dbname=gis connect_timeout=4'
encountered during parsing of layer 'barriers' in Layer at line 15201 of '/home/renderer/src/openstreetmap-carto/mapnik.xml'
thanks