login about faq

Chilkat IMAP service is stuck on 100% CPU after several days the Windows service that uses executes normally. It is being reproduced every several days (3-7 days).

I'm using Chilkat IAMP for .NET 4.5 version 9.5.0 64-bit.

From the logs, I get: WSAECONNABORTED An established connection was aborted by the software in your host machine.

The service that runs it resides in a virtual cloud environment.

Is this an issue with how Chilkat IMAP connection is implemented, the cloud environment implementation or something from my service (the application that uses the Chilkat module)...?

The following are Chilkat logs:

DllDate: May 6 2014

ChilkatVersion: 9.5.0.38

UnlockPrefix: SNILIKIMAPMAIL

Username: WIN-OCJD4A0985E:SYSTEM

Architecture: Little Endian; 64-bit

Language: .NET 4.5 / x64

VerboseLogging: 0

listMailboxes:

bSubscribedOnly: 0

reference:

mailbox: *

Escaping quotes and backslashes in mailbox name...

utf7EncodedMailboxPath: *

getCompleteResponse:

        WindowsError: An established connection was aborted by

the software in your host machine.

        WindowsErrorCode: 0x2745

        numBytesRequested: 5

        Failed to receive data on the TCP socket

        Failed to read beginning of SSL/TLS record.

        Failed to read incoming handshake messages. (3)

        (leaveContext)

    Client handshake failed. (3)

    (leaveContext)

ConnectFailReason: 0

(leaveContext)

failReason: 0

connect failed.

(leaveContext) Login:

DllDate: May 6 2014

ChilkatVersion: 9.5.0.38

UnlockPrefix: SNILIKIMAPMAIL

Username: WIN-OCJD4A0985E:SYSTEM

Architecture: Little Endian; 64-bit

Language: .NET 4.5 / x64

VerboseLogging: 0

login: ******

ConnectionType: SSL/TLS

Error sending on socket (1)

SocketError: WSAECONNABORTED An established connection was aborted by the software in your host machine.

For more information see this Chilkat Blog post: http://www.cknotes.com/?p=91

send_size: 90

Failed to send TLS message.

Failed to send LOGIN command

Failed.

asked May 28 '14 at 03:52

lionheart's gravatar image

lionheart
16124


If a Chilkat method call never returns and utilizes 100% of the CPU, then you would not be able to get the contents of the LastErrorText. The fact that you have a LastErrorText indicates that the Chilkat method call has returned and your app then proceeded to display the LastErrorText.

My guess is that your app has a loop where normally a Chilkat method call involving communications with an IMAP mail server succeeds (with a normal amount of time spent communicating with the server), but then for some reason the method call begins returning immediately a failed status. At that point, I suspect your application is probably in a tight loop calling the Chilkat method over and over. The 100% CPU utilization is likely caused by the loop in your app, NOT by code within a call to a Chilkat method.

link

answered May 28 '14 at 11:36

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I'll consider your thoughts on this issue. Though I get the last error, I'm not certain that that last error revolves around the 100% CPU issue. I'll get back on that after some research (and sign your thoughts as answer, of course :-) )...

(May 29 '14 at 00:45) lionheart
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×174
×7

Asked: May 28 '14 at 03:52

Seen: 766 times

Last updated: May 29 '14 at 00:45

powered by OSQA