Merge branch 'master' into stevo-autovacuum

This commit is contained in:
Alexander Overvoorde authored and GitHub committed 2019-04-23 21:37:06 +02:00
commit 095c3badc3
2 files changed
+17 -5

No files matched your search

+15
View File
@@ -43,6 +43,21 @@ The database use the autovacuum feature by default. This behavior can be changed
docker run -p 80:80 -e AUTOVACUUM=off -v openstreetmap-data:/var/lib/postgresql/10/main -d overv/openstreetmap-tile-server
## Troubleshooting
### ERROR: could not resize shared memory segment
If you encounter such entries in the log, it will mean that the default shared memory limit (64 MB) is too low for the container and it should be raised:
renderd[126]: ERROR: failed to render TILE ajt 6 32-39 16-23,
renderd[126]: reason: Postgis Plugin: ERROR: could not resize shared memory segment
To raise it use `--shm-size` parameter. For example:
docker run -p 80:80 -v openstreetmap-data:/var/lib/postgresql/10/main --shm-size="192m" -d overv/openstreetmap-tile-server run
For too high values you may notice excessive CPU load and memory usage. It might be that you will have to experimentally find the best values for yourself.
## License
```