Dear Rick,
I developed 6 applications with WC for a customer and casually some of them is waiting for no reason and without generating an error on server.
It wasn't always like that, but the situation is getting worse.
On this screenshot from server, there are 9 instances waiting "no reply".
Please have you some idea?
Is there a tool I can use to monitoring?
Thank you very much for support
West Wind WebSurge can help me to discover the problem?
Make sure you're:
- Not running with Debug Mode on
- You have SaveRequestFiles=Off
- If running COM make sure UnattendedComMode=On
If you're running in file mode and servers cause a dialog to pop up (invisibly) those servers will never be released unless you explicitly unload from the Server Admin page. File mode can't auto-recover from failures or hangs. COM Mode will start new servers and try to kill old ones when requests time out.
+++ Rick ---
Dear Rick,
I di not understand, documentation says SaveRequestFiles should be off for production.
So it is all right.
I will try to switch to COM mode, maybe it solve the "standby" we note randomly.
Thank you again
Dear Rick,
could the random "standby" of some application on server depend from Dispose?
In every page I put a Dispose() function like this:
****************
FUNCTION Dispose()
****************
IF USED("qAnagrafica")
USE IN qAnagrafica
ENDIF
DODEFAULT()
WITH this
.oBusiness=null
.cTitolo=null
.cLingua=null
.cIdOperator=null
.nE0=null
.CTL0002 = null
.Header = null
.CTL0004 = null
.CTL0005 = null
.CTL0006 = null
.WwWebLiteral1 = null
.CTL0008 = null
.CTL0009 = null
.CTL0010 = null
.form1 = null
.CTL0012 = null
.Nuovo = null
.CTL0014 = null
.txtIdFunzionario = null
.CTL0016 = null
.ErrorDisplay = null
.CTL0018 = null
.Grid1 = null
.Column1 = null
.Column2 = null
.Column3 = null
.Column4 = null
.Column5 = null
.CTL0025 = null
.CTL0026 = null
.CTL0027 = null
ENDWITH
ENDFUNC
I compile Dispose for every page depending on the objects contained.
Sometime I notice a standby when I click on the Exit button of an application on server, as if the server could not be able to release the memory.
Many thanks