<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I finally figured out the issue, it ended up being a boundary file that had the wrong permissions, so all is good and appears to be working. One issue that remains is my tile size. I'm using 64x64 and this makes zoom level zero not be the entire world. The only other issue I was curious about was performance with osm data. I'm worried about the xml file being parsed too frequently. Does&nbsp; anyone have experience with this? Is my concern valid?<br>-Matt<br><br>--- On <b>Thu, 12/25/08, Matthew Rushton <i>&lt;mrushton7@yahoo.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Matthew Rushton &lt;mrushton7@yahoo.com&gt;<br>Subject: <br>To: tilecache@openlayers.org<br>Date: Thursday, December 25, 2008, 10:09 PM<br><br><div id="yiv1124864974"><table border="0" cellpadding="0"
 cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top"><pre>I'm trying to set up TileCache and running into a few problems with likely simple solutions. I'm using Mapnik to render the tiles to a disk cache. I previously was using another tile server, so I know mapnik is working great. This is the error I'm getting below. I know it's a problem with loading the osm.xml file I just don't know why. I've changed persmissions so it shouldn't be an issue. What sort of problem could this be? What do people generally keep the permissions of this file and others, including tiles, at. Thanks in advance.<br>-Matt <br><br>An error occurred<br><br>: failed opening file: Bad file descriptor<br>  File "/var/www/tilecache-2.04/TileCache/Service.py", line 224, in
 modPythonHandler<br>    host )<br>  File "/var/www/tilecache-2.04/TileCache/Service.py", line 208, in dispatchRequest<br>    return self.renderTile(tile,<br> params.has_key('FORCE'))<br>  File "/var/www/tilecache-2.04/TileCache/Service.py", line 138, in renderTile<br>    data = layer.render(tile)<br>  File "/var/www/tilecache-2.04/TileCache/Layer.py", line 437, in render<br>    return self.renderTile(tile)<br>  File "/var/www/tilecache-2.04/TileCache/Layers/Mapnik.py", line 40, in renderTile<br>    mapnik.load_map(m,self.mapfile)<br></pre></td></tr></tbody></table><br>

      </div></blockquote></td></tr></table><br>