To keep session data, you will have to keep a copy of the open sessions during restart.

I have not tried to do this, but you might be able to make a file copy of the "Session" folder and files before the restart,
and copy it back in after.

If the server stops responding, you will not be able to query it for open sessions, so I think the above approach is pretty much the only way.

Regards, Kenneth Skovhede, GEOGRAF A/S



G.E.O.-Consulting / Hans Mörschell skrev:

Hello,

we are using MGOS 2.0.1 / IIS7 / .NET whith an asp solution and the ajax viewer. We have similar errors when using raster images (GDAL , MrSID and Tiff mages), I think these problems where already discussed a little time ago, but as far as I have seen there are no solution yet ???

At the moment we use a little monitoring program written in VB to check every 30 seconds if mgserver is responding using a simple test layout.

Unfortunately restart of mgserver results in loss of session data so this is not a perfect solution. I would be very interested in some other ideas how to restart mgserver without loosing all user data, are there any suggestions ??

Thanks,

Hans Mörschell

------------------------------------------------------------------------

*Von:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *Im Auftrag von *Andy Morsell
*Gesendet:* Freitag, 18. Juli 2008 19:32
*An:* 'MapGuide Users Mail List'
*Betreff:* [mapguide-users] 2.0.1 / IIS / .NET instability?

Hi All,

I migrated my public demo server to 2.0.1 a few weeks ago. Since then, I have found MapGuide to be much more unstable than it had been previously. The service completely locks up (although appears started to Windows) and cannot be restarted using normal methods and PSKill is the only solution to restarting it. When looking at the server, I usually see an unhandled exception error dialog with mgserver.exe the faulting module. The one thing that is different now is that we're using a Fusion layout instead of a standard layout for a site that is regularly accessed. The Windows event logs don't yield many clues, but the MGOS error.log has many of these entries:

<2008-07-17T00:06:08>   Fusion Viewer   xxx.127.xxx.41  Anonymous

 Error: Invalid argument(s):

        The value cannot be less than or equal to zero.

 StackTrace:

- MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp

- MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\OpQueryFeatures.cpp

- MgServerRenderingService.QueryFeatures line 652 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp

- MgServerRenderingService.RenderForSelection line 1041 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp Invalid argument(s):

The value cannot be less than or equal to zero.

I know some folks were working on something to determine if the mgserver service had locked up and, if so, restart it. Was anybody successful in making something like this work? It's not fun to hit your map site only to find it not working.

Thanks,

Andy Morsell, P.E.

Spatial Integrators, Inc.

www.SpatialGIS.com

------------------------------------------------------------------------

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to