Email send failure
Email send failure
Two days ago the computer that hosts HM lost at some point all network connections to several devices. Sometime after this occured, HM stopped sending emails, although it did not stop working as it should (monitor all devices). The error i found in the log file has the following information:
[2006-08-05 17:57:43] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:45] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:48] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:54] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:54] Sys More than 20 consecutive ODBC errors occured.
ODBC logging paused for 10 min (use Options dialog to enable it again).
[2006-08-05 17:57:54] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:55] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:56] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 726F7471
[2006-08-05 17:57:57] Sys SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
[2006-08-05 17:57:57] Sys SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
[2006-08-05 17:58:01] Sys SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
[2006-08-05 17:58:10] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:12] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:27] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:28] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:28] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:30] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
Can you please tell me the reason of the failed email-alert feature?
Thanks in advance
[2006-08-05 17:57:43] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:45] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:48] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:54] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:54] Sys More than 20 consecutive ODBC errors occured.
ODBC logging paused for 10 min (use Options dialog to enable it again).
[2006-08-05 17:57:54] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:55] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
[2006-08-05 17:57:56] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 726F7471
[2006-08-05 17:57:57] Sys SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
[2006-08-05 17:57:57] Sys SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
[2006-08-05 17:58:01] Sys SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
[2006-08-05 17:58:10] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:12] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:27] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:28] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:28] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
[2006-08-05 17:58:30] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000009
Can you please tell me the reason of the failed email-alert feature?
Thanks in advance
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Email send failure
I assume, the total resource usage on your system is above normal. Could you check the total handles usage on your system?AntonyP wrote:Two days ago the computer that hosts HM lost at some point all network connections to several devices. Sometime after this occured, HM stopped sending emails, although it did not stop working as it should (monitor all devices). The error i found in the log file has the following information:
[2006-08-05 17:57:43] Sys SMTP client error: Access violation at address 00428691 in module 'hostmon.exe'. Read of address 00000008
Such ODBC problems may lead to resource leakage problems. You should adjust your ODBC log settings or disable ODBC logging. Error means you have specified not valid query (Options > Advanced Logging tab). I hope, if you figure ODBC problem out, the "Access violation" problem will disappear.AntonyP wrote:[2006-08-05 17:57:54] Sys More than 20 consecutive ODBC errors occured.
ODBC logging paused for 10 min (use Options dialog to enable it again)
Regards,
Max
I got the same error again
SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
No antivirus was installed, like before. I checked other applications for possible cpu overload, but found nothing wrong. Is it possible for HM to "crash" its email action if the smtp server has a problem? We have MS Exchange 2003.
SMTP client error: Error reading StopBtn.Glyph.Data: Canvas does not allow drawing
No antivirus was installed, like before. I checked other applications for possible cpu overload, but found nothing wrong. Is it possible for HM to "crash" its email action if the smtp server has a problem? We have MS Exchange 2003.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Too much GDI objects
And I do not see a reason for such resource leakage - even if we made some mistake in the code it should not lead to significant leak because HostMonitor does not use GDI resources to perform the tests.
If you restart HostMonitor, how many GDI objects does it allocate?
ODBC logging is enabled or disabled? What kind of tests and actions do you use?
Regards
Alex

If you restart HostMonitor, how many GDI objects does it allocate?
ODBC logging is enabled or disabled? What kind of tests and actions do you use?
Regards
Alex
I am not sure how this happens, but i am guessing that each time many tests fail, HM starts consuming more and more RAM as well as CGI and other objects, without decreasing them after all the above test go back to normal! So, if i leave HM running for many days, during which several tests fail-at some point- there is a possibility that it will crash.
Tests do not use GDI resources, regardless of status. However "Bad" status usually triggers some actions. "Send e-mail" action may use GDI resources if "Show status window" option is enabled. "Show popup window" action shows popup window and uses GDI resources. I just tested these actions, they release all resources.
Anyway, we need to know when exactly this leak occurs. Its impossible to check all 35 MB of code
Could you disable alerts for a while and check resource usage? This way we will narrow search field. If you cannot work without alerts, then you may start 2nd instance of HostMonitor and stop alerts for 2nd instance only. Then you may easily compare resource usage for 2 processes.
Regards
Alex
Anyway, we need to know when exactly this leak occurs. Its impossible to check all 35 MB of code

Could you disable alerts for a while and check resource usage? This way we will narrow search field. If you cannot work without alerts, then you may start 2nd instance of HostMonitor and stop alerts for 2nd instance only. Then you may easily compare resource usage for 2 processes.
Regards
Alex