[Quickfix-developers] QF hanging in resend scenario
Brought to you by:
orenmnero
|
From: adrien1977 (s. by Nabble.com) <li...@na...> - 2006-01-04 20:58:17
|
Hi We are implementing a component that uses quickfix to connect to another quickfix server. We have noticed a weird scenario that causes our adapter and the server to hang (may because entering a deadlock) We Connect for the first time to the server and send 2000 messages and get the responses. We disconnect and reset the sequence on the server to 1 but keep our sequence the same. We reconnect and obviously we received a resend request from the server. We start blasting the 2000 messages and the server processes them and start sending the messages back to us. However we do not receive these messages (or may be they are queued in QF) because they do not show in the log (but they are in the network. We could see them using a sniffer) While still sending the messages, our adapter stop sending more, and this is because the TCP window on the receiving side is full. However the server is still sending messages that we do not receive. After a while our adapter start sending back message, then stops starts again and finally stops and nothing else happens. I would like to know if it is normal. We are thinking that the thread that received the resend request is the same thread that processes the resend of messages. Since the receiving thread is busy sending the messages if cannot receive any this causing a queue in our side. Is it normal that the receiving thread is blocked when processing a resend? Should not it allowed more messages to come?? We are using the C++ version with Java wrapper. thanks adrien -- View this message in context: http://www.nabble.com/QF-hanging-in-resend-scenario-t852464.html#a2209923 Sent from the QuickFIX - Dev forum at Nabble.com. |