As you can see on http://munin.openstreetmap.org/openstreetmap/yevaud.openstreetmap/renderd_queue.html the rendering queue always peaks at 1k entries. Why is that and what happens with further submissions to the queue if it is already on limit?

asked 19 Mar '11, 13:56

bot47's gravatar image

bot47
2215710
accept rate: 0%

edited 25 Mar '11, 11:51

TomH's gravatar image

TomH ♦♦
3.2k83540


It's a compile-time limit built into renderd - the dirty queue has the 1k limit, and the request and priority-request queues have similar but much shorter limits.

The idea is that renderd can only render so many metatiles each second, and after a while the backlog can become so large that it's not really worth tracking any more tiles than are what is in the queue already.

If you request an old tile when the dirty queue is full, it's not added to the list that needs re-rendering. However, when the backlog is worked through and is no longer full, any further requests for the old tile triggers it being added to the queue.

permanent link

answered 20 Mar '11, 10:54

Andy%20Allan's gravatar image

Andy Allan
11.8k23121143
accept rate: 30%

This means that if the queue is full some tiles will never get rendered?

(21 Mar '11, 08:15) ALE

"never" is the wrong word - if the queue is full it'll be added to the queue the next time it is viewed (so long as the queue isn't full at that point). That's what the last part of my answer says.

(21 Mar '11, 21:24) Andy Allan

If it happens to you that I tile is not rendered properly, e.g. http://tile.openstreetmap.org/7/63/42.png was, you can check its status by appending /status to the URI or /dirty to force rerendering. E.g. http://tile.openstreetmap.org/7/63/42.png/dirty

(25 Mar '11, 11:36) bot47
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×380
×224
×80
×2

question asked: 19 Mar '11, 13:56

question was seen: 4,639 times

last updated: 25 Mar '11, 11:51

powered by OSQA