Jump to content
UBot Underground

Pete_UK

Members
  • Content Count

    133
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Pete_UK

  1. Hello Guys,

     

    I did some testing with Ubot and Threads recently. And I would like to give you a short update about my experience....

    ...

    ...

     

    1. Use a global variable to count threads

     

    This is not working correctly!

    I have seen two major issues with it.

     

    1. Threads are slowly going down. If you run a loop with 5000 repetitions. You will have the full amount of threads at the beginning. But very quickly it will go down and only run 1-5 threads in parallel. Even going down to only 1 thread. 

     

    2. The global variable is not counting correctly. If you run 1000 loops with 1000 x increase and 1000 x decrease the variable should be 0 at the end. But that's not the case.

     

     

    Status V4.2.20:  Error is happening and can be reproduced with the attached test script. 

    Status V5.0.10 : Still happening. The threads decrease starts later than in V4. But after 2000 loops it will also go down to a single thread.

     

    ..

    ..

     

    I thought I would revisit this old thread and run the first test. Every time I run I get 5000 in the table. All seems to work okay.

    I increased the loop to 50k ... all runs fine too.

     

    Is threading working okay now and I missed the announcement or am I missing something?

  2. This new update should solve your issue.

    http://i.imgur.com/MZURH2p.png

     

    Perfect.

     

    Yes, with the dynamic worker bot scenario you can start a "mindless" bot so to say, that reads the parameter you send it and executes the raw Ubot code.

     

    Thought so. Thanks for confirming.

     

    A tip of my hat to you for making this plugin. Opens up so many doors. And the support.... outstanding!

  3. When a server bot is called it could take quite a long time to run. In my testing I am seeing a timeout at around the 100 seconds if the server does not respond in that time frame.

     

    Is there a way to increase / decrease the Timeout period?

    Is there a way to keep the connection alive?

     

    This is the scenario I have...

     

    Controller bot loops through a list of URL's and calls a server bot for each url in the list

    The Server bot can some time takes 10 seconds to do it processing before returning the results to the controller. But other times it could take 5 mins or 10 mins etc..

    So anything above the 100 seconds limit i am seeing at the moment causes a time out error and the link between controller and server is broken.

    I have additional follow-on processes where the controller will call other server bots afterwards.

     

    Can you give some advise on how I can handle this?

     

    Thanks,

    Pete

×
×
  • Create New...