サーバ関連 目次

設定チューニング

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

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS