Re: [Quickfix-developers] Mystery disconnect continues
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-06-01 20:40:03
|
Well, looking at the session, the only thing that I see that could possibly do a disconnect without logging a reason (as of 1.7.1) is if reset() is called. And the most likely culprit may be when it checks the session time. I don't know why but maybe there is some problem that it does not think the session is ready at the time the first logon occurs. Maybe you can print something to the event log before every call to reset() in Session.cpp and see if we can verify that this is where the disconnect is coming from. On Jun 1, 2004, at 2:48 PM, Howard S. Engelhart wrote: > Using qf 1.7.1 > > This is a problem I've seen back to quickfix 1.6.0. The first time > our client sessions attempt to logon in the morning their sessions are > disconnected with no apparent reason. The server completely tears > down all FIX sessions at the end of the day, unloads from memory + > moves old logs out so when it comes up in the morning everything is > fresh, sequence numbers are at 1,1. > > If anyone has an ideas or experience with this type of problem it'd be > appreciated. Relevant logs + cfg below. > > Thanks, > > -Howard > > > Event log > --------------- > 20040601-11:30:02 : Created session > 20040601-12:05:25 : Disconnecting > 20040601-12:09:06 : Received logon request > 20040601-12:09:06 : Responding to logon request > 20040601-12:09:06 : MsgSeqNum too high RECEIVED: 2 EXPECTED: 1 > 20040601-12:09:06 : Sent ResendRequest FROM: 1 TO: 999999 > 20040601-12:09:06 : MsgSeqNum too high RECEIVED: 3 EXPECTED: 1 > 20040601-12:09:06 : Sent ResendRequest FROM: 1 TO: 999999 > 20040601-12:09:07 : Received SequenceReset FROM: 1 TO: 4 > 20040601-12:09:07 : MsgSeqNum too low RECEIVED: 1 EXPECTED: 4 PosDup: Y > > Incoming log > --------------- > 8=FIX.4.0|9=74|35=A|49=CLIENT|56=SERVER|34=1|50=ADMIN|43=N|52=20040601- > 12:05:15|98=0|108=60|10=213| > 8=FIX.4.0|9=74|35=A|49=CLIENT|56=SERVER|34=2|50=ADMIN|43=N|52=20040601- > 12:08:56|98=0|108=60|10=222| > 8=FIX.4.0|9=68|35=1|49=CLIENT|56=SERVER|34=3|50=ADMIN|43=N|52=20040601- > 12:08:56|112=3|10=187| > 8=FIX.4.0|9=95|35=4|49=CLIENT|56=SERVER|34=1|50=ADMIN|43=Y|52=20040601- > 12:08:56|122=20040601-12:08:56|123=Y|36=4|10=001| > 8=FIX.4.0|9=95|35=4|49=CLIENT|56=SERVER|34=1|50=ADMIN|43=Y|52=20040601- > 12:08:57|122=20040601-12:08:57|123=Y|36=4|10=003| > 8=FIX.4.0|9=68|35=0|49=CLIENT|56=SERVER|34=4|50=ADMIN|43=N|52=20040601- > 12:10:01|112=0|10=167| > 8=FIX.4.0|9=68|35=0|49=CLIENT|56=SERVER|34=5|50=ADMIN|43=N|52=20040601- > 12:11:06|112=0|10=174| > 8=FIX.4.0|9=68|35=0|49=CLIENT|56=SERVER|34=6|50=ADMIN|43=N|52=20040601- > 12:12:10|112=0|10=171| > > > Outgoing log > --------------- > 8=FIX.4.0|9=60|35=A|34=1|49=SERVER|52=20040601-12:09: > 06|56=CLIENT|98=0|108=60|10=213| > 8=FIX.4.0|9=62|35=2|34=2|49=SERVER|52=20040601-12:09: > 06|56=CLIENT|7=1|16=999999|10=078| > 8=FIX.4.0|9=62|35=2|34=3|49=SERVER|52=20040601-12:09: > 06|56=CLIENT|7=1|16=999999|10=079| > 8=FIX.4.0|9=48|35=0|34=4|49=SERVER|52=20040601-12:10: > 06|56=CLIENT|10=169| > > > [CLIENT] > BeginString=FIX.4.0 > CheckLatency=N > DataDictionary=/home/sys/conf/FIX40.xml > SenderCompID=SERVER > TargetCompID=CLIENT > > [DEFAULT] > BeginString=FIX.4.2 > CheckLatency=Y > ConnectionType=acceptor > DataDictionary=/home/sys/conf/FIX42.xml > EndTime=23:00:00 > FileLogPath=/home/sys/logs > FileStorePath=/home/sys/logs > MaxLatency=120 > ResetOnDisconnect=N > ResetOnLogout=N > SenderCompID=SERVER > SocketAcceptPort=9100 > SocketReuseAddress=Y > StartTime=12:00:00 > UseDataDictionary=Y > ValidateFieldsHaveValues=N > ValidateFieldsOutOfOrder=Y > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |