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

I've been using open street maps for a while on our own server. The installation guides have been very easy to follow and generally the system has been working really well. We recently (~2-3 months ago) upgraded with a fresh install to update our maps and update the server to Ubuntu 20.04 using instructions here:

https://switch2osm.org/serving-tiles/manually-building-a-tile-server-20-04-lts/

As usual the installation was easy and the system was up and running importing data (dedicated Ec2 instance). After the import the system seemed to be working well.

However about every 6-12 hours we find that something in the system causes the tile rendering to start to fail, resulting in 404's on the calls to the tiles that haven't been rendered before.

The previous version we were running (about 18-24 months old) had this issue occasionally, we found by restarting the process roughly daily, the problem was never an issue. However in this latest installation, the restart of apache and rendered doesn't recover the process of tile rendering.

In the logs I can see lines like this

May  5 22:35:21 renderd[39527]: DEBUG: Connection 1, fd 37 closed, now 2 left
May  5 22:35:21 DEBUG: Got incoming request with protocol version 2
May  5 22:34:26 renderd[39527]: DEBUG: Got command Dirty fd(36) xml(ajt), z(18), x(241694), y(151967), mime(image/png), options()
May  5 22:34:26 renderd[39527]: DEBUG: Sending NotDone response(4)

I haven't had much luck finding logs that provide a clear error. The only thing that seems to help is to restart the whole server, after which it redneres fine for another 6-12 hours before failing again.

So 2 questions:

  • How can I find logs that indicate what's wrong to try and resolve this issue?
  • How should I 'restart' the render process to ensure it starts working again (restarting the whole server should be unnecessary)

asked 06 May '21, 00:01

Brian%20WM's gravatar image

Brian WM
11112
accept rate: 0%

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

question asked: 06 May '21, 00:01

question was seen: 931 times

last updated: 06 May '21, 00:01

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