Bug report: Error when running multiple MT5 terminals - page 5

 
Nicolas Gilles Capot Klein #:

When I open the 11th MT5 It is the 11 MT5s that suddenly become very slow. While with 10 MT5 open all works fine.

If there are broader Windows problems - and I increasingly suspect that there aren't - then they will be very obvious. The OP's description and fxsaber's link don't just involve Windows becoming slow. The user interface of things like Windows Explorer will start fundamentally misbehaving because, in a very specific sense and area, they've run out of memory.

If it's just slow, without the broader problems and the log entries which the OP described, then you can try settings changes such as the one I've posted previously. But I think it's more likely that you're hitting a limit such as the server's maximum disk I/O. I'd look at the various server metrics as you add each MT5 instance in turn, and see if any of them stop increasing.

 
@Nicolas Gilles Capot Klein #: WOW: you just describe my dream! :) ( And actually I don't need 30 MT5 lol )

Let me ask you a few preliminary questions which should aid in doing some investigation and narrow down possible causes of issues.

If running a single terminal (with nothing else running on your server), what are the following metrics?

  • How much RAM does that single terminal consume?
  • How much CPU percentage is used?
  • What is the average Disk I/O?
  • How many Charts and EAs do you have running on that terminal?
  • How many Indicators do the EAs use?
  • Do you have Indicators running on the charts (ideally there shouldn't be any Indicators on the chart as EAs use them directly)?
  • How many max bars is set for charts?

Give us details on these, and we will take it step by step to first improve your MetaTrader resource footprint, before looking at Windows Server itself.

Also, to aid in this, bring up the MetaTrader Task Manager (F2) and provide a screenshot of it (you can obfuscate the EA names if you wish).

 
fxsaber #:

Click on the picture to see how slow another user's GUI is. It's hard to say what the reason is.

Thanks. My MT5s run smoother than this when I have 10 open. Then with 11, they are much slower than that.

 
Fernando Carreiro #:

Let me ask you a few preliminary questions which should aid in doing some investigation and narrow down possible causes of issues.

If running a single terminal (with nothing else running on your server), what are the following metrics?

  • How much RAM does that single terminal consume?
  • How much CPU percentage is used?
  • What is the average Disk I/O?
  • How many Charts and EAs do you have running on that terminal?
  • How many Indicators do the EAs use?
  • Do you have Indicators running on the charts (ideally there shouldn't be any Indicators on the chart as EAs use them directly)?
  • How many bars do you have per chart?

Give us details on these, and we will take it step by step to first improve your MetaTrader resource footprint, before looking at Windows Server itself.

Also, to aid in this, bring up the MetaTrader Task Manager (F2) and provide a screenshot of it (you can obfuscate the EA names if you wish).




Currently it does not consume CPU because the markets are closed. I will check when the markets are open.

 
Nicolas Gilles Capot Klein #:




Currently it does not consume CPU because the markets are closed. I will check when the markets are open.

Could you please try the registry tweak ? so we could move forward with this issue.

I can help you if you need it.

 
Alain Verleyen #:

Could you please try the registry tweak ? so we could move forward with this issue.

I can help you if you need it.


Yes I had made the modification in the registry but it did not help. (I had restarted the server after the modification, I restart my server every week)

 
Nicolas Gilles Capot Klein #:


Yes I had made the modification in the registry but it did not help. (I had restarted the server after the modification, I restart my server every week)

Ah ok, good.

So it confirms, it's a Windows Server issue, most probably...now how to solve it is an other question.

 
Nicolas Gilles Capot Klein #:
I have windows server 2019. Thanks I will try.
Is that the same as your Windows Server 2016 ?