Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After change to http.sys, errors on production servers after a few days of operation
#4
Hi again. I have tried to dig deeper and looked at memory usage for different services in our maintenance logs. Interestingly, our main web application came up to around the same level (350 MB) before restart in an interval that contains 5 server restart (after errors ocurred). When I look at the graph and check a few steep "jumps" in memory usage (Working Set) I found at least 3 places where a new session followed by an 'Invalid page context' exception leads to an instant increase in 50 MB. No other activity in the web application at this time. Extract from our logs:

Code:
"23141";"2022-11-30 04:56:57.119";"EmWebClient";"\Information";"\GenClient\ServerController";"";"BrowserCheck: ChromeMobile 94,00, fully supported by IW framework. UserAgent = Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4590.2 Mobile Safari/537.36 Chrome-Lighthouse. IP = ?"
"23142";"2022-11-30 04:56:57.135";"EmWebClient";"\Information";"\GenClient\ServerController";"";"Updating StatusInfo, setting SessionCount to 1"
"23143";"2022-11-30 04:56:57.135";"EmWebClient";"\Information";"\BaseClient\UserSession";"";"New session: AppID=IjDBkYnqhJz4WK5pQAFvOR7l31y, SessionGUID={6B0E4C9F-36B7-48BD-8B21-F3DE31346D95}"
"23144";"2022-11-30 04:56:57.431";"EmWebClient";"\Debug\UI";"\BaseClient\Web\Form";"";"Form created: BaseClientLoginWebDialog"
"23145";"2022-11-30 04:57:02.466";"EmWebClient";"\Error\Exception";"\GenClient\ServerController";"";"Exception EIWSecurityException with message 'Invalid page context' raised when processing in TBaseClientLoginWebDialog"
"23146";"2022-11-30 04:57:02.466";"EmWebClient";"\Error";"\GenClient\ServerController";"";"Stack trace for exception has been output to IWExceptions directory"

In another case, the time between session creation and the exception is much longer (5 minutes). In this case it is followed by a second exception 'Session context is not valid':

Code:
"10047";"2022-12-03 16:48:04.413";"EmWebClient";"\Information";"\GenClient\ServerController";"";"BrowserCheck: SafariMobile 16,10, fully supported by IW framework. UserAgent = Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1. IP = ?"
"10048";"2022-12-03 16:48:04.413";"EmWebClient";"\Information";"\GenClient\ServerController";"";"Updating StatusInfo, setting SessionCount to 1"
"10049";"2022-12-03 16:48:04.429";"EmWebClient";"\Information";"\BaseClient\UserSession";"";"New session: AppID=YDSZtQ38npJA-5LcIQBABdjTW~a, SessionGUID={C3799D99-46D2-4575-8A6B-6B5A9EE6FF03}"
"10050";"2022-12-03 16:48:04.726";"EmWebClient";"\Debug\UI";"\BaseClient\Web\Form";"";"Form created: BaseClientLoginWebDialog"
"10051";"2022-12-03 16:53:26.079";"EmWebClient";"\Error\Exception";"\GenClient\ServerController";"";"Exception EIWSecurityException with message 'Invalid page context' raised when processing in TBaseClientLoginWebDialog"
"10052";"2022-12-03 16:53:26.079";"EmWebClient";"\Error";"\GenClient\ServerController";"";"Stack trace for exception has been output to IWExceptions directory"
"10053";"2022-12-03 16:53:26.376";"EmWebClient";"\Hint";"\GenClient\ServerController";"";"Exception EInvalidAppID with message 'Session context is not valid' raised when processing in TBaseClientLoginWebDialog"

Do you have any explanation for this? We see the 'Invalid page context' exceptions now and then in our maintenance logs, from all three web applications, but we have never been able to reproduce them ourselves. Let me know if the stack traces are of interest, and/or if the IntraWeb session log could contain anything of interest (I am not sure how far back they go, also, you need some kind of tool to read them, right?)

/Magnus
Reply


Messages In This Thread
RE: After change to http.sys, errors on production servers after a few days of operation - by magosk - 01-05-2023, 02:35 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)