Commit Graph

427 Commits

Author SHA1 Message Date
209dad14a5 renderd: remove munin scripts from debian conffiles
Fixes bug #3001
2011-07-16 23:07:23 +00:00
1a481afe03 Compile fix my previous checkin 2011-07-16 23:01:39 +00:00
82f097736e mod_tile: fiddle with debug log levels to try and make it easier to spot misconfigurations of the tileserver 2011-07-16 22:58:19 +00:00
76ae48d93d render_list: attempt to adjust the stats for the QMAX tiles which are likely in the queue 2011-07-02 20:22:55 +00:00
6bb5f5cfce render_list: display message when the tile zoom is out of range 2011-07-02 19:36:23 +00:00
63612ebb94 render_list: add -f and -l into getopt list 2011-07-02 19:01:11 +00:00
1c370cf4a1 mod_tile: Ignore multiple threads attempting to create the same directory. Fixes ticket 3772. 2011-05-18 22:05:08 +00:00
0135427519 mod_tile: prevent fd leak in some error paths 2011-04-03 17:20:30 +00:00
9fe9e22b2c mod_tile: Catch errors from render threads to exit cleanly 2011-04-03 16:58:15 +00:00
4c10a2baa6 mod_tile: turn on exceptions for file errors when writing tiles 2011-04-03 15:28:06 +00:00
5207b5dfe9 mod_tile: explicitly link renderd against pthread library 2011-04-03 15:24:55 +00:00
194ce4fa70 Fix spelling of "throttling" in mod_tile. This will require a change in your config file if you have been unsing the old, mis-spelled version. 2011-01-19 13:23:52 +00:00
33283a6c97 make it use MAX_ZOOM define. Use long long to prevent overflow. Tested with z19 2011-01-16 23:24:56 +00:00
57f4d0f7d6 catch error in case changing time stamp fails 2011-01-16 20:36:30 +00:00
290dec8078 Fix bug introduced in r21645, which caused render_expire to never actually rerender anything. Noted on the dev ML. 2010-10-20 23:12:19 +00:00
e8bd4b676f make sure to run ranlib over the libiniparser.a - allows compile on os x 2010-10-20 22:16:16 +00:00
24588a89cd [mod_tile] Update field names so they no longer start with a number. Without this fix the charts seem to break in newer versions of munin
r22700 appears to have missed out the fix for graphs mod_tile_zoom and renderd_zoom
2010-09-30 21:33:30 +00:00
a120b00289 mod_tile: move load average check to the render-threads to prevent them emptying the queue while overloaded 2010-09-29 20:34:16 +00:00
28590890da mod_tile: Add extra header file and wrap a couple of defines to fix compilation errors & warnings 2010-09-27 13:42:37 +00:00
79aa013e0b mod_tile: replace all static max_zoom values of 18 with MAX_ZOOM constant. Patch derived from the work of the Geopard Team, especially Jonathan-David SCHRODER <jonathan.schroder@gmail.com> 2010-09-10 23:55:42 +00:00
e86b59c5d0 option is called MissingTimeout not PriorityTimeout 2010-09-07 13:37:12 +00:00
02a0afa883 [renderd] Add a munin graph to show how much time renderd spends rendering tiles of various zoom levels
With this graph, it is hopefully possible to see where (i.e. towards which zoomlevel) most of the rendering time goes,
and thus might give some indication where optimisations in the style sheet are best focused at, if performance is an issue.
It useses purely wallclock time and thus does not account for individual resources.
2010-09-01 20:19:26 +00:00
665f81d0b7 fix tab/space syntax problem 2010-08-31 03:08:11 +00:00
9781bd9ecd fixup mapnik2 support in gen_tile.cpp 2010-08-30 23:38:39 +00:00
641b0e5a22 restore lib64 path accidentally removed in r22898 - many default mapnik installs go into this directory 2010-08-30 23:12:02 +00:00
f90a9ed04d better support for compiling mod_tile on osx 2010-08-30 22:58:36 +00:00
3b6a927cd7 Add a tile traffic shaping / throtteling feature to mod_tile
Tile scrapers can often overburden the resources available to a tileserver by requesting large areas at high zooms.
Rather than banning these users from the tileserver, this patch adds the ability to mod_tile to automatically throttle
these clients to acceptable limits.

It uses a token bucket implementation with configurable bucket size and top up rate. Accounting is done in a hashtable
with a small possibility of ip hashtable clashes

The code also supports whitelisting a few ip addresses, such as proxy servers or CDN nodes, although at the moment
there is no way to configure these ip's other than through adding them to the code and recompiling.
2010-08-25 23:48:40 +00:00
c5be3eec28 mod_tile: Update field names so they no longer start with a number. Without this fix the charts seem to break in newer versions of munin 2010-08-19 21:03:47 +00:00
fef36c36fb mod_tile: a munin script for graphing the freshness of the data from the replication import process 2010-08-19 20:56:21 +00:00
db16cb0faf fix a few typos in mod_tile readme 2010-08-10 19:13:30 +00:00
aa2aaa6ecb mod_tile: skip building libiniparser.so which we don't need 2010-08-10 19:08:33 +00:00
e55edcd706 mod_tile: Clean up what happens when a request comes in for a layer which failed to load 2010-07-07 21:33:38 +00:00
7a2e9c0d9e mod_tile: Catch and report config_error exceptions from Mapnik while loading the map style 2010-07-07 21:00:48 +00:00
8ad0a68cdb Do not spawn render threads when we're not actually going to rerender anything. 2010-06-11 09:59:52 +00:00
442cbf9805 Typos 2010-06-08 20:19:03 +00:00
b75db46f56 More optimized render_expired, with stats. Completely forgot to commit this months ago. 2010-06-08 20:16:02 +00:00
ef4c398358 Default statistics file to a null pointer, not the string "NULL". 2010-05-10 09:51:52 +00:00
7a96c5e2ae Splitt out timeouts in mod_tile for standard and priority rendering
Allow for a longer timeout on requests that are missing and thus would cause a 404,
than for tiles that would just be served out of date
2010-05-02 16:35:19 +00:00
b399e7329b depend on either renderd or tirex-master 2010-03-15 11:26:20 +00:00
3e592ac801 [mod_tile] Add a config parameter to overwrite caching-header heuristics based on hostname
This allows to have hostname aliases (e.g. cache.tile.openstreetmap.org) to become more (or less)
cache friendly, to tune the trade off between up-to-dateness and minimizing network resources
2010-03-06 22:03:49 +00:00
d53c3cd447 [mod_tile renderd munin] report mod_tile / renderd usage by zoom level via munin 2010-03-05 18:35:10 +00:00
40cb10f28c Add a "touch-from" option to render_expired
In this mode it changes the timestamp of a metatile into the past to mark it as dirty
2010-02-12 23:51:51 +00:00
489d744858 check mapnik version, compatibility with 0.8 2010-01-15 16:56:46 +00:00
74e9527366 +render_expired... ANOTHER way to handle tile expiry. 2009-12-15 22:37:42 +00:00
5a43277018 deb package 0.3 0.3 2009-12-15 22:29:22 +00:00
0d5f48045f Add directory creation into process_meta() 2009-11-25 22:35:00 +00:00
69f5beaf27 Fixup non-DITRECTORY_HASH mode 2009-11-25 21:54:19 +00:00
1c9faed72f flag munin plugins for renderd as conf files because they may contain installation specific paths 2009-11-25 00:32:19 +00:00
d3c56c0251 make max load configurable 2009-11-23 00:10:32 +00:00
f3212b418e add --force parameter to override planet_import_complete timestamp check 2009-11-22 23:58:03 +00:00