EldoS | Feel safer!

Software components for data protection, secure storage and transfer

100% CPU when Sending message to unavailable host.

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 05/10/2007 08:51:20
by Adam Leyshon (Standard support level)
Joined: 05/08/2007
Posts: 23

any ideas why CPU is 100% after sending a message to a host which is unavailable?
I am using TCP Transport Socket and I set the maxtimeout on all the controls and connectattempts to 1 but still 100% even after I've recieved the
Private Sub MsgFail(ByVal UserData As Object, ByRef Message As MsgConnect.MCMessage, ByVal ErrorCode As Integer)

Even postmessage does the same.

Thanks Adam.
Posted: 05/10/2007 09:01:42
by Eugene Mayevski (EldoS Corp.)

1) Please specify what exactly version of MsgConnect you are using. If it's not build 55, please take the latest build from the site
2) Is the problem reproducible with SendNote or other sample application or it only happens in your code?

Sincerely yours
Eugene Mayevski
Posted: 05/10/2007 09:51:14
by Adam Leyshon (Standard support level)
Joined: 05/08/2007
Posts: 23

Build is latest, 55.
No it does not happen in SendNote.

I have attached the code nessercary to sending a message.

I can also give you the settings for each control upon request.

I am using ZLib Compression and CRC32 Sealing if that makes any difference.

The controls are:
SocketTransport as McSocketTransport
MCMessenger1 as McMessenger
and MCQueue1 as McQueue

Thanks, Adam.

[ Download ]
Posted: 05/10/2007 10:04:00
by Eugene Mayevski (EldoS Corp.)

The transformers don't make any difference, but I would need a complete test case (i.e. compileable project) to run and see what's going on inside.

Sincerely yours
Eugene Mayevski
Posted: 05/10/2007 10:31:27
by Adam Leyshon (Standard support level)
Joined: 05/08/2007
Posts: 23

OK here is the source.
Its a very stripped down version since my app has some
icons and PNGs. Also some code is remove, for instance
remembering when an IP check last occured, again that
sub has been removed.
I've tested it with the code removed and it still used
100% CPU with me.

Thanks, Adam.

[ Download ]
Posted: 05/10/2007 13:07:05
by Eugene Mayevski (EldoS Corp.)

Continued in HelpDesk.

Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.



Topic viewed 4783 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!