|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
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 mapguide-users@... http://lists.osgeo.org/mailman/listinfo/mapguide-users |
|
|
AW: 2.0.1 / IIS / .NET instability?Hello, we are using MGOS 2.0.1 /
IIS7 / .NET whith an asp solution and the 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:
mapguide-users-bounces@...
[mailto:mapguide-users-bounces@...] Im Auftrag von Andy Morsell 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 mapguide-users@... http://lists.osgeo.org/mailman/listinfo/mapguide-users |
|
|
RE: 2.0.1 / IIS / .NET instability?Hi, Glad I’m not the only one experiencing
these problems…. Any chance that your VB monitoring program can be made
available to the group? Thanks, Andy From: mapguide-users-bounces@...
[mailto:mapguide-users-bounces@...] On Behalf Of G.E.O.-Consulting / Hans Mörschell 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: mapguide-users-bounces@...
[mailto:mapguide-users-bounces@...] Im Auftrag von Andy Morsell 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 mapguide-users@... http://lists.osgeo.org/mailman/listinfo/mapguide-users |
|
|
AW: 2.0.1 / IIS / .NET instability?Hallo, below the vb program and
the batch file we use, any suggestions for a better solutions are really
welcome thanks, Hans =================================== batch file for restarting
MGOS like this: netsh interface set interface LAN1 disable taskkill /F /FI "SERVICES eq MapGuideServer2.0" net stop W3SVC net stop pgsql-8.2 net stop MapGuideServer2.0 net start W3SVC net start pgsql-8.2 net start MapGuideServer2.0 netsh interface set interface LAN1 enable =================================== this batch file is
started by a little vb program (vb.net 2008): - create a form and put
the webbrowser control on it: Public Class frmMonitor Dim LogFileName As
String = Application.StartupPath & "\LOG\monitorlog.txt" Dim DocLoaded As
Boolean Private Sub
frmMonitor_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load Me.WindowState =
FormWindowState.Minimized If
System.IO.File.Exists(LogFileName) = False Then
System.IO.File.CreateText(LogFileName) End If
TimerMonitor.Interval = 30000
TimerMonitor.Start() End Sub Private Sub
TimerMonitor_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles TimerMonitor.Tick ' Mapguide Test /
IIS Test / PostgreSQL DB Test
MapGuide_IIS_DB_Test() End Sub Sub
MapGuide_IIS_DB_Test() Dim TestSeite As
String = "" Dim strPos1 As
Integer = -1 Dim StartZeit As
Date = Date.Now Dim ZeitDiff As
Long = 0 If
WebBrowserTest.IsOffline = False Then Try DocLoaded
= False Dim u As
New Uri("http://localhost/webmonitor/start.aspx") DocLoaded
= False
WebBrowserTest.Navigate(u) While
DocLoaded = False
Application.DoEvents() ZeitDiff = DateDiff(DateInterval.Second, StartZeit, Date.Now) If ZeitDiff > 10 Then
WebBrowserTest.Stop() WriteLog("IIS / MapGuide Server / DB neu gestartet") ServerAppRestart()
Exit Sub End
If End While TestSeite
= WebBrowserTest.DocumentText strPos1 =
-1 If
Trim(TestSeite) = "" Then strPos1 = -10 Else strPos1 =
InStr(TestSeite, "Seite erfolgreich geladen") End If Select
strPos1 Case
0 WriteLog("IIS / MapGuide Server / DB neu gestartet") ServerAppRestart() Case
Else End
Select Catch ex As
Exception WriteLog("IIS / MapGuide Server / DB neu gestartet") WebBrowserTest.Stop()
ServerAppRestart() End Try Else WebBrowserTest.Stop() WriteLog("IIS / MapGuide
Server / DB neu gestartet") ServerAppRestart() End If End Sub Sub
ServerAppRestart()
TimerMonitor.Stop()
System.Diagnostics.Process.Start(Application.StartupPath &
"\mgosiisdbrestart.bat")
TimerMonitor.Interval = 30000
TimerMonitor.Start() End Sub Private Sub
btnEnde_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles btnEnde.Click End End Sub Sub WriteLog(ByVal
LogText As String) If
System.IO.File.Exists(LogFileName) = True Then Dim strgDate
As String = Date.Now.ToString strgDate =
strgDate & " " Dim LogWriter
As New System.IO.StreamWriter(LogFileName, True)
LogWriter.Write(strgDate & LogText & vbCrLf)
LogWriter.Close()
LogWriter.Dispose() End If End Sub Private Sub
WebBrowserTest_DocumentCompleted(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles
WebBrowserTest.DocumentCompleted DocLoaded = True End Sub End Class Von:
mapguide-users-bounces@... [mailto:mapguide-users-bounces@...]
Im Auftrag von Andy Morsell Hi, Glad I’m not
the only one experiencing these problems…. Any chance that your VB
monitoring program can be made available to the group? Thanks, Andy From:
mapguide-users-bounces@...
[mailto:mapguide-users-bounces@...] On Behalf Of G.E.O.-Consulting / Hans Mörschell Hello, we are using MGOS 2.0.1 /
IIS7 / .NET whith an asp solution and the 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:
mapguide-users-bounces@...
[mailto:mapguide-users-bounces@...] Im Auftrag von Andy Morsell 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. |