# ***************************************************************************** # MapGuide Server Configuration File # # The following configuration is based on a single CPU with a single core. # # WARNING: BE VERY CAREFUL WHEN MODIFYING THIS FILE AS IT COULD # ADVERSLY IMPACT SERVER PERFORMANCE # # When saving this file use a UTF-8 encoding. # # ***************************************************************************** # COMMON VALIDATION INFORMATION # # (Unless otherwise noted under the property description) # ----------------------------------------------------------------------------- # String Property Range of String Length Reserved Characters # ----------------------------------------------------------------------------- # File Name 0 < Length <= 128 \/:*?"<>| # Folder Name 0 < Length <= 128 \/:*?"<>| # Log Parameters 0 <= Length <= 1024 # Password 0 <= Length <= 64 \t\r\n\v\f # Path 0 < Length <= 255 *?"<>| # ----------------------------------------------------------------------------- # Numeric Property Range of Numeric Value # ----------------------------------------------------------------------------- # Port Number 0 <= Value <= 65535 # ***************************************************************************** [GeneralProperties] # ***************************************************************************** # G E N E R A L # # Property Name Description # ----------------------------------------------------------------------------- # ConnectionTimeout Time duration in seconds for when an idle # connection is dropped # 0 < Value <= 86400 # ConnectionTimerInterval Time interval in seconds for when the server # checks for idle connections # 0 < Value <= 2147483647 # DefaultMessageLocale ISO 639-1 name for the message locale # Length = 2 # Example: en # DisplayName Display name of the server # 0 <= Length <= 255 # Reserved Characters: \/:*?"<>| # FdoPath Path where FDO is installed # LicenseServerPath The path to the License server (not used by MapGuide Open Source) # 0 <= Length <= 255 # LinuxFontDirectories A colon-separated (:) list of directories to search for additional fonts on Linux # Has no effect on Windows # Locale The server's locale. If left blank it will default to the operating system locale # 0 <= Length <= 255 # Format : lang[_country_region.code_page] # Example (Windows): English_United States.1252 # Example Linux) : en_US.iso88591 # LogsDelimiter Delimiter that separates the data fields in # the log files # LogsDetail Level of logging detail per service # 0 - Errors without parameters (default) # 1 - Warnings and Errors with parameters # 2 - Trace, Warnings, and Errors # 3 - Internal Trace, Trace, Warnings, and Errors # Service keys: ResourceService, DrawingService, FeatureService, MappingService, # RenderingService, TileService, KmlService, ServerAdminService, SiteService # Example: MappingService:3,FeatureService:1 # LogsPath Path where log files are stored # MachineIp IP address of this server # 0 < Length <= 255 # MaxLogFileSize Max size allowed for the log files in # kilobytes (KB) # 0 < Value <= 2000000 # MaxLogFileSizeEnabled 0 = max size disabled, 1 = max size enabled # MentorDictionaryPath The path where the CS-Map Coordinate System Dictionaries are installed # MentorUserDictionaryPath The path where user defined CS-Map Coordinate System Dictionaries are stored # PreCacheMaps The list of maps to precache at server startup. # Value = Map resource name(s) separated by "," # Example: Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition # Renderer Image renderer to use (GD or AGG) # ResourcesPath Path where the localization resource files are stored # SerialNumber The MapGuide Server serial number (not used by MapGuide Open Source) # 0 <= Length <= 12 # TcpIpMtu TCP/IP maximum transmission unit # 0 < Value <= 65535 # TempPath Path where the temporary files are stored # WfsDocumentPath Document path location for WFS documents # WmsDocumentPath Document path location for WMS documents # ***************************************************************************** ConnectionTimeout = 120 ConnectionTimerInterval = 60 DefaultMessageLocale = en DisplayName = FdoPath = @FDO_LIBRARY_DIR@ LicenseServerPath = @localhost LinuxFontDirectories = /usr/share/fonts/truetype/msttcorefonts:/usr/share/fonts/msttcore Locale = LogsDelimiter = \t LogsDetail = LogsPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Logs/ MachineIp = 127.0.0.1 MaxLogFileSize = 1024 MaxLogFileSizeEnabled = 0 MentorDictionaryPath = @MG_INSTALL_COORDSYS_PREFIX_ABS@ MentorUserDictionaryPath = PreCacheMaps = Renderer = AGG ResourcesPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Resources/ SerialNumber = TcpIpMtu = 1460 TempPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Temp/ WfsDocumentPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Wfs/ WmsDocumentPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Wms/ [AdministrativeConnectionProperties] # ***************************************************************************** # A D M I N I S T R A T I V E C O N N E C T I O N # # Property Name Description # ----------------------------------------------------------------------------- # Email Server administrator's email address # 0 <= Length <= 255 # MaxConnections Max # of open administration connections # 0 < Value <= 1024 # Port Port to use for administration operations # # WARNING: If you change the port # here you # must also change the corresponding # port # for the web tier configuration # file. # # QueueSize Max # of administration operations to queue # 0 < Value <= 1024 # ThreadPoolSize # of threads available for processing # administration operations # 0 < Value <= 1024 # ***************************************************************************** Email = MaxConnections = 10 Port = 2810 QueueSize = 20 ThreadPoolSize = 10 [ClientConnectionProperties] # ***************************************************************************** # C L I E N T C O N N E C T I O N # # Property Name Description # ----------------------------------------------------------------------------- # MaxConnections Max # of open client connections # 0 < Value <= 1024 # Port Port to use for client operations # # WARNING: If you change the port # here you # must also change the corresponding # port # for the web tier configuration # file. # # QueueSize Max # of client operations to queue # 0 < Value <= 1024 # ThreadPoolSize # of threads available for processing # client operations # 0 < Value <= 1024 # ***************************************************************************** MaxConnections = 100 Port = 2811 QueueSize = 40 ThreadPoolSize = 20 [SiteConnectionProperties] # ***************************************************************************** # S I T E C O N N E C T I O N # # Property Name Description # ----------------------------------------------------------------------------- # IpAddress IP address of the site server. This is typically # the address of this server and matches the # MachineIp given above. # 0 < Length <= 255 # MaxConnections Max # of open site connections # 0 < Value <= 1024 # Port Port to use for site operations # # WARNING: If you change the port # here you # must also change the corresponding # port # for the web tier configuration # file. # # QueueSize Max # of site operations to queue # 0 < Value <= 1024 # ThreadPoolSize # of threads available for processing # site operations # 0 < Value <= 1024 # ***************************************************************************** IpAddress = 127.0.0.1 MaxConnections = 20 Port = 2812 QueueSize = 20 ThreadPoolSize = 10 [HostProperties] # ***************************************************************************** # H O S T # # Property Name Description # ----------------------------------------------------------------------------- # DrawingService 0 = service unavailable, 1 = service available # FeatureService 0 = service unavailable, 1 = service available # KmlService 0 = service unavailable, 1 = service available # MappingService 0 = service unavailable, 1 = service available # RenderingService 0 = service unavailable, 1 = service available # ResourceService 0 = service unavailable, 1 = service available # SiteService 0 = service unavailable, 1 = service available # TileService 0 = service unavailable, 1 = service available # ***************************************************************************** DrawingService = 1 FeatureService = 1 KmlService = 1 MappingService = 1 RenderingService = 1 ResourceService = 1 SiteService = 1 TileService = 1 [DrawingServiceProperties] # ***************************************************************************** # D R A W I N G S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # ***************************************************************************** [FeatureServiceProperties] # ***************************************************************************** # F E A T U R E S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # CacheSize Max # of internal data objects to cache # (schemas, classes, etc...) # 0 < Value <= 5000 # CacheTimeLimit Time duration in seconds for how long to # cache the internal data objects # 0 < Value <= 2147483647 # CacheTimerInterval Time interval in seconds for when the server # checks for expired cache entries # 0 < Value <= 2147483647 # DataCacheSize Max # of features to fetch # 0 < Value <= 2147483647 # DataConnectionPoolEnabled FDO connection pooling # 0 = disabled, 1 = enabled # DataConnectionPoolExcludedProviders The list of providers to exclude from connection pooling. # 0 <= Length <= 1024 # Value = provider name(s) separated by "," # Example: OSGeo.SDF,OSGeo.SHP # DataConnectionPoolSize Default # of FDO connections to cache per provider # 1 < Value <= 1024 # DataConnectionPoolSizeCustom Custom # of FDO connections to cache for specified provider # 0 <= Length <= 1024 # Example: OSGeo.SDF:10,OSGeo.SHP:10 # DataConnectionTimeout Time duration in seconds for when an idle FDO # connection is dropped # 0 < Value <= 2147483647 # DataConnectionTimerInterval Time interval in seconds for when the server # checks for idle FDO connections # 0 < Value <= 2147483647 # JoinQueryBatchSize Join query batch size # 1 < Value <= 10000 # DataTransactionTimeout Time duration in seconds for when an idle FDO # transaction is dropped # 0 < Value <= 1800 # DataTransactionTimerInterval Time interval in seconds for when the server # checks for idle FDO transactions # 0 < Value <= 1800 # FDOConnectionTimeoutCustom Time duration in seconds for an FDO connection # 0 < Value <= 600 # UseFdoJoinOptimization Determines whether to use FDO Join APIs for feature joins between # classes from the same Feature Source for FDO providers that support it # 1 = Use FDO Join APIs if possible, 0 = Fallback to GwsQueryEngine # ***************************************************************************** CacheSize = 100 CacheTimeLimit = 86400 CacheTimerInterval = 3600 DataCacheSize = 100 DataConnectionPoolEnabled = 1 DataConnectionPoolExcludedProviders= OSGeo.SDF,OSGeo.SHP DataConnectionPoolSize = 200 DataConnectionPoolSizeCustom = OSGeo.Gdal:1 DataConnectionTimeout = 28800 DataConnectionTimerInterval = 3600 JoinQueryBatchSize = 1000 DataTransactionTimeout = 360 DataTransactionTimerInterval = 60 FDOConnectionTimeoutCustom = OSGeo.WMS:120 UseFdoJoinOptimization = 1 [MappingServiceProperties] # ***************************************************************************** # M A P P I N G S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # LegendFont Font to use when rendering legend elements # 0 < Length <= 255 # ***************************************************************************** LegendFont = Arial [ProfilingServiceProperties] # ***************************************************************************** # P R O F I L I N G S E R V I C E S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # # # ***************************************************************************** [RenderingServiceProperties] # ***************************************************************************** # R E N D E R I N G S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # TileExtentOffset Max request extent offset to use when # requesting features for a tile, specified as # a factor of the tile size # 0.0 <= Value <= 1.0 # RasterGridSize Size of raster re-projection grid in pixels # 0 < Value <= 2147483647 # MinRasterGridSize Minimum size of raster re-projection grid in # pixels. This should be less than RasterGridSize. # 0 < Value <= 2147483647 # RasterGridSizeOverrideRatio If the RasterGridSize is larger than the # image's height or width multiplied by the # RasterGridSizeOverrideRatio, then the # RasterGridSize is overridden with this value. # Set to 0 or 1 to disable the override. # 0.0 <= Value <= 1.0 # RasterGridSizeForPlot Size of raster re-projection grid in pixels # for plot # MinRasterGridSizeForPlot Minimum size of raster re-projection grid in # pixels for plot. This must be less than # RasterGridSizeForPlot. # RasterGridSizeOverrideRatioForPlot If the RasterGridSizeForPlot is larger than the # image's height or width multiplied by the # RasterGridSizeOverrideRatioForPlot, then the # RasterGridSizeForPlot is overridden with this # value. # Change this setting to 1 to disable the # override. # RenderSelectionBatchSize The batch size to use when rendering a selection # ClampPoints Specifies whether point coordinates are clamped # to integer values before passing them to the # AGG renderer (experimental) # 0 = false and 1 = true # GeneralizeData Specifies whether feature geometry is generalized # before being rendered (experimental) # 0 = false and 1 = true # MaxRasterImageWidth The max width of raster image in pixels # 0 < Value <= 2147483647 # MaxRasterImageHeight The max height of raster image in pixels # 0 < Value <= 2147483647 # ***************************************************************************** TileExtentOffset = 0.35 RasterGridSize = 100 MinRasterGridSize = 10 RasterGridSizeOverrideRatio = 0.25 RasterGridSizeForPlot = 50 MinRasterGridSizeForPlot = 5 RasterGridSizeOverrideRatioForPlot = 0.10 RenderSelectionBatchSize = 50000 ClampPoints = 0 GeneralizeData = 0 MaxRasterImageWidth = 2048 MaxRasterImageHeight = 2048 [ResourceServiceProperties] # ***************************************************************************** # R E S O U R C E S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # LibraryRepositoryPath Path where the Library repository is stored # LibraryResourceDataFilePath Path where the Library resource data files # are stored # PackagesPath Path where the resource packages can be found # RepositoryCheckpointsTimerInterval Time duration in seconds for when the server # performs checkpoints for all the repositories # 0 < Value <= 2147483647 # ResourceChangeTimerInterval Time duration in seconds for when the server # dispatches resource change notifications # 0 < Value <= 2147483647 # ResourceDataFileTrashFolderName Folder where the repository trash files are # stored # ResourcePermissionCacheSize Max # of resources with permission # information to be cached # 0 <= Value <= 2147483647 # ResourceSchemaFilePath Path where the resource schema files are # stored # SessionRepositoriesConfig Sets whether to use a single file session # repository or a session repository file per session. # SingleFile or FilePerSession # SessionRepositoriesLimit The total number of active session files allowed. # This setting only works when FilePerSession # is used. # SessionRepositoryPath Path where the Session repository is stored # SessionResourceDataFilePath Path where the Session resource data files # are stored # SiteRepositoryPath Path where the Site repository is stored # ***************************************************************************** LibraryRepositoryPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Repositories/Library/ LibraryResourceDataFilePath = @MG_INSTALL_SERVER_PREFIX_ABS@/Repositories/Library/DataFiles/ PackagesPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Packages/ RepositoryCheckpointsTimerInterval = 600 ResourceChangeTimerInterval = 5 ResourceDataFileTrashFolderName = @MG_INSTALL_SERVER_PREFIX_ABS@/Trash/ ResourcePermissionCacheSize = 1000 ResourceSchemaFilePath = @MG_INSTALL_SERVER_PREFIX_ABS@/Schema/ SessionRepositoriesConfig = FilePerSession SessionRepositoriesLimit = 200 SessionRepositoryPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Repositories/Session/ SessionResourceDataFilePath = @MG_INSTALL_SERVER_PREFIX_ABS@/Repositories/Session/DataFiles/ SiteRepositoryPath = @MG_INSTALL_SERVER_PREFIX_ABS@/Repositories/Site/ [SiteServiceProperties] # ***************************************************************************** # S I T E S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # SessionTimeout Time duration in seconds for when an idle # session is expired # 0 < Value <= 86400 # SessionTimerInterval Time interval in seconds for when the server # checks for idle sessions # 0 < Value <= 2147483647 # ***************************************************************************** SessionTimeout = 1200 SessionTimerInterval = 400 [TileServiceProperties] # ***************************************************************************** # T I L E S E R V I C E # # Property Name Description # ----------------------------------------------------------------------------- # RenderOnly Renders the tile only # 0 = false and 1 = true # TileCachePath Root path of the image tile cache # TileColumnsPerFolder Number of columns of tiles per folder # 0 < Value <= 1000 # TileRowsPerFolder Number of rows of tiles per folder # 0 < Value <= 1000 # DefaultTileSizeX Width of generated tiles in pixels # 50 < value <= 10000 # DefaultTileSizeY Height of generated tiles in pixels # 50 < value <= 10000 # ImageFormat Image format for generated tiles # PNG, PNG8, GIF or JPG # ***************************************************************************** RenderOnly = 0 TileCachePath = @MG_INSTALL_SERVER_PREFIX_ABS@/Repositories/TileCache/ TileColumnsPerFolder = 30 TileRowsPerFolder = 30 DefaultTileSizeX = 300 DefaultTileSizeY = 300 ImageFormat = PNG [AccessLogProperties] # ***************************************************************************** # A C C E S S L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # ***************************************************************************** Enabled = 1 Filename = "Access.log" Parameters = CLIENT,CLIENTIP,USER,OPID [AdminLogProperties] # ***************************************************************************** # A D M I N L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # ***************************************************************************** Enabled = 1 Filename = "Admin.log" Parameters = CLIENT,CLIENTIP,USER,OPID [AuthenticationLogProperties] # ***************************************************************************** # A U T H E N T I C A T I O N L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # ***************************************************************************** Enabled = 1 Filename = "Authentication.log" Parameters = CLIENT,CLIENTIP,USER [ErrorLogProperties] # ***************************************************************************** # E R R O R L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # ***************************************************************************** Enabled = 1 Filename = "Error.log" Parameters = CLIENT,CLIENTIP,USER,ERROR,STACKTRACE [PerformanceLogProperties] # ***************************************************************************** # P E R F O R M A N C E L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # Interval Time interval in seconds for when the server # writes the performance information to the log # ***************************************************************************** Enabled = 0 Filename = "Performance.log" Parameters = ADMINOPQCOUNT,CLIENTOPQCOUNT,SITEOPQCOUNT,AVGOPTIME,CPU,WORKINGSET,VIRTUALMEMORY,TOTALOPTIME,TOTALACTIVECONNECTIONS,TOTALCONNECTIONS,TOTALPROCESSEDOP,TOTALRECEIVEDOP,UPTIME, CACHESIZE, CACHEDROPPEDENTRIES Interval = 300 [SessionLogProperties] # ***************************************************************************** # S E S S I O N L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # ***************************************************************************** Enabled = 0 Filename = "Session.log" Parameters = CLIENT,CLIENTIP,USER,STARTTIME,ENDTIME,OPSFAILED,OPSRECEIVED,AVERAGEOPTIME [TraceLogProperties] # ***************************************************************************** # T R A C E L O G # # Property Name Description # ----------------------------------------------------------------------------- # Enabled 0 = log disabled, 1 = log enabled # Filename Name of the log file # Parameters Log parameters # ***************************************************************************** Enabled = 0 Filename = "Trace.log" Parameters = INFO [FontAliases] # ***************************************************************************** # F O N T A L I A S E S # This section is used to map a font family name to another. The left side # is a name that might be specified by the user and the right side is what # font to actually use. # ***************************************************************************** MS ゴシック = MS Gothic MS Pゴシック = MS PGothic MS 明朝 = MS Mincho MS P明朝 = MS PMincho 굴림 = Gulim 굴림체 = GulimChe 돋움 = Dotum 돋움체 = DotumChe 바탕 = Batang 바탕체 = BatangChe 궁서 = Gungsuh 궁서체 = GungsuhChe [UnmanagedDataMappings] # ***************************************************************************** # U N M A N A G E D D A T A M A P P I N G S # This section is used to map a mapping name to an unmanaged data folder. # ***************************************************************************** [DBEnvironmentProperties] # ***************************************************************************** # DB ENVIRONMENT # This section is to set DB Environment. Determine the best sizes to improve the Server performance. # # Property Name Description # ----------------------------------------------------------------------------- # LibraryCacheSize The size for library cache size in MB # SessionCacheSize The size for session cache size in MB # DBPageSize The size for library DB page in KB # DBXMLPageSize The size for library DBXML page in KB # LibraryLogBufferSize The size for library log buffer in MB # SessionLogBufferSize The size for session log buffer in MB # DBMaxTransactions The max number of DB transactions # SessionDBPageSize The size for session DB page in KB # SessionDBXMLPageSize The size for session DBXML page in KB # DBTimeout The time out for lock and transaction in second # DBMaxLockers The max number of DB lockers # ***************************************************************************** LibraryCacheSize = 32 SessionCacheSize = 2 DBPageSize = 32 DBXMLPageSize = 32 LibraryLogBufferSize = 12 SessionLogBufferSize = 1 DBMaxTransactions = 1000 SessionDBPageSize = 2 SessionDBXMLPageSize = 0.5 DBTimeout = 0.2 DBMaxLockers = 1000