File::ReadFile() and SocketConnection::OnDataReceived errore

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
standern
Normal user
Normal user
Posts: 51
Joined: 2007-02-28 11:31
Location: Milan - Italy
Contact:

File::ReadFile() and SocketConnection::OnDataReceived errore

Post by standern » 2007-11-27 13:23

Hi everybody,
from this morning, I have some problems with my HMS.
I restarted both my server and the HMS service.
Unfortunately, nothing changes.
I looked at my Error Log and I can see two rows repeated every minute.
The two rows are:

"ERROR" 5716 "2007-11-27 12:06:29.900" "Source: File::ReadFile(), Code: HM4227, Description: An unknown error occured while reading file from disk."
"ERROR" 5716 "2007-11-27 12:06:29.900" "Source: SocketConnection::OnDataReceived, Code: HM4377, Description: An error occured while parsing data."


My hard disk works fine (no errors on RAID controller).

Is there anything I can check to figure out how to fix this?

Thanks a lot for your help.

User avatar
danny6167
Senior user
Senior user
Posts: 472
Joined: 2007-02-07 15:24
Location: Western Australia
Contact:

Post by danny6167 » 2007-11-28 05:33

Turn on aplication and debug logging. I THINK this will let us know what file it is trying to find.

Have you installed any new software on the server lately? some anti virus will scan the hmailserver data directory and will delete mail containing virus.

standern
Normal user
Normal user
Posts: 51
Joined: 2007-02-28 11:31
Location: Milan - Italy
Contact:

Post by standern » 2007-11-28 09:58

I turned on the application and debug loging.
Here is what I get:

"APPLICATION" 5496 "2007-11-28 08:55:40.586" "GarbageCollection - hMailServer has run out of memory, clearing caches."
"APPLICATION" 5496 "2007-11-28 08:55:40.602" "GarbageCollection - hMailServer has run out of memory, clearing caches."
"APPLICATION" 5496 "2007-11-28 08:55:40.602" "GarbageCollection - hMailServer has run out of memory, clearing caches."
"APPLICATION" 5496 "2007-11-28 08:55:40.602" "Source: File::ReadFile(), Code: HM4227, Description: An unknown error occured while reading file from disk."
"APPLICATION" 5496 "2007-11-28 08:55:40.602" "GarbageCollection - hMailServer has run out of memory, clearing caches."
"APPLICATION" 5496 "2007-11-28 08:55:40.602" "GarbageCollection - hMailServer has run out of memory, clearing caches."
"APPLICATION" 5496 "2007-11-28 08:55:40.602" "Source: SocketConnection::OnDataReceived, Code: HM4377, Description: An error occured while parsing data."


Any suggestions?
thanks a lot.

User avatar
danny6167
Senior user
Senior user
Posts: 472
Joined: 2007-02-07 15:24
Location: Western Australia
Contact:

Post by danny6167 » 2007-11-28 12:14

umm still doesn't show the file it is looking for. Try all logging unless some one else has an idea.

standern
Normal user
Normal user
Posts: 51
Joined: 2007-02-28 11:31
Location: Milan - Italy
Contact:

Post by standern » 2007-11-28 12:38

I tried all the logging.
That's all I got.

User avatar
danny6167
Senior user
Senior user
Posts: 472
Joined: 2007-02-07 15:24
Location: Western Australia
Contact:

Post by danny6167 » 2007-11-28 12:43

Is there a error log file in the log folder?

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

Post by martin » 2007-11-28 13:08

standern,
Do you have a large number of users? (Above 2000)
Do you have a large amount of messages in the undelivered queue?
Have you installed any new software on the server in question when the problem started to appear?
Are there any errors reported in the Windows event viewer?

standern
Normal user
Normal user
Posts: 51
Joined: 2007-02-28 11:31
Location: Milan - Italy
Contact:

Post by standern » 2007-11-29 09:05

Hi Martin,
I have a very small number of users (about 50).
No messages in the undelivered queue.
No new software installed.

After a deep investigation, I figured out that all those messages have been caused by 1 account using Outlook 2007.

I don't know if this might help you, but all my users use IMAP protocol and WHEREVER I configured that specific account using Outlook 2007, I was full of those errors and the whole HMailServer became extremely slow.

When I closed Outlook 2007 with that account, everything started working fine.
The strange thing is that even if I configure that specific account on another PC using Outlook 2007, I always get all those errors.
With Thunderbird everything works fine.

By the way, I did the same thing from Outlook 2003 and got the same errors (using always the same account).

I'd like to find a solution because the owner of that account (our local user) is Outlook 2007 addicted. I know Thunderbird works better with IMAP but sometimes users don't like it.

Has anyone else has any similar problem in the past?

Thanks for your help.

Post Reply