Author Topic: Available threads  (Read 1453 times)

Tags:
  • All members
  • Posts: 44
  • Karma: +2/-0
Available threads
« on: Sat, 09 August, 2014, 01:58 »
In 'SETTINGS', I have my 'max number of opened threads' set to 50.

At certain hours of the day/night, max. threads are exceeded because a lot of  sports/markets tend to start at the same time.

How can I prevent to start monitoring a new market when I reached max. opened threads......and also start monitoring new market when thread(s) have become available again?

Cheers!


  • Tim Vetrov
  • Administrator
  • Posts: 3900
  • Karma: +151/-0
  • Gender: Male
*
Re: Available threads
« Reply #1 on: Sat, 09 August, 2014, 07:04 »
Are you aware about BetFair requests limit?
I'm sure if your computer reports about threads limit it's far more than BetFair's limit. Am I right?
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду раз помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 44
  • Karma: +2/-0
Re: Available threads
« Reply #2 on: Sat, 09 August, 2014, 12:27 »
Are you aware about BetFair requests limit?
I'm sure if your computer reports about threads limit it's far more than BetFair's limit. Am I right?

I am VERY aware of the BF charges, but since the latest update of MFP I haven't had BF charges for exceeding the max allowed 20 calls/s. So, Well Done MFP team!  ;)

Max. opened threads is set to 30 default in SETTINGS.

But since my triggers are active on many markets simultaneously with only refresh rate of 1 per 7 secs, I got errors in the Program Log, asking to increase number of threads or increase data req limit,

which I have now set to 6 because I run another copy of MFP on live Horse Racing with a data req limit set to 14.

So I have set in SETTINGS the max number of opened threads to 50 for a few weeks without BF charging, so it seems to be no problem for them, this seems to help a bit, but I think I read in the forum somewhere, it was possible to implement some trigger to prevent from opening a market when max. was reached. Can't seem to find it though.

Cheers!


  • Administrator
  • Posts: 6677
  • Karma: +221/-0
  • Gender: Female
*
Re: Available threads
« Reply #3 on: Mon, 11 August, 2014, 08:16 »
Hi Botfair,

Hmm, two MF Pro copies with 50 threads open in each and you're still running out of available threads... How many markets do you actually refresh simultaneously? It might be not a threads problem, but the memory consumed by the program too.
Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 80
  • Karma: +0/-0
Re: Available threads
« Reply #4 on: Sun, 24 August, 2014, 13:38 »
Try also checking the memory consumption and see what numbers you have there.
Automatic isn't always everything.