More instances lock on VPS - FXCM

Posted By: Neb

More instances lock on VPS - FXCM - 03/17/21 13:14

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
Posted By: AndrewAMD

Re: More instances lock on VPS - FXCM - 03/17/21 13:46

Try setting NOLOCK.
Posted By: Neb

Re: More instances lock on VPS - FXCM - 03/17/21 16:38

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
Posted By: AndrewAMD

Re: More instances lock on VPS - FXCM - 03/17/21 16:49

No. You set NOLOCK with set(). Read this:
https://zorro-project.com/manual/en/mode.htm
Posted By: Neb

Re: More instances lock on VPS - FXCM - 03/19/21 07:32

Thanks !

Neb
© 2024 lite-C Forums