Server issues (crash)

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
dvsatech
New user
New user
Posts: 10
Joined: 2020-07-01 00:54

Server issues (crash)

Post by dvsatech » 2020-07-03 06:05

I am having a problem where my new build hmailserver crashes with an error. I have version 5.6.7-B2425 (32 bit) with MSSQL CE installed on a new wndows 10 64-bit PC 2 CPU, 2 Core and 8G ram and 250G SSD disk with all patches to date loaded. My logs has 10 minidunps and 5 ERROR_ files.

Perfromance->threading is (defaults)
Max Command Threads: 15
Delivery Threads: 10
Max Number Async Threads: 15
Worker Priority: Normal

No more threads can be created in the system. (Exception from HRESULT: 0x800700A4)

ExceptionType: COMException
HelpLine:
Message: No more threads can be created in the system. (Exception from HRESULT: 0x800700A4)
Source: Interop.hMailServer
StackTrace: at hMailServer.IInterfaceApplication.get_Status()
at hMailServer.Administrator.ucStatus.ShowStatistics()
at hMailServer.Administrator.ucStatus.timerServerStats_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
TargetSite: hMailServer.Status get_Status()


Suggestions? I have processed about 35,000 emails in the last 4 days.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8674
Joined: 2011-09-08 17:48

Re: Server issues (crash)

Post by jimimaseye » 2020-07-03 09:13

What is the date and time of the dumps, I'm guessing they are all at the same time? If they are and they were some days ago and the dumps have not happened since then I would suggest don't worry about it as you will never know the answer. Just be happy that your system is continuing to run ok. Maybe if you view the error files it might give you a clue as to what the problem is.

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
mattg
Moderator
Moderator
Posts: 20960
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Server issues (crash)

Post by mattg » 2020-07-10 07:57

dvsatech wrote:
2020-07-03 06:05
My logs has 10 minidunps and 5 ERROR_ files.
There will only ever be the LAST 10 minidumps, older ones are deleted
There should be an error file EACH day

Where do you see the error that you report?

ALSO, what is the contents of the daily error logs?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

dvsatech
New user
New user
Posts: 10
Joined: 2020-07-01 00:54

Re: Server issues (crash)

Post by dvsatech » 2020-07-12 23:04

Sorry, been a few days since I have been here...


All the following files are in: C:\Program Files (x86)\hMailServer\Logs

All the minidumps listed are all 7/12/2020 now, doesn't show any other dumps but all the dump files are today (I assume because there are 10 of them the old ones are gone). I sent a mailing today to about 10,000 subscribers.

How do I look at a dump file?

There is an hmailserver_<date> file per day

There are also 6 ERROR_hmailserver_<date> in the directory as well (dates 6/25, 6/29, 6/30, 7/1, 7/2, 7/12 probably coincides with dates I sent mailings out)

User avatar
johang
Senior user
Senior user
Posts: 286
Joined: 2008-09-01 09:20

Re: Server issues (crash)

Post by johang » 2020-07-12 23:19

dvsatech wrote:
2020-07-12 23:04
Sorry, been a few days since I have been here...


All the following files are in: C:\Program Files (x86)\hMailServer\Logs

All the minidumps listed are all 7/12/2020 now, doesn't show any other dumps but all the dump files are today (I assume because there are 10 of them the old ones are gone). I sent a mailing today to about 10,000 subscribers.

How do I look at a dump file?

There is an hmailserver_<date> file per day

There are also 6 ERROR_hmailserver_<date> in the directory as well (dates 6/25, 6/29, 6/30, 7/1, 7/2, 7/12 probably coincides with dates I sent mailings out)

did you answer the questions ? particularly regarding the content of the error files ?
___________________________________________________________end of the line
spam filter appliance gateway: www.mailcleaner.org

dvsatech
New user
New user
Posts: 10
Joined: 2020-07-01 00:54

Re: Server issues (crash)

Post by dvsatech » 2020-07-12 23:25

"ERROR" 4828 "2020-07-12 14:48:58.389" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4812 "2020-07-12 14:48:58.452" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 3376 "2020-07-12 14:48:58.467" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 3360 "2020-07-12 14:48:58.998" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4884 "2020-07-12 14:48:58.998" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 2392 "2020-07-12 14:48:58.998" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 3340 "2020-07-12 14:48:58.998" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4824 "2020-07-12 14:48:59.014" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4808 "2020-07-12 14:48:59.014" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 3380 "2020-07-12 14:48:59.061" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4828 "2020-07-12 14:49:00.280" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144858_{EB916FFC-78E3-499D-90FD-8A5916B80F07}.dmp"
"ERROR" 4828 "2020-07-12 14:49:00.295" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4812 "2020-07-12 14:49:00.576" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144900_{E981E9B4-9B6E-4165-A2BB-4C7CBA4B85CE}.dmp"
"ERROR" 4812 "2020-07-12 14:49:00.592" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4808 "2020-07-12 14:49:00.842" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144900_{72F4C8F7-CB59-40D6-97DE-AAE133197E5E}.dmp"
"ERROR" 4808 "2020-07-12 14:49:00.905" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4812 "2020-07-12 14:49:01.123" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144900_{1B5B521A-96C4-48B2-ABFB-02DE7A93E5EB}.dmp"
"ERROR" 4812 "2020-07-12 14:49:01.123" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4828 "2020-07-12 14:49:01.389" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144901_{314F4F82-2D57-4462-8CF8-C290C68721E5}.dmp"
"ERROR" 4828 "2020-07-12 14:49:01.404" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4812 "2020-07-12 14:49:01.670" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144901_{7D6C5C68-8317-45C0-B7BE-21C3007BC60A}.dmp"
"ERROR" 4812 "2020-07-12 14:49:01.717" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4808 "2020-07-12 14:49:01.936" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144901_{8E27BAE4-710B-49EC-84A6-9DBEC437E91E}.dmp"
"ERROR" 4808 "2020-07-12 14:49:01.951" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4812 "2020-07-12 14:49:03.045" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144901_{112F1002-A45E-42B3-98DE-29F526A0F58C}.dmp"
"ERROR" 4812 "2020-07-12 14:49:03.061" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4808 "2020-07-12 14:49:03.264" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2020-07-12 144903_{120D348A-675E-4CEE-A830-BBA0CF82E13A}.dmp"
"ERROR" 4808 "2020-07-12 14:49:03.279" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4812 "2020-07-12 14:49:03.295" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4812 "2020-07-12 14:49:03.295" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4812 "2020-07-12 14:49:03.311" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 4828 "2020-07-12 14:49:03.311" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4828 "2020-07-12 14:49:03.311" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 3376 "2020-07-12 14:49:03.311" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 3376 "2020-07-12 14:49:03.311" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4828 "2020-07-12 14:49:03.311" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 3340 "2020-07-12 14:49:03.326" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 3340 "2020-07-12 14:49:03.326" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 3376 "2020-07-12 14:49:03.326" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'Task-DeliveryTask'"
"ERROR" 3360 "2020-07-12 14:49:03.326" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 3360 "2020-07-12 14:49:03.326" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 3380 "2020-07-12 14:49:03.326" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 3380 "2020-07-12 14:49:03.326" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 2392 "2020-07-12 14:49:03.342" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 2392 "2020-07-12 14:49:03.342" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4824 "2020-07-12 14:49:03.342" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4824 "2020-07-12 14:49:03.342" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4884 "2020-07-12 14:49:03.357" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4884 "2020-07-12 14:49:03.357" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4808 "2020-07-12 14:49:03.357" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4808 "2020-07-12 14:49:03.357" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4812 "2020-07-12 14:49:03.357" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4812 "2020-07-12 14:49:03.357" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 4828 "2020-07-12 14:49:03.373" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 4828 "2020-07-12 14:49:03.373" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."
"ERROR" 3376 "2020-07-12 14:49:03.373" "Severity: 3 (Medium), Code: HM5401, Source: ProcessLauncher::Launch, Description: There was an error launching external process hMailServer.minidump.exe. Process start failed. Windows error code: 19"
"ERROR" 3376 "2020-07-12 14:49:03.373" "Severity: 1 (Critical), Code: HM5521, Source: StackLogger::Log, Description: An error has been detected. hMailServer was unable to launch minidump generator."

User avatar
mattg
Moderator
Moderator
Posts: 20960
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Server issues (crash)

Post by mattg » 2020-07-13 07:27

Please run this and post the results
viewtopic.php?f=20&t=30914
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
jim.bus
Senior user
Senior user
Posts: 409
Joined: 2011-05-28 11:49
Location: US

Re: Server issues (crash)

Post by jim.bus » 2020-07-13 07:35

In your SMTP Header Forum Thread you state you are a commercial environment. If so, then you may not use MSSQL CE in a Commercial Environment. See this link for the latest hMailServer B2425 Documentation:

https://www.hmailserver.com/documentati ... ase_engine

This link states you may only use MSSQL CE for personal installations not commercial installations.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8674
Joined: 2011-09-08 17:48

Re: Server issues (crash)

Post by jimimaseye » 2020-07-13 07:49

jim.bus wrote:
2020-07-13 07:35
In your SMTP Header Forum Thread you state you are a commercial environment. If so, then you may not use MSSQL CE in a Commercial Environment. See this link for the latest hMailServer B2425 Documentation:

https://www.hmailserver.com/documentati ... ase_engine

This link states you may only use MSSQL CE for personal installations not commercial installations.
This is no longer true. MS eula, on which this claim was based, has recently been discussed and reviewed and concluded it was no longer correct to make such a claim. It "is freely redistributable under a redistribution license agreement" without restriction on environment. (https://www.microsoft.com/en-gb/downloa ... px?id=5783)

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
johang
Senior user
Senior user
Posts: 286
Joined: 2008-09-01 09:20

Re: Server issues (crash)

Post by johang » 2020-07-13 10:32

dvsatech wrote:
2020-07-12 23:04
All the following files are in: C:\Program Files (x86)\hMailServer\Logs , All the minidumps listed are all 7/12/2020 now, doesn't show any other dumps but all the dump files are today (I assume because there are 10 of them the old ones are gone). I sent a mailing today to about 10,000 subscribers. How do I look at a dump file? There is an hmailserver_<date> file per day. There are also 6 ERROR_hmailserver_<date> in the directory as well (dates 6/25, 6/29, 6/30, 7/1, 7/2, 7/12 probably coincides with dates I sent mailings out)
How do I look at a dump file?
i just stole an answer from Dravion provided in another thread regarding: reading open dump file ; minidump .dmp :
Minidumps can be read by WinDBG, the official Microsoft Windows Debugger. Its an Experttool for Programmers only. Its free avaiable as part of the Windows Driver Kit or the Windows SDK or as Debugging Tools for Windows Standalone Package.

your posted loglines from error log is a bit sparse, it is hard to tell what caused the crash to happen.. those loglines more state that "something" went wrong and because of that it writes a dump file .. there really is not a a simple .. ohh theres the cause in those lines from error log provided .. ( BUT i will still ADD in here ... you arent doing AV scans internally in your server ... are you ? ... you have disabled the AV scans for every directory that hmailserver uses and wants to use ?? (number 2, Antivirus intervention in https://www.hmailserver.com/forum/viewtopic.php?t=31519 applies at all times )

To be able to perhaps see why or what made it crash you want to pick up loglines from hmailserver log as well as from the error log and cross reference those 2 information sources in respect to time stamping ..
+ your diagnostics, .... and where the error report comes from that you post as 1st post, ( Mattg asked about earlier )
( and icing on the cake ... look at corresponding events in time with microsoft event and microsoft error logs ... )
___________________________________________________________end of the line
spam filter appliance gateway: www.mailcleaner.org

Post Reply