{{Quickfixn}} SeqNum sync

Dominique Normand dominique.normand at gmail.com
Wed Jan 9 06:07:55 PST 2019


Are you sending messages from concurrent threads?

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Mike Gatny
Sent: January-09-19 8:47 AM
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} SeqNum sync

 

This should never happen because the only place where the sender seqnum is incremented is in Session.SendRaw, which is protected by a mutex.

 

So:: are you doing something unusual like calling IncrNextSenderMsgSeqNum manually?  Or manually setting the MsgSeqNum field on your messages?

 

Also:

- Which version of quickfix/n are you using? The latest is v1.8.0.

- Can you post some more of that message log, i.e. after the heartbeat where 34=1364?

 

--

Mike Gatny

Connamara Systems

 

 

On Wed, Jan 9, 2019 at 6:29 AM Gabe Barwick <barwickhome at hotmail.com <mailto:barwickhome at hotmail.com> > wrote:

Hi,

 

I am regularly (1 or 2 times per day) sending FIX messages with SeqNum out of sequence.

 

20190107-11:43:31.174 : 8=FIX.4.4 9=70 35=0 34=1361 49=SenderID 52=20190107-11:43:31.143 56=TargetID 10=192 

20190107-11:44:01.122 : 8=FIX.4.4 9=0070 35=0 49=TargetID 56=SenderID 34=1415 52=20190107-11:44:01.123 10=028 

20190107-11:44:01.186 : 8=FIX.4.4 9=70 35=0 34=1362 49=SenderID 52=20190107-11:44:01.153 56=TargetID 10=192 

20190107-11:44:31.141 : 8=FIX.4.4 9=0070 35=0 49=TargetID 56=SenderID 34=1416 52=20190107-11:44:31.141 10=032 

20190107-11:44:31.187 : 8=FIX.4.4 9=70 35=0 34=1363 49=SenderID 52=20190107-11:44:31.165 56=TargetID 10=199 

20190107-11:45:01.160 : 8=FIX.4.4 9=0070 35=0 49=TargetID 56=SenderID 34=1417 52=20190107-11:45:01.160 10=032 

20190107-11:45:01.404 : 8=FIX.4.4 9=209 35=D 34=1365 49=SenderID 52=20190107-11:45:01.393 56=TargetID <Hidden> 10=102 

20190107-11:45:01.408 : 8=FIX.4.4 9=70 35=0 34=1364 49=SenderID 52=20190107-11:45:01.198 56=TargetID 10=204 

 

What might be causing QuickFixN to do this?

 

How can I minimise the number of times this happens?

 

Lawrence

_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com <mailto:Quickfixn at lists.quickfixn.com> 
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20190109/0720cf54/attachment.htm>


More information about the Quickfixn mailing list