Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, Nymphodora), 1,012 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
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,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
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