Local Farm Agents fail in Strategy Tester

 
My local farm agents fail once in a while. They work well for days and then suddenly my strategy tester cannot use the local farm agents anymore. I have tried a lot, updated all agents software, disabled firewall and so forth. But nothing really helps. Does anyone have similar issues with strategy tester and local farm agents? Any helpful tipps are very appreciated !
The Fundamentals of Testing in MetaTrader 5
The Fundamentals of Testing in MetaTrader 5
  • www.mql5.com
What are the differences between the three modes of testing in MetaTrader 5, and what should be particularly looked for? How does the testing of an EA, trading simultaneously on multiple instruments, take place? When and how are the indicator values calculated during testing, and how are the events handled? How to synchronize the bars from different instruments during testing in an "open prices only" mode? This article aims to provide answers to these and many other questions.
 
There was recently just such a question and the solution, found by the one who asked: https://www.mql5.com/en/forum/378527#comment_25571024
MT5 Local Network Farm on Ryzen
MT5 Local Network Farm on Ryzen
  • 2021.09.27
  • www.mql5.com
I got several computers here, let me list them down: PC-R = AMD Ryzen 9 5950X 16C32T PC-5 = Intel Core i5-10400 6C12T PC-9 = Intel Core i9-10900F 1...
 
2021.11.01 20:42:06.079 DESKTOP-09U6M4D:2003 connection closed
2021.11.01 20:42:06.079 DESKTOP-09U6M4D:2007 connection closed
2021.11.01 20:42:06.098 LennsPc:2000 common synchronization completed
2021.11.01 20:42:06.098 LennsPc:2003 common synchronization completed
2021.11.01 20:42:06.098 LennsPc:2001 common synchronization completed
2021.11.01 20:42:06.098 LennsPc:2002 common synchronization completed
2021.11.01 20:42:06.103 LennsPc:2001 connection closed
2021.11.01 20:42:06.103 LennsPc:2003 connection closed
2021.11.01 20:42:06.103 LennsPc:2000 connection closed
2021.11.01 20:42:06.103 LennsPc:2002 connection closed
2021.11.01 20:42:06.126 LennsPc:2006 common synchronization completed
2021.11.01 20:42:06.126 LennsPc:2004 common synchronization completed
2021.11.01 20:42:06.126 LennsPc:2005 common synchronization completed
2021.11.01 20:42:06.128 LennsPc:2004 connection closed
2021.11.01 20:42:06.128 LennsPc:2005 connection closed
2021.11.01 20:42:06.128 LennsPc:2006 connection closed
2021.11.01 20:42:06.140 LennsPc:2007 common synchronization completed
2021.11.01 20:42:06.142 LennsPc:2007 connection closed


It seems to close the connection all the time ... I have no clue why ...

 
I found a solution myself: when I restart the remote agents everything seems to work again ... thats not a very nice "solution" but at least I can work around that stability issues ...
 

You can post you problem (well documented if you want a change) in the thread of the last MT5 update. Right now it is: https://www.mql5.com/ru/forum/380278.

Use the translation button to post a Russian text.

Новая версия платформы MetaTrader 5 build 3091: Улучшения в работе
Новая версия платформы MetaTrader 5 build 3091: Улучшения в работе
  • 2021.10.22
  • www.mql5.com
В пятницу 22 октября 2021 года будет выпущена обновленная версия платформы MetaTrader 5...
 

Here is the remote agent log, when the agent is working:

RQ 0 14:35:40.293 192.168.178.158 login (build 3050)

JF 0 14:35:40.312 Tester account info found with currency EUR

JR 0 14:35:40.313 Network 1470 bytes of tester parameters loaded

LF 0 14:35:40.313 Network 79548 bytes of input parameters loaded

NN 0 14:35:40.313 Network 105924 bytes of optimized inputs info loaded

PD 0 14:35:40.315 Tester successfully initialized

CR 0 14:35:40.315 Network 11 Kb of total initialization data received

LI 0 14:35:40.315 Tester AMD Ryzen 5 3600 6-Core, 65483 MB

KL 0 14:35:40.317 Tester optimization pass 34 started

CG 0 14:35:40.326 Symbols USDCAD: symbol to be synchronized

OM 0 14:35:40.329 Symbols USDCAD: symbol synchronized already, 18 bytes received

FI 0 14:35:44.006 Tester 34 OnTester result 100000000000000 : passed in 0:00:03.687

CN 0 14:35:44.006 Tester optimization finished

GJ 0 14:35:44.006 Tester optimization pass 35 started

LP 0 14:35:44.008 192.168.178.158 prepare for shutdown

NK 0 14:35:44.029 optimize Experts\volumeman\2_Staging\MeanReversionAdvisor.ex5 on USDCAD,M15 thread finished


And here the log, when the agent is not working anymore:

PK 0 14:45:24.397 192.168.178.158 login (build 3050)

IL 0 14:45:24.402 Tester account info found with currency EUR

KD 0 14:45:24.403 Network 79548 bytes of input parameters loaded

MO 0 14:45:24.403 Tester successfully initialized

NR 0 14:45:24.403 Network 3913 bytes of total initialization data received

GR 0 14:45:24.403 Tester AMD Ryzen 5 3600 6-Core, 65483 MB

DF 0 14:45:24.404 Tester optimization pass 8 started (batch of 4 tasks)

MS 0 14:45:24.404 192.168.178.158 prepare for shutdown


The thread does not finish anymore, which is the reason why the agent cannot be used anymore during my testing.


Does anyone have an idea why the agent thread may remain open?


 

Still having the issue that flocal farm agents not working after a while in backtesting whith MetaTester.

I noticed that the USD symbols may only generate the problem.

Does anyone have an idea or tipp ? 

 
Niklas Rolf Alexander Schlimm #:

Still having the issue that flocal farm agents not working after a while in backtesting whith MetaTester.

I noticed that the USD symbols may only generate the problem.

Does anyone have an idea or tipp ? 

sounds like something you need to be asking support, so they can forward the question onto mq.

 
Revo Trades #:

sounds like something you need to be asking support, so they can forward the question onto mq.

Where can I post something to MetaQuotes. Could not find it directly in mql5.com.

Sorry, for asking that. My first issue that I would forward to support ...

 

At the bottom of the page.

Contact Us
Contact Us
  • www.mql5.com
Send your messages and see the history of your requests to the mql5.com support team even if you are not registered on the website.
 
Niklas Rolf Alexander Schlimm #:

Here is the remote agent log, when the agent is working:

RQ 0 14:35:40.293 192.168.178.158 login (build 3050)

JF 0 14:35:40.312 Tester account info found with currency EUR

JR 0 14:35:40.313 Network 1470 bytes of tester parameters loaded

LF 0 14:35:40.313 Network 79548 bytes of input parameters loaded

NN 0 14:35:40.313 Network 105924 bytes of optimized inputs info loaded

PD 0 14:35:40.315 Tester successfully initialized

CR 0 14:35:40.315 Network 11 Kb of total initialization data received

LI 0 14:35:40.315 Tester AMD Ryzen 5 3600 6-Core, 65483 MB

KL 0 14:35:40.317 Tester optimization pass 34 started

CG 0 14:35:40.326 Symbols USDCAD: symbol to be synchronized

OM 0 14:35:40.329 Symbols USDCAD: symbol synchronized already, 18 bytes received

FI 0 14:35:44.006 Tester 34 OnTester result 100000000000000 : passed in 0:00:03.687

CN 0 14:35:44.006 Tester optimization finished

GJ 0 14:35:44.006 Tester optimization pass 35 started

LP 0 14:35:44.008 192.168.178.158 prepare for shutdown

NK 0 14:35:44.029 optimize Experts\volumeman\2_Staging\MeanReversionAdvisor.ex5 on USDCAD,M15 thread finished


And here the log, when the agent is not working anymore:

PK 0 14:45:24.397 192.168.178.158 login (build 3050)

IL 0 14:45:24.402 Tester account info found with currency EUR

KD 0 14:45:24.403 Network 79548 bytes of input parameters loaded

MO 0 14:45:24.403 Tester successfully initialized

NR 0 14:45:24.403 Network 3913 bytes of total initialization data received

GR 0 14:45:24.403 Tester AMD Ryzen 5 3600 6-Core, 65483 MB

DF 0 14:45:24.404 Tester optimization pass 8 started (batch of 4 tasks)

MS 0 14:45:24.404 192.168.178.158 prepare for shutdown


The thread does not finish anymore, which is the reason why the agent cannot be used anymore during my testing.


Does anyone have an idea why the agent thread may remain open?


What build is the agents ? the main Strategy Tester ?

Reason: