Opened 8 years ago

Closed 8 years ago

#3772 closed defect (fixed)

renderd crashes and possible solution

Reported by: tbabut@… Owned by: mapnik-team@…
Priority: critical Milestone:
Component: mapnik Version:
Keywords: mod_tile, renderd, crash, mapnik2, patch Cc:

Description

Hello,

with recent mod_tile version and mapnik2 the renderd is crashing sporadically on concurrent requests with the following messages:

renderd[4751]: DEBUG: Got command RenderBulk? fd(22) xml(default), z(9), x(32), y(176) renderd[4751]: DEBUG: Got command RenderBulk? fd(20) xml(default), z(9), x(32), y(184) renderd[4751]: DEBUG: Got command RenderBulk? fd(21) xml(default), z(9), x(32), y(192) renderd[4751]: DEBUG: Got command RenderBulk? fd(16) xml(default), z(9), x(32), y(200) renderd[4751]: DEBUG: Got command RenderBulk? fd(17) xml(default), z(9), x(32), y(208) /var/lib/mod_tile/default/9/0/0/0/37: File exists renderd[4751]: Received error when writing metatile to disk, requesting exit. terminate called after throwing an instance of 'std::runtime_error'

what(): dead reference!

The render daemon runs on Debian Squeeze 6.0 and the filesystem is XFS.

Please take a look at the following thread, too: http://forum.openstreetmap.org/viewtopic.php?id=12306

We have created a patch (attached to this ticket), that seems to resolve the problem.

Thanks in advance.

Kind Regards, Thomas Babut

Attachments (1)

mod_tile-110518.patch (662 bytes) - added by tbabut@… 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by tbabut@…

Attachment: mod_tile-110518.patch added

comment:1 Changed 8 years ago by jburgess777@…

Resolution: fixed
Status: newclosed

The problem was introduced when I previously tightened up some of the error checking.

Your fix looks good & I applied it in r26008 with a slightly tweaked comment.

Thanks.

Note: See TracTickets for help on using tickets.