source: subversion/applications/rendering/tilesAtHome-dev/branches/threading/tilesAtHome.conf.linux @ 34655

Last change on this file since 34655 was 19087, checked in by medi, 10 years ago

update the exampel configs and add options from the threading client

  • Property svn:eol-style set to native
File size: 5.5 KB
RevLine 
[1805]1#
2# Config file for TilesAtHome
3#
[2082]4
[14258]5## Edit and save as tilesAtHome.conf.
[9516]6##
7## do NOT make a link to this file
8## do NOT save modifications to this file
9##
10
[2047]11## FileLocations
[10167]12#
13# If WorkingDir is commented out, it will use the default system tmpdir location
[1805]14WorkingDirectory=/tmp/
15XmlStarlet=xmlstarlet
[11055]16Niceness=10
[4554]17Pngcrush=pngcrush
[7250]18Optipng=optipng
[5588]19Subversion=svn
[3192]20
[7250]21## PNG optimizer to use, "optipng" and "pngcrush" currently supported.
22PngOptimizer=pngcrush
23
[5794]24# Set the timeout when downloading files (in seconds)
25DownloadTimeout=1800
[3191]26
[10542]27# APIServers and XAPIServers define the servers to use to download OSM datta from.
28# APIServers are used for standard map downloads and XAPIServers are used for downloads
29# with the specification of predicates.
30# The actual download URLs need to be defined by API_<NAME> and XAPI_<NAME> settings.
[19086]31# Currently defined servers are API, TRAPI, ROMA and XAPI for APIServers and XAPI for XAPIServers.
32#APIServers = API,TRAPI,ROMA
[10542]33#XAPIServers = XAPI
34
[19087]35# Threading Options
36# Cores=n, is the number of the pysical existing cpu cores in ur system
37# normal start the client pro n, 1 renderer and 1 png optimizer thread
38# MaxMemory=n, n is in KB 1000=1GB
39# this is only a helper option and have a effect of paralel running rederer on big osm files (experimental)
40Cores=1
41MaxMemory=1000
42
[9976]43# Hand back render requests that have a tileset on a server bigger than
44# MaxTilesetComplexity. Useful if you do not have much RAM and inkscape
45# crashes. The biggest tileset is about 31000000, so playing with values
46# around 20000000 will help you. A setting of 0 disables the mechanism.
47MaxTilesetComplexity = 0
48
[10981]49# Machines with relatively small memory can encounter problems when rendering
50# complex tilesets.  If Inkscape fails with error messages on high zoom levels
51# indicating a memory issue, try to set RenderStripes to a positive value
52# The value of RenderStripes is determining from which zoom level below the
53# highest on the SVG file will be rendered in stripes.  E.g. a value of 5 means
54# that the 5th zoom level below the top level (normally 12) is to be rendered in
55# stripes.  This would be z17 on a standard tileset.  A value of 5 should be
56# sufficient in most cases.  Reducing that value increases the number of Inkscape
57# calls.  A value of 0 disables striped rendering.  This is the default.
58#RenderStripes = 0
[2083]59
[10981]60
[3227]61## Upload settings
62
63# if set to 0 the zip files will get renamed to zip_uploaded after upload.
[9512]64DeleteZipFilesAfterUpload=1
[1805]65
[6004]66# set UploadToDirectory to 1 to enable uploading to a common upload
67# directory from which one central client can handle all the uploading
68UploadToDirectory=0
69UploadTargetDirectory=/set/this/to/your/upload/directory
70
[10473]71# Recommended setting 1/2 your kbyte/s upstream of your uploader to the tah server
72# Recommended maximum setting: 1.5 times your kbyte/s upstream of your uploader
73UploadToDirectoryMaxQueue = 20
74
[3227]75## Beziercurve hinting
76NoBezier=0  # Set to 1 if beziercurvehinting causes errors.
[2239]77
[5990]78# If set to 1, make a copy of the data file for later debugging purposes
79KeepDataFile=0
80
[11055]81# What rasterizer to use.
82# Set to Inkscape, Batik or BatikAgent
83Rasterizer=Inkscape
[5412]84
[13547]85# Set the maximum heap size for the java virtual machine. Use 'M' for megabytes, 'G' for gigabytes.
86# If nothing is specified then a hard-coded default of 512M is used.
87# The Java process will use memory other than heap, so don't set to values equal or greater your actual RAM.
88# Note1: In the future this setting will be used for all calls to java
89# Note2: on 32bit platforms this is limited to 1.5 GiB (1536M)
90#JavaHeapSize=1536M
91
[5587]92# Set to the maximum JVM size to pass to the -Xmx parameter when running the
93# rasterizer. The maximum size depends on the OS and the available memory.
[5464]94# For 32bit Systems it is 1536M (1.5GiB)
[5587]95# Only used for Batik jar
[5464]96BatikJVMSize=1536M
[5412]97
[10167]98
99# If set to 1 or greater, it will enable forking to render several zoom levels to SVG simultanously
100# Fork = n  -> use 2*n parallel processes for rendering to svg
[5617]101Fork=0
[5653]102
[5686]103# make the client upload in the background if set to 1
104ForkForUpload=1
105
[5794]106# Maxdepth for xmlstarlet, reduce if you run into problems with memory,
107# increase if you get "tile too complex" errors.
108XmlStarletMaxDepth=20000
[6730]109
110# This feature is experimental and currently linux only. Don't use if you are
111# using inkscape with the same username outside tiles@home.
112# Set to 1 if you want to t@h to try and autobackup and -restore your inkscape
113# preferences file
114AutoResetInkscapePrefs=0
[7042]115
116# Set this to 1 if you want to clear the stopfile.txt on program start.
117# may unintentionally clear stopfile.txt when (accidentally) running 2 instances
118AutoResetStopfile=0
[8262]119
120# Set this to 1 if you want to have som logs dump in ProcessLogFile
121ProcessLog=0
122ProcessLogFile="tah-process.log"
[9716]123
124
125## Verbosity: changing this makes the client report different actions more or
126## less verbosely.
127#
128# Verbose=0  almost like "quiet" on other programs, just output wether it's
129#            getting a request, preprocessing, rendering or uploading, no
130#            progress inside a tileset (%ages) or on uploading zips.
131# Verbose=3  show progress inside a tileset and on upload, but not the single
132#            steps while rendering
133# Verbose=6  show everything like it was before r9700, this is the default
134# Verbose=10 behaves like Verbose=1 before r9700, adding a newline after
135#            each message
136Verbose=6
137
[13108]138# DateTimeString allows you to prepend client log messages with a time stamp. Default off.
139# %H - hours
140# %M - minutes
141# %S - seconds
142# %d - days
143# %m - months
144# %y - 2-digit year
145# %Y - 4-digit year
146#DateTimeString = %d.%m.%Y - %H:%M:%S
Note: See TracBrowser for help on using the repository browser.