NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am trying to build my own OpenStreetMap Server on - Ubuntu Server 12.04
I am following this instruction: http://www.slideshare.net/MarcHuang1/osm-installation-en

Everything is working quite fine and I can look map through web browser but there is some areas and zoom level which just don't render(they stay gray even after waiting long time).
At the same time renderd itself gives the following output:

renderd[2374]: DEBUG: Got incoming connection, fd 28, number 9
renderd[2374]: DEBUG: Got incoming connection, fd 29, number 10
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(28) xml(default), z(13), x(3931), y(3057), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(29) xml(default), z(13), x(3933), y(3057), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming connection, fd 30, number 11
renderd[2374]: DEBUG: Got incoming connection, fd 31, number 12
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(30) xml(default), z(13), x(3932), y(3056), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(31) xml(default), z(13), x(3932), y(3057), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming connection, fd 32, number 13
renderd[2374]: DEBUG: Got incoming connection, fd 33, number 14
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(32) xml(default), z(13), x(3931), y(3056), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(33) xml(default), z(13), x(3933), y(3056), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming connection, fd 34, number 15
renderd[2374]: DEBUG: Got incoming connection, fd 35, number 16
renderd[2374]: DEBUG: Got incoming connection, fd 36, number 17
renderd[2374]: DEBUG: Got incoming connection, fd 37, number 18
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(37) xml(default), z(13), x(3933), y(3055), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(36) xml(default), z(13), x(3931), y(3055), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(35) xml(default), z(13), x(3932), y(3058), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(34) xml(default), z(13), x(3932), y(3055), mime(image/png), options()
renderd[2374]: DEBUG: Connection 8, fd 28 closed, now 17 left
renderd[2374]: DEBUG: Connection 8, fd 29 closed, now 16 left
renderd[2374]: DEBUG: Got incoming connection, fd 28, number 17
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(28) xml(default), z(13), x(3933), y(3058), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming connection, fd 29, number 18
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(29) xml(default), z(13), x(3931), y(3058), mime(image/png), options()
renderd[2374]: DEBUG: Connection 8, fd 30 closed, now 17 left
renderd[2374]: DEBUG: Connection 8, fd 31 closed, now 16 left
renderd[2374]: DEBUG: Connection 9, fd 33 closed, now 15 left
renderd[2374]: DEBUG: Connection 8, fd 32 closed, now 14 left
renderd[2374]: DEBUG: Got incoming connection, fd 30, number 15
renderd[2374]: DEBUG: Got incoming connection, fd 31, number 16
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(31) xml(default), z(13), x(3934), y(3056), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(30) xml(default), z(13), x(3930), y(3056), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming connection, fd 32, number 17
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(32) xml(default), z(13), x(3930), y(3057), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming connection, fd 33, number 18
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(33) xml(default), z(13), x(3934), y(3057), mime(image/png), options()
renderd[2374]: DEBUG: Connection 11, fd 37 closed, now 17 left
renderd[2374]: DEBUG: Connection 10, fd 36 closed, now 16 left
renderd[2374]: DEBUG: Connection 9, fd 35 closed, now 15 left
renderd[2374]: DEBUG: Connection 8, fd 34 closed, now 14 left
renderd[2374]: DEBUG: Got incoming connection, fd 34, number 15
renderd[2374]: DEBUG: Got incoming connection, fd 35, number 16
renderd[2374]: DEBUG: Got incoming connection, fd 36, number 17
renderd[2374]: DEBUG: Got incoming connection, fd 37, number 18
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(35) xml(default), z(13), x(3934), y(3055), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(36) xml(default), z(13), x(3930), y(3058), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(37) xml(default), z(13), x(3934), y(3058), mime(image/png), options()
renderd[2374]: DEBUG: Got incoming request with protocol version 2
renderd[2374]: DEBUG: Got command RenderPrio fd(34) xml(default), z(13), x(3930), y(3055), mime(image/png), options()
renderd[2374]: DEBUG: Connection 8, fd 28 closed, now 17 left
renderd[2374]: DEBUG: Connection 8, fd 29 closed, now 16 left
renderd[2374]: DEBUG: Connection 9, fd 31 closed, now 15 left
renderd[2374]: DEBUG: Connection 9, fd 32 closed, now 14 left
renderd[2374]: DEBUG: Connection 8, fd 30 closed, now 13 left
renderd[2374]: DEBUG: Connection 8, fd 33 closed, now 12 left
renderd[2374]: DEBUG: Connection 9, fd 35 closed, now 11 left
renderd[2374]: DEBUG: Connection 9, fd 36 closed, now 10 left
renderd[2374]: DEBUG: Connection 9, fd 37 closed, now 9 left
renderd[2374]: DEBUG: Connection 8, fd 34 closed, now 8 left

From here it doesn't go any futher and map in webbrowser will be fully grey


I also tryed to Pre-render tiles form zoom levels 0 to 18 with the following command:
render_list --all --force --socket=/var/run/renderd/renderd.sock --min-zoom=0 --max-zoom=18

The output for this is: debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile Rendering client Starting 1 rendering threads Rendering all tiles from zoom 0 to zoom 18 Rendering all tiles for zoom 0 from (0, 0) to (0, 0) Rendering all tiles for zoom 1 from (0, 0) to (1, 1) Rendering all tiles for zoom 2 from (0, 0) to (3, 3) Rendering all tiles for zoom 3 from (0, 0) to (7, 7) Rendering all tiles for zoom 4 from (0, 0) to (15, 15) Rendering all tiles for zoom 5 from (0, 0) to (31, 31) Rendering all tiles for zoom 6 from (0, 0) to (63, 63)

It stops on zoom level 6 and don't go any futher even with two days waiting. Seems like something is stopping him to finish rendering but I don't know what.

asked 14 Apr '14, 18:25

hukko's gravatar image

hukko
26113
accept rate: 0%


The problem was that files in directory /var/run/renderd/ didn't have execution premission so I chmod the directory and it startert rendering.

permanent link

answered 27 Apr '14, 13:06

hukko's gravatar image

hukko
26113
accept rate: 0%

I have to ask the silly question: do you have enough disk space? I don't know if rendering needs /tmp for anything, but could it be running out of space? Or /var?

permanent link

answered 15 Apr '14, 19:53

Jack%20the%20Ripper's gravatar image

Jack the Ripper
2805715
accept rate: 12%

My linux server has 97GB xfs filesytem from which 79 GB is free.

(15 Apr '14, 21:22) hukko
1

That takes care of the space question, then.

Um. My basic other two thoughts are look in /var/log/messages (maybe tail -f it while your render is running), and maybe even /var/log/Xorg.0.log (or wherever Ubuntu is puting the Xorg log these days, I haven't kept up) and see if you notice any warnings or errors that seem relevant.

(15 Apr '14, 22:08) Jack the Ripper

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:

×440
×362
×105

question asked: 14 Apr '14, 18:25

question was seen: 6,369 times

last updated: 27 Apr '14, 13:06

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum