<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18372"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>After two weeks of working on querying vector layers displayed by a tileindex I have still not made any progress.&nbsp; I have tried every variation of layer definition including connectiontype ogr.&nbsp; I have updated my gdal, ogr libraries and have tested on MapServer 565 and 601 both.&nbsp; I have tried different shapefiles and&nbsp;different shapefile&nbsp;combinations both with and with .qix files.&nbsp; I've done this in the past with great success on MapServer 410 running on a red hat box.&nbsp; We are now running in production, MapServer 565 on SUSE 10 and I'm starting to wonder if that isn't the problem.&nbsp; As I said before the query results seem to be random.&nbsp; Sometimes successful but most of the time I get an "Internal Server Error".&nbsp; Below is the MapServer Error Log file for both.&nbsp; I am out of ideas and any help or insight is much appreciated.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Internal Server Error</DIV>
<DIV>&nbsp;</DIV>
<DIV>[Tue Nov 15 15:21:23 2011].248360 msDrawMap(): Layer 0 (fotest), 0.007s<BR>[Tue Nov 15 15:21:23 2011].248891 msDrawMap(): Layer 1 (fotest), 0.000s<BR>[Tue Nov 15 15:21:23 2011].270075 msDrawMap(): Drawing Label Cache, 0.003s<BR>[Tue Nov 15 15:21:23 2011].270088 msDrawMap() total time: 0.030s<BR>[Tue Nov 15 15:21:23 2011].331671 msSaveImage() total time: 0.062s<BR>[Tue Nov 15 15:21:23 2011].335688 msSaveImage() total time: 0.002s<BR>[Tue Nov 15 15:21:23 2011].360078 msSaveImage() total time: 0.021s<BR>[Tue Nov 15 15:21:23 2011].361651 mapserv request processing time (loadmap not incl.): 0.122s<BR>[Tue Nov 15 15:21:23 2011].361661 msFreeMap(): freeing map at 0x668900.<BR>[Tue Nov 15 15:21:23 2011].362122 freeLayer(): freeing layer at 0x670e10.<BR>[Tue Nov 15 15:21:28 2011].104416 freeLayer(): freeing layer at 0x7fff030e0ad0.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Successful Query</DIV>
<DIV>&nbsp;</DIV>
<DIV>[Tue Nov 15 15:22:22 2011].104410 msDrawMap(): Layer 0 (fotest), 0.007s<BR>[Tue Nov 15 15:22:22 2011].104949 msDrawMap(): Layer 1 (fotest), 0.000s<BR>[Tue Nov 15 15:22:22 2011].125857 msDrawMap(): Drawing Label Cache, 0.003s<BR>[Tue Nov 15 15:22:22 2011].125869 msDrawMap() total time: 0.031s<BR>[Tue Nov 15 15:22:22 2011].184217 msSaveImage() total time: 0.058s<BR>[Tue Nov 15 15:22:22 2011].188075 msSaveImage() total time: 0.002s<BR>[Tue Nov 15 15:22:22 2011].212534 msSaveImage() total time: 0.022s<BR>[Tue Nov 15 15:22:22 2011].214087 mapserv request processing time (loadmap not incl.): 0.119s<BR>[Tue Nov 15 15:22:22 2011].214097 msFreeMap(): freeing map at 0x668900.<BR>[Tue Nov 15 15:22:22 2011].214668 freeLayer(): freeing layer at 0x670e10.<BR>[Tue Nov 15 15:22:25 2011].736672 freeLayer(): freeing layer at 0x7fff3e289d90.<BR>[Tue Nov 15 15:22:25 2011].737327 msDrawMap(): Layer 0 (fotest), 0.005s<BR>[Tue Nov 15 15:22:25 2011].737607 msDrawMap(): Layer 1 (fotest), 0.000s<BR>[Tue Nov 15 15:22:25 2011].758983 msDrawMap(): Drawing Label Cache, 0.003s<BR>[Tue Nov 15 15:22:25 2011].758996 msDrawMap() total time: 0.028s<BR>[Tue Nov 15 15:22:25 2011].778785 msSaveImage() total time: 0.020s<BR>[Tue Nov 15 15:22:25 2011].782604 msSaveImage() total time: 0.002s<BR>[Tue Nov 15 15:22:25 2011].806905 msSaveImage() total time: 0.021s<BR>[Tue Nov 15 15:22:25 2011].807766 mapserv request processing time (loadmap not incl.): 0.077s<BR>[Tue Nov 15 15:22:25 2011].807777 msFreeMap(): freeing map at 0x668e00.<BR>[Tue Nov 15 15:22:25 2011].808246 freeLayer(): freeing layer at 0x671310.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>EW</DIV></BODY></HTML>