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

Built server following Switch2OSM docs for Ubuntu 22.04 Server sitting on Hyper-V Windows 2012 r2 1.8 4core 78 gig memory 2tb WD black SSD NVMe connected through 16X PCI Lane card. Full server is dedicated to OSM. Nothing else is running on it. Processor response is typically 5%

Issue Successfully installed and pre-renderd zoom levels 0-12. When requesting those map tiles, everything works correctly. However when we request, higher zoom levels that are not pre-renderd, we constantly get 404 not found errors. Any help would be greatly appreciated.

Oct 13 00:42:37 maps-live renderd[743]: START TILE s2o 17 23376-23383 49224-49231, age 37.16 days
Oct 13 00:42:37 maps-live renderd[743]: Rendering projected coordinates 17 23376 49224 -> -12890340.450019|4984917.236649 -12887894.465114|4987363.221554 to a 8 x 8 tile
Oct 13 00:42:37 maps-live renderd[743]: Data is available now on 1 fds
Oct 13 00:42:37 maps-live renderd[743]: Got incoming connection, fd 11, number 0, total conns 1, total slots 6
Oct 13 00:42:37 maps-live renderd[743]: Data is available now on 1 fds
Oct 13 00:42:37 maps-live renderd[743]: Got incoming request with protocol version 2
Oct 13 00:42:37 maps-live renderd[743]: Got command Dirty fd(11) xml(s2o), z(17), x(23377), y(49223), mime(image/png), options()
Oct 13 00:42:37 maps-live renderd[743]: Sending NotDone response(4)
Oct 13 00:42:37 maps-live renderd[743]: Sending render cmd(4 s2o 17/23377/49223) with protocol version 2 to fd 11
Oct 13 00:42:37 maps-live renderd[743]: Data is available now on 1 fds
Oct 13 00:42:37 maps-live renderd[743]: Failed to read cmd on fd 11
Oct 13 00:42:37 maps-live renderd[743]: Connection 0, fd 11 closed, now 0 left, total slots 6
Oct 13 00:42:37 maps-live renderd[743]: START TILE s2o 17 23376-23383 49216-49223, age 37.16 days
Oct 13 00:42:37 maps-live renderd[743]: Rendering projected coordinates 17 23376 49216 -> -12890340.450019|4987363.221554 -12887894.465114|4989809.206459 to a 8 x 8 tile
Oct 13 00:42:37 maps-live renderd[743]: DONE TILE s2o 16 11688-11695 24608-24615 in 3.445 seconds
Oct 13 00:42:37 maps-live renderd[743]: Creating and writing a metatile to /var/cache/renderd/tiles/s2o/16/0/38/208/162/128.meta
Oct 13 00:42:38 maps-live renderd[743]: DONE TILE s2o 17 23376-23383 49224-49231 in 1.523 seconds
Oct 13 00:42:38 maps-live renderd[743]: Creating and writing a metatile to /var/cache/renderd/tiles/s2o/17/0/92/176/84/8.meta
Oct 13 00:42:39 maps-live renderd[743]: DONE TILE s2o 17 23376-23383 49216-49223 in 1.761 seconds
Oct 13 00:42:39 maps-live renderd[743]: Creating and writing a metatile to /var/cache/renderd/tiles/s2o/17/0/92/176/84/0.meta
Oct 13 00:42:45 maps-live hv_kvp_daemon[2161]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
Oct 13 00:42:45 maps-live hv_kvp_daemon[2163]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
Oct 13 00:42:45 maps-live hv_kvp_daemon[2171]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
Oct 13 00:42:45 maps-live hv_kvp_daemon[2173]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
Oct 13 00:42:45 maps-live systemd[1]: Starting Download data for packages that failed at package install time...
Oct 13 00:42:46 maps-live systemd[1]: update-notifier-download.service: Deactivated successfully.
Oct 13 00:42:46 maps-live systemd[1]: Finished Download data for packages that failed at package install time.
Oct 13 00:42:47 maps-live dbus-daemon[730]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.11' (uid=0 pid=748 comm="/usr/lib/snapd/snapd " label="unconfined")
Oct 13 00:42:47 maps-live systemd[1]: Starting Time & Date Service...
Oct 13 00:42:47 maps-live dbus-daemon[730]: [system] Successfully activated service 'org.freedesktop.timedate1'-v wont come out of saved state
Oct 13 00:42:47 maps-live systemd[1]: Started Time & Date Service.
Oct 13 00:42:53 maps-live snapd[748]: storehelpers.go:773: cannot refresh: snap has no updates available: "core20", "lxd", "snapd"
Oct 13 00:42:55 maps-live hv_kvp_daemon[2186]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
Oct 13 00:42:55 maps-live hv_kvp_daemon[2188]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
Oct 13 00:42:55 maps-live hv_kvp_daemon[2196]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
Oct 13 00:42:55 maps-live hv_kvp_daemon[2198]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
Oct 13 00:42:57 maps-live renderd[743]: DONE TILE s2o 3 0-7 0-7 in 235.340 seconds
Oct 13 00:42:57 maps-live renderd[743]: Creating and writing a metatile to /var/cache/renderd/tiles/s2o/3/0/0/0/0/0.meta

asked 13 Oct '23, 23:36

Jagjaeger's gravatar image

Jagjaeger
51113
accept rate: 100%


I think we resolved the issue. Ended up making adjustments to the renderd.conf in conf.available and coping it over to conf.enabled. I think the biggest issue was the ModTileMaxLoadMissing. Changing it 30 seems to give it enough time. We noticed that the 404 was getting thrown about every 5 seconds which was inline for the default setting of 5.

Thank you everyone for the help.

permanent link

answered 14 Oct '23, 21:41

Jagjaeger's gravatar image

Jagjaeger
51113
accept rate: 100%

I've seen "Sending NotDone response" when:

  • renderd.conf was misconfigured (in my example I had TILEDIR pointing to somewhere that did not exist)
  • renderd had died, perhaps out of memory
  • renderd was unhappy because proj4 was missing

Of those, if you've pre-rendered tiles successfully it's unlikely to be the first or the last, so I'd restart renderd and apache2 and see if that fixes it. If it does, watch for out of memory issues or log entries suggesting that renderd has died for some reason.

permanent link

answered 13 Oct '23, 23:50

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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:

×105
×2
×1

question asked: 13 Oct '23, 23:36

question was seen: 940 times

last updated: 14 Oct '23, 21:41

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