I've successfully identified the bug with the latest HRD version and
reported it.
Turns out HRD Logger stacks up its commands. So if one command is delayed
for any reason Logger just keeps slamming commands at HRD.
The thread servicing that client will starve the other threads. Once it's
caught up it then services the other threads but that can take a while (I've
seen up to 23 seconds).
So yes.preventing WSJT-X and HRD Logger/DM780 from running together solves
the problem.
I'm also running with a 30-second socket timeout right now and that also
solves the problem until HRD fixes their software.
It's an easy fix.a one-liner is to have the thread yield after each command.
The real fix is to prevent Logger and DM780 from stacking commands. If it's
a 1-second poll it should be 1 second AFTER the reply is received.but it
appears to be after the command is sent.
WSJT-X doesn't stack commands like that.
Mike W9MDB
From: Dan Malcolm [mailto:dmalcol...@mchsi.com]
Sent: Friday, September 05, 2014 3:47 PM
To: 'WSJT software development'
Subject: Re: [wsjt-devel] HRD tcp bug
I don't have a fix but I do have an observation. I have run WSJT-X
v1.3.r3673 in two scenarios:
1. JTAlert starts WSJT-X. WSJT-X is set to work through HRD which is
already started.
2. HTAlert start WSJT-X and HRD Log. HRD is not running. WSJT-X
directly controls my FT-950.
In both cases WSJT-X runs successfully and without fuss. JTAlert is V2.4.20
and prior to that V2.4.19.
I am not sure if this helps or hinders but on the off chance it helps, I
thought I'd let you know and then stay out of the way. Good Luck.
____________________________
Dan Malcolm CFI/II
K4SHQ
The best prayer ever said: "Lord please make me the
kind of person my dog thinks I am."
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel