OSM2 オフラインタイルサーバ構築 のバックアップ(No.2)
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- OSM2 オフラインタイルサーバ構築 へ行く。
- 1 (2023-02-07 (火) 00:35:08)
- 2 (2023-02-07 (火) 00:35:23)
- 3 (2023-02-07 (火) 10:55:50)
- 4 (2024-04-14 (日) 20:48:39)
- 5 (2024-04-14 (日) 21:15:27)
サーバ関連
目次
設定チューニング †
renderd †
- /etc/renderd.conf
[s2o] URI=/hot/ XML=/home/osm/src/openstreetmap-carto/mapnik.xml HOST=localhost TILESIZE=256 MINZOOM=0 MAXZOOM=11
- /etc/apache2/conf-available/renderd.conf
Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted ModTileTileDir /var/cache/renderd/tiles LoadTileConfigFile /etc/renderd.conf ModTileEnableStats On ModTileBulkMode Off ModTileRequestTimeout 600 ModTileMissingRequestTimeout 60 ModTileMaxLoadOld 50 ModTileMaxLoadMissing 80 ModTileVeryOldThreshold 31536000000000 ModTileRenderdSocketName /run/renderd/renderd.sock ModTileCacheExtendedDuration 2592000 ModTileCacheDurationMax 604800 ModTileCacheDurationDirty 900 ModTileCacheDurationMinimum 10800 ModTileCacheDurationMediumZoom 13 86400 ModTileCacheDurationLowZoom 1 518400 ModTileCacheLastModifiedFactor 0.20 ModTileEnableTileThrottling Off ModTileEnableTileThrottlingXForward 0 ModTileThrottlingTiles 10000 1 ModTileThrottlingRenders 128 0.2
PostgreSQL †
- /etc/postgresql/14/main/postgresql.conf
max_wal_size = 20GB min_wal_size = 80MB