[mapguide-internals] Tile Cache Problems

Trevor Wekel trevor.wekel at autodesk.com
Wed Apr 2 11:59:27 EDT 2008


Hi Zac,

I think that would be an appropriate enhancement to the error message.  Since the session identifier has already been given, there should be very little security risk in passing back "known" information.

Can you add a trac ticket for it?

Thanks,
Trevor

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: Tuesday, April 01, 2008 7:06 PM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] Tile Cache Problems

>
>  When the Fusion or Ajax clients request tiles for the map, you may end up seeing the file IO error message when the removed tiles are accessed.  Are there any other errors about invalid sessions in the log file?

yep, there were some  Error: Session has expired or is invalid. Please
log in again.

Do you think it would be useful to add the session id to this error message?

>
>  Thanks,
>  Trevor
>
>  ________________________________
>
>  I have been having a lot of trouble with the tile service recently,
>
>  lots of file io errors
>
>  against sessions from studio.
>
>
>
>  As sessions don't persist when the server is restarted, shouldn't all
>
>  the sessions folders under
>
>  the tile cache be cleared when the server restarts?
>
>
>
>  I am also seeing lots of errors along the lines of
>
>
>
>  <2008-03-27T14:50:03>                 Administrator
>
>   Error: A file IO exception occurred: C:/Program
>
>  Files/MapGuideOpenSource2.0/Server/Repositories/TileCache/4a4f143a-0000-1000-8000-00188b8b4aed_en_7F0000010B060B050B04_MapDefinition0/S29/BASE
>
>  - 0-35000000/R0/C0/0_1.png
>
>   StackTrace:
>
>   - MgTileServiceHandler.ProcessOperation line 83 file
>
>  d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\tile\TileServiceHandler.cpp
>
>   - MgOpGetTile.Execute line 150 file
>
>  d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\tile\OpGetTile.cpp
>
>   - MgServerTileService.GetTile line 263 file
>
>  d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\tile\ServerTileService.cpp
>
>   - MgByteSink::ToFile line 245 file
>
>  d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\common\foundation\Data/ByteSink.cpp
>
>   - MgByteSink.ToFile line 220 file
>
>  d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\common\foundation\Data/ByteSink.cpp        A
>
>  file IO exception occurred: C:/Program
>
>  Files/MapGuideOpenSource2.0/Server/Repositories/TileCache/4a4f143a-0000-1000-8000-00188b8b4aed_en_7F0000010B060B050B04_MapDefinition0/S29/BASE
>
>  - 0-35000000/R0/C0/0_1.png
>
>
>
>  where the 4a4f143a-0000-1000-8000-00188b8b4aed_en_7F0000010B060B050B04_MapDefinition0
>
>  directory doesn't exist
>
>
>
>  --
>
>  Zac Spitzer -
>
>  http://zacster.blogspot.com (My Blog)
>
>  +61 405 847 168
>
>  _______________________________________________
>  mapguide-internals mailing list
>  mapguide-internals at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list