hMail Crashes, some logs...

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
utxcipo
New user
New user
Posts: 13
Joined: 2009-04-02 11:36

hMail Crashes, some logs...

Post by utxcipo » 2009-07-20 15:37

hello @ all, my hMailServer (5.1.1-B341) stop responding about 1 time per day.

I restart the service and all go OK.

browsing the logs I've found some error logs:

Code: Select all

"ERROR"	3020	"2009-07-19 07:29:31.119"	"Severity: 2 (High), Code: HM4208, Source: IOCPQueueWorkerTask::DoWork, Description: An unknown error occured while handling asynchronous requests."

Code: Select all

"ERROR"	3344	"2009-07-18 10:50:21.259"	"Severity: 2 (High), Code: HM4208, Source: IOCPQueueWorkerTask::DoWork, Description: An unknown error occured while handling asynchronous requests."

Code: Select all

"ERROR"	2916	"2009-07-15 03:34:32.415"	"Severity: 2 (High), Code: HM4208, Source: IOCPQueueWorkerTask::DoWork, Description: An unknown error occured while handling asynchronous requests."

Code: Select all

"ERROR"	4016	"2009-07-10 09:05:46.015"	"Severity: 2 (High), Code: HM4208, Source: Thread::ThreadFunc, Description: An error occurred while running thread.  Returning thread to pool. Error number: 10054, Description: Connessione in corso interrotta forzatamente dall'host remoto"
"ERROR"	3320	"2009-07-10 09:06:20.078"	"Severity: 2 (High), Code: HM5019, Source: SMTPClientConnection::_SendFileContents, Description: Could not send file  via socket since it does not exist."
"ERROR"	2540	"2009-07-10 11:54:07.078"	"Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::HandleRead, Description: An error occured while parsing buffer. Remote IP: "
"ERROR"	2848	"2009-07-10 11:55:20.500"	"Severity: 2 (High), Code: HM4208, Source: IOCPQueueWorkerTask::DoWork, Description: An unknown error occured while handling asynchronous requests."
"ERROR"	3980	"2009-07-10 11:55:34.406"	"Severity: 2 (High), Code: HM5049, Source: File::Normal, Description: Could not move the file C:\Programmi\hMailServer\Data\{A1717820-7CC1-4100-9C02-D49CA9A7B4BA}.eml to C:\Programmi\hMailServer\Data\fitp.org\info\A1\{A1717820-7CC1-4100-9C02-D49CA9A7B4BA}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3576	"2009-07-10 11:55:37.250"	"Severity: 2 (High), Code: HM5049, Source: File::Normal, Description: Could not move the file C:\Programmi\hMailServer\Data\{9C47A1A5-D194-4E2B-9949-2782B7953B68}.eml to C:\Programmi\hMailServer\Data\fitp.org\info\9C\{9C47A1A5-D194-4E2B-9949-2782B7953B68}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3904	"2009-07-10 11:55:37.328"	"Severity: 2 (High), Code: HM5049, Source: File::Normal, Description: Could not move the file C:\Programmi\hMailServer\Data\{40C78627-27FB-4AC8-BCF7-CE31ADD577D6}.eml to C:\Programmi\hMailServer\Data\fitp.org\info\40\{40C78627-27FB-4AC8-BCF7-CE31ADD577D6}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	2732	"2009-07-10 11:55:37.671"	"Severity: 2 (High), Code: HM5049, Source: File::Normal, Description: Could not move the file C:\Programmi\hMailServer\Data\{BB968635-8C50-4468-AFB2-D88EA1194A12}.eml to C:\Programmi\hMailServer\Data\fitp.org\info\BB\{BB968635-8C50-4468-AFB2-D88EA1194A12}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3128	"2009-07-10 11:55:37.687"	"Severity: 2 (High), Code: HM5049, Source: File::Normal, Description: Could not move the file C:\Programmi\hMailServer\Data\{607293D7-67A6-41D3-8161-25D877894C6E}.eml to C:\Programmi\hMailServer\Data\fitp.org\info\60\{607293D7-67A6-41D3-8161-25D877894C6E}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3740	"2009-07-10 11:55:37.687"	"Severity: 2 (High), Code: HM5049, Source: File::Normal, Description: Could not move the file C:\Programmi\hMailServer\Data\{F267F9DF-B285-464B-856C-50F2DC515D07}.eml to C:\Programmi\hMailServer\Data\fitp.org\info\F2\{F267F9DF-B285-464B-856C-50F2DC515D07}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3980	"2009-07-10 11:55:40.015"	"Severity: 2 (High), Code: HM5048, Source: File::Copy, Description: Could not copy the file C:\Programmi\hMailServer\Data\fitp.org\info\A1\{A1717820-7CC1-4100-9C02-D49CA9A7B4BA}.eml to C:\Programmi\hMailServer\Data\{4B076510-5C7A-455B-ADB8-59DB9D601433}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3980	"2009-07-10 11:55:40.015"	"Severity: 2 (High), Code: HM4223, Source: DeliveryTask::DoWork, Description: SMTPDeliverer::DeliverMessage() failed"
"ERROR"	3576	"2009-07-10 11:55:41.250"	"Severity: 2 (High), Code: HM5048, Source: File::Copy, Description: Could not copy the file C:\Programmi\hMailServer\Data\fitp.org\info\9C\{9C47A1A5-D194-4E2B-9949-2782B7953B68}.eml to C:\Programmi\hMailServer\Data\{2D4F4BA1-CF1A-404F-80E0-8B15CC82731D}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3576	"2009-07-10 11:55:41.250"	"Severity: 2 (High), Code: HM4223, Source: DeliveryTask::DoWork, Description: SMTPDeliverer::DeliverMessage() failed"
"ERROR"	3576	"2009-07-10 11:55:41.250"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98638 could not be delivered since the data file does not exist."
"ERROR"	1104	"2009-07-10 11:55:41.250"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98640 could not be delivered since the data file does not exist."
"ERROR"	2252	"2009-07-10 11:55:41.250"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98642 could not be delivered since the data file does not exist."
"ERROR"	2928	"2009-07-10 11:55:41.250"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98639 could not be delivered since the data file does not exist."
"ERROR"	3056	"2009-07-10 11:55:41.250"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98643 could not be delivered since the data file does not exist."
"ERROR"	3904	"2009-07-10 11:55:41.328"	"Severity: 2 (High), Code: HM5048, Source: File::Copy, Description: Could not copy the file C:\Programmi\hMailServer\Data\fitp.org\info\40\{40C78627-27FB-4AC8-BCF7-CE31ADD577D6}.eml to C:\Programmi\hMailServer\Data\{B4F874D8-5062-48EE-94FD-B36616EE1C3E}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3904	"2009-07-10 11:55:41.328"	"Severity: 2 (High), Code: HM4223, Source: DeliveryTask::DoWork, Description: SMTPDeliverer::DeliverMessage() failed"
"ERROR"	3128	"2009-07-10 11:55:42.468"	"Severity: 2 (High), Code: HM5048, Source: File::Copy, Description: Could not copy the file C:\Programmi\hMailServer\Data\fitp.org\info\60\{607293D7-67A6-41D3-8161-25D877894C6E}.eml to C:\Programmi\hMailServer\Data\{5205CEAC-21FA-4EDE-AFD5-15587610B66E}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3128	"2009-07-10 11:55:42.468"	"Severity: 2 (High), Code: HM4223, Source: DeliveryTask::DoWork, Description: SMTPDeliverer::DeliverMessage() failed"
"ERROR"	2732	"2009-07-10 11:55:42.890"	"Severity: 2 (High), Code: HM5048, Source: File::Copy, Description: Could not copy the file C:\Programmi\hMailServer\Data\fitp.org\info\BB\{BB968635-8C50-4468-AFB2-D88EA1194A12}.eml to C:\Programmi\hMailServer\Data\{67F17635-D7FE-4F97-ACF5-299A8122AA62}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	2732	"2009-07-10 11:55:42.890"	"Severity: 2 (High), Code: HM4223, Source: DeliveryTask::DoWork, Description: SMTPDeliverer::DeliverMessage() failed"
"ERROR"	3740	"2009-07-10 11:55:43.000"	"Severity: 2 (High), Code: HM5048, Source: File::Copy, Description: Could not copy the file C:\Programmi\hMailServer\Data\fitp.org\info\F2\{F267F9DF-B285-464B-856C-50F2DC515D07}.eml to C:\Programmi\hMailServer\Data\{4468086B-9553-4EC8-8DE0-7F971C02A499}.eml. Tried 5 times without success. Windows eror code: 2 (File not found)"
"ERROR"	3740	"2009-07-10 11:55:43.000"	"Severity: 2 (High), Code: HM4223, Source: DeliveryTask::DoWork, Description: SMTPDeliverer::DeliverMessage() failed"
"ERROR"	332	"2009-07-10 11:55:48.796"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98653 could not be delivered since the data file does not exist."
"ERROR"	2584	"2009-07-10 11:55:48.796"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98655 could not be delivered since the data file does not exist."
"ERROR"	2640	"2009-07-10 11:55:49.000"	"Severity: 3 (Medium), Code: HM5006, Source: SMTPDeliverer::DeliverMessage(), Description: Message 98654 could not be delivered since the data file does not exist."
Sometimes hMail crashes a lot of times per day, as the last log posted...

I hope the logs are usefull

thanks @all

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: hMail Crashes, some logs...

Post by martin » 2009-07-20 15:39

Enable all logging and the next time it happens send the log to me at martin@hmailserver.com.
The error log only contains information when the problem has already occurred. To do troubleshooting we must see what happened *prior* to the error occured.

Keba
Normal user
Normal user
Posts: 126
Joined: 2009-04-11 11:43

Re: hMail Crashes, some logs...

Post by Keba » 2009-07-20 16:43

Would it be worth creating a feature request to add a spool/queue of the last 50 or so debug entries (held in memory normally and overwritten as new entries come in of course) so that the 'prior' is then written to disk in the case of an application error?

Just a thought...
Keba

utxcipo
New user
New user
Posts: 13
Joined: 2009-04-02 11:36

Re: hMail Crashes, some logs...

Post by utxcipo » 2009-07-20 16:48

martin wrote:Enable all logging and the next time it happens send the log to me at martin@hmailserver.com.
The error log only contains information when the problem has already occurred. To do troubleshooting we must see what happened *prior* to the error occured.
sorry, i've also searched, but I've not understand how enabling "all logging".... :oops:

thanks

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: hMail Crashes, some logs...

Post by martin » 2009-07-20 17:21

Go to Settings, Logging in hMailServer Administrator to enable it...

utxcipo
New user
New user
Posts: 13
Joined: 2009-04-02 11:36

Re: hMail Crashes, some logs...

Post by utxcipo » 2009-07-21 09:45

:oops: i'm a bit noob... I hope you also take me seriuosly :|

im full_logging now, thanks!

utxcipo
New user
New user
Posts: 13
Joined: 2009-04-02 11:36

Re: hMail Crashes, some logs...

Post by utxcipo » 2009-07-24 17:07

martin wrote:Enable all logging and the next time it happens send the log to me at martin@hmailserver.com.
The error log only contains information when the problem has already occurred. To do troubleshooting we must see what happened *prior* to the error occured.
ehm a log of 90MB is a problem for you martin? i can upload in the ftp if you want... :wink:

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: hMail Crashes, some logs...

Post by martin » 2009-07-24 17:10

Hmm, do you have a FTP I can download it from? :-\ If so, you can send the login details to me in a private message...

Is that 90MB zipped? If you zip a log file, it should become quite a bit smaller.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: hMail Crashes, some logs...

Post by martin » 2009-07-27 18:34

You write in the subject that the service crashes. I understood this as if you get an error message from Windows saying that the service has shut down. Reading your logs I now get the impression that it just hangs. Am I right that the service "just" hangs? (I separate between a "crash" and a "hanging". "Crash" - service stops with an error, "Hang" - service continues to run but does not respond).

If you're experiencing a hanging, I'm guessing it's Issue 205, If SpamAssassin hanged or crash, hMailServer would hang as well. which was fixed in 5.1.2.

utxcipo
New user
New user
Posts: 13
Joined: 2009-04-02 11:36

Re: hMail Crashes, some logs...

Post by utxcipo » 2009-07-28 08:55

yes, it hangs, continue run but not respond...

thanks for your support, now I upgrade hmail, in september I "up" this thread to give you a confirmation

happy holiday @ all

Post Reply