<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>It's ext4 - The total size is 250GB. <br>
</p>
<p>The renderd log looks fine after a service restart. Looking at
the pgsql log, I see that pretty much all of the queries end with
a "could not send data to client: Broken pipe". To me, that looks
like renderd is timing out and killing the connection between
itself and pgsql.<br>
</p>
<div class="moz-cite-prefix">On 2019-04-23 4:04 p.m., Chris wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f238fc35-4200-9240-c5f3-9807c927e3fc@crnewmedia.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="moz-forward-container">
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
Hi Stephen,<br>
<br>
if tiles don't render it could be a problem between renderd and
the postgres db.<br>
<br>
I would advise to restart renderd and look into syslog (grep
renderd) before trying to render. If you see sth. like: "map
failed to load", the reason could be db or file permissions, db
names, missing shapefiles by openstreetmap-carto not applied to
the db or even a missing mapnik xml file (or access
permissions).<br>
<br>
Also check the postgres log.<br>
<br>
Also remember that low zooms are really slow in rendering (use
render_list for those zoom <7).<br>
<br>
What's the size of your db on what kind of filesystem? My last
planet import had been more than 650gb on ext4.<br>
<br>
Cheers,<br>
<br>
Chris<br>
<br>
<br>
Am 23.04.2019 um 20:47 schrieb Stephen D:<br>
<blockquote type="cite">Hi,<br>
<br>
My tile server is not rendering tiles. I had it working with
Canada(imported w/o a flat file), but after dropping the
database and re-importing the whole planet(with a flat file)
it no longer works.<br>
<br>
The command I used to import was: osm2pgsql -d gis --create
--slimĀ -G --hstore --tag-transform-script
~/src/openstreetmap-carto/openstreetmap-carto.lua --flat-nodes
~/data/flatnodes.binĀ -C 6000 --drop --number-processes 8 -S
~/src/openstreetmap-carto/openstreetmap-carto.style
/home/stephen/planet-latest.osm.pbf<br>
<br>
When requesting a tile, this shows up in the log file:<br>
<br>
Apr 23 18:37:15 osm-tilemap renderd[1488]: DEBUG: Connection
0, fd 7 closed, now 0 left<br>
Apr 23 18:39:21 osm-tilemap renderd[1488]: DEBUG: Got incoming
connection, fd 7, number 1<br>
Apr 23 18:39:21 osm-tilemap renderd[1488]: DEBUG: Got incoming
request with protocol version 2<br>
Apr 23 18:39:21 osm-tilemap renderd[1488]: DEBUG: Got command
RenderPrio fd(7) xml(ajt), z(1), x(1), y(1), mime(image/png),
options()<br>
Apr 23 18:39:51 osm-tilemap renderd[1488]: DEBUG: Connection
0, fd 7 closed, now 0 left<br>
<br>
After 30 seconds it times out. No tiles appear in the cache
directory, even after several minutes. The CPU reaches 20% per
core for all cores, and disk usage is around 200MB/s read.
Both the CPU and disk are used by the postgresql process.<br>
<br>
I am using apache2, mod_tile, mapnik, and renderd.<br>
<br>
Thanks,<br>
<br>
Stephen<br>
<br>
<br>
_______________________________________________<br>
Tile-serving mailing list<br>
<a class="moz-txt-link-abbreviated"
href="mailto:Tile-serving@openstreetmap.org"
moz-do-not-send="true">Tile-serving@openstreetmap.org</a><br>
<a class="moz-txt-link-freetext"
href="https://lists.openstreetmap.org/listinfo/tile-serving"
moz-do-not-send="true">https://lists.openstreetmap.org/listinfo/tile-serving</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Tile-serving mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tile-serving@openstreetmap.org">Tile-serving@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/tile-serving">https://lists.openstreetmap.org/listinfo/tile-serving</a>
</pre>
</blockquote>
</body>
</html>