Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, Quad), 768 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
More instances lock on VPS - FXCM #482687
03/17/21 13:14
03/17/21 13:14
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
Hi,

I have 3-4 Zorro instances (diff folders), running on the same VPS, using FXCM plugin
to connect to diff username accounts on FXCM.

From time to time, one of the Zorro thread is locking another one (Showing in wait events) which freezes.
Is there any way to improve performances and stop locking ?

Thanks,

Neb

Re: More instances lock on VPS - FXCM [Re: Neb] #482688
03/17/21 13:46
03/17/21 13:46
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Try setting NOLOCK.

Re: More instances lock on VPS - FXCM [Re: Neb] #482690
03/17/21 16:38
03/17/21 16:38
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
Hey Andrew,

Hope all well ?

Do you think on something like this ?

if (is(INITRUN))
{
setf(NOLOCK,1);
}


Cause I did not find any example and Zorro is finally not complaining on this one laugh


Thanks,

Neb

Re: More instances lock on VPS - FXCM [Re: Neb] #482691
03/17/21 16:49
03/17/21 16:49
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
No. You set NOLOCK with set(). Read this:
https://zorro-project.com/manual/en/mode.htm

Re: More instances lock on VPS - FXCM [Re: Neb] #482720
03/19/21 07:32
03/19/21 07:32
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
Thanks !

Neb


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1