> I am experiencing weird hangs of mapnik.

Sounds like:

http://trac.mapnik.org/ticket/253

which was fixed long ago (0.6.0). So, what may be happening is you are running 
Mapnik from apt packages or Mapnik from source that is (accidentally) linked to 
the apt installed AGG pre-this fix getting pushed to the package:

https://bugs.launchpad.net/ubuntu/+source/agg/+bug/344849 (thanks Andrii)

So, to debug I would run:

ldd /path/to/tirex.so (to see which libmapnik tirex is linked to)

then:

ldd /path/to/libmapnik.so (to check whether you see libagg_pic linking)

Then re-install Mapnik. Since you mention below you already did this then my 
hunch is that you have duplicate installations of Mapnik which you need to 
track down.

If nothing jumps out please post back the output of the 'ldd' commands above so 
I can pick through them.

Dane


> I have set up a rendering queue
> mod_tile -> tirex -> mapnik 0.7.1 on debian. Generally, it runs fine. But
> here are certain tiles where mapnik starts rendering and hangs using 100%
> CPU until the task is killed due to timeout. I am trying to find out why.
> 
> I don't think that there is a general problem with the XML as the rate of
> problems to successful renderings is about 1:1000. The problem is
> reproducible, it is always the same coordinates/zoom levels that will not
> render. The same area renders fine when called in python.
> 
> Now I have built a debug version of Mapnik 0.7.1 from source, but I cannot
> see any difference, no additional log output. So here my questions start.
> - Can I tell somehow whether the DEBUG=True worked and it actually is a
> debug version?
> - Where does mapnik log to by default?
> 
> thanks
>              Nop
> 
> -- 
> View this message in context: 
> http://gis.638310.n2.nabble.com/Debugging-mapnik-hangs-tp5557749p5557749.html
> Sent from the Mapnik Users mailing list archive at Nabble.com.
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to