[QFJ-875] SendingTime accuracy problem Created: 16/Feb/16 Updated: 23/Aug/16 Resolved: 23/Aug/16 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.6.0 |
Fix Version/s: | None |
Type: | Other | Priority: | Major |
Reporter: | Cedric Zeng | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | QuickfixJ | ||
Environment: |
Use Eclipse to run QuickFIX/J |
Attachments: | Sample Code to QFJ.xlsx Sample Log to QFJ.xlsx |
Description |
Hi, I'm running QuickFIX/J for 8 months and still cannot solve this issue. The problem is that sometimes machine will have a time lag to receive the message. Once the time lag is over 30 seconds, our side will report a "SendingTime accuracy problem" issue to broker and asked log-out. After I modified the code, the frequency drops a lot. But it still happens one time per day. Do you have any idea why this problem keeps happening? — 8=FIX.4.3|9=69|35=0|49=BrokerQuote|56=Client123|34=670|57=FX|52=20160215-07:55:34.743|369=5|10=074| |
Comments |
Comment by Guido Medina [ 16/Feb/16 ] |
30 seconds is unlikely to be the time source which is feeding your servers but just in case here is a long shot: I have seen time offsets for networks where the time source is not reliable or even set, if you could make sure your time source in the network is being updated via internet time servers and the same for the other side if you can since the other side might be out of your hands. If you are using Linux even better because you can set your NTP servers to the closest pool. I would recommend you to use time sources from http://www.pool.ntp.org/en/ Hope this helps, Guido. |
Comment by Cedric Zeng [ 17/Feb/16 ] |
Hi Guido, Thanks your advice. I want to investigate why the system get jammed but I don't know how to start. Thanks. |
Comment by Guido Medina [ 17/Feb/16 ] |
Again another long shot as what I'm trying to do is trying to help you with my little available time with easy fixes/suggestions, few questions:
Go and check Mina-core page which has the list of fixed issues: https://mina.apache.org/mina-project/index.html and see if any of these fixes your problem, but regardless I would recommend you to revised your dependencies and update them from time to time. Hope this helps, Guido. |
Comment by Guido Medina [ 17/Feb/16 ] |
Another question I forgot: Are you seeing long GC pauses at any side? And that would lead us to another different which is your JVM configuration and hence my question, what JVM are you using and what are your JVM options. Note: I have seen crazy GC pauses of more than 30 secs but then you would have to be using a big heap size like 16g+ or so. |
Comment by Christoph John [ 18/Feb/16 ] |
Cedric, |
Comment by Guido Medina [ 18/Feb/16 ] |
Hi Cedric, I have to agree with Christoph there, I would check the following in the following order:
|
Comment by Cedric Zeng [ 19/Feb/16 ] |
Hi Guido, For your questions,
For Christoph suggestion, For update, Thanks Guido and Christoph suggestions. You are very kind and helpful. Regards, |
Comment by Christoph John [ 23/Aug/16 ] |
If there are any more problems, please write to the mailing list. Thanks |