Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, howardR, sleakz), 674 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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 Offline
Serious User
AndrewAMD  Offline
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 Offline
Serious User
AndrewAMD  Offline
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