> > I am having issues rendering tiles from Mapnik for an OSM world map
<br />> > tile server I am creating. I am using Mapnik 0.7.1 on Windows Server
<br />> > 2008 1TB Raid5.
<br />> > When I use generate_tiles.py everything starts out ok but then after a
<br />> > few minutes it keeps crashing.
<br />> >
<br />> > Here is the command line output:
<br />> >
<br />> > Exception in thread Thread-3:
<br />> > Traceback (most recent call last):
<br />> >   File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner
<br />> >     self.run()
<br />> >   File "C:\Python25\lib\threading.py", line 446, in run
<br />> >     self.__target(*self.__args, **self.__kwargs)
<br />> >   File "C:\mapnik-0.7.1\generate_tiles_planet.py", line 109, in loop
<br />> >     self.render_tile(tile_uri, x, y, z)
<br />> >   File "C:\mapnik-0.7.1\generate_tiles_planet.py", line 91, in render_tile
<br />> >     mapnik.render(self.m, im)
<br />> > RuntimeError: PSQL error
<br />> > Full sql was: 'SELECT AsBinary("way") AS geom from
<br />> >       (select way from planet_osm_line where route='ferry' ) as routes
<br />> >        WHERE "way" && SetSRID('BOX3D(1721973.37320845
<br />> > -8609866.866042253,2348145.508920615 -7983694.730330086)'::box3d,
<br />> > 900913)'
<br />> > Any ideas?
<br />
<br />> I think multi-threading problems on Windows have been reported before
<br />> but no one has been in a position to debug the exact cause.
<br />> I recently received a modified version of the generate_tiles.py script
<br />> contributed by Bertrand Gervais which uses the python multiprocess
<br />> module which should avoid any threading issues. I have just added this
<br />> into SVN:
<br />> http://trac.openstreetmap.org/browser/applications/rendering/mapnik/generate_tiles_multiprocess.py
<br />> 
<br />> Could you give this a try?
<br />> 
<br />>     Jon
<br />
<br />
<br />Thanks Jon. I have been rendering tiles now for the past hour or so with no interuption. It seems that after I got into zoom level 8 or so, the crashing ceased. However, as you have seen in my other thread regarding my OSM map label nonsense, I will inevitably have to recreate my tiles once I figure out why my non english letters are coming out wrong. When I do, I will love to try the generate_tiles_multiprocess.py. 
<br />
<br />Matt
<br />Matt