Threaded functions big waiting for resource time (30mins+)



    • not sure if its about threaded functions or about resources or about both
    • applies even when wait for resource is unchecked
    • the more threads your multithreaded function has, the longer waiting time will be
    • bot works at same speed during whole time, but at the end, when theres X number of resources left, it will sickly slow down (X is about 150% of the threads you started function with, so if you started function with 10 threads, it may start this ugly behavior when theres 15 resources left, thats what i observed but not sure)
    [58875839] [17:51:34] Thread #91 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #114 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #207 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #214 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #231 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #239 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #256 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:34] Thread #268 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #12 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #20 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #24 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #29 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #38 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #52 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #59 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #74 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #82 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #98 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #127 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #178 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #190 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #209 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #219 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:35] Thread #250 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #5 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #18 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #47 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #49 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #50 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #55 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #58 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #67 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #76 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #83 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #84 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #95 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #102 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #117 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #119 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #125 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #126 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #130 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #131 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #139 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #140 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #164 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #174 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #212 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #221 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #228 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #243 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #251 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #278 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:36] Thread #280 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #40 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #153 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #157 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #167 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #180 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #186 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #197 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #217 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #232 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #233 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #249 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #260 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #270 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:37] Thread #297 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #3 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #9 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #28 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #45 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #66 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #68 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #77 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #94 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #113 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #128 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #132 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #135 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #147 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #163 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #189 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #192 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #204 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #208 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #215 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #225 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #235 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #257 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #259 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #272 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:38] Thread #290 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #4 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #10 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #19 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #23 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #33 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #35 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #51 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #54 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #57 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #61 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #78 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #86 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #88 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #93 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #97 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #101 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #110 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #118 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #122 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #124 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #136 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #150 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #169 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #173 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #175 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #184 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #185 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #195 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #202 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #266 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #273 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:39] Thread #298 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #106 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #121 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #142 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #144 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #145 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #149 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #156 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #158 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #160 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #218 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #229 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #241 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #245 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #246 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:40] Thread #253 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #2 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #7 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #31 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #60 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #134 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #141 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #155 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #161 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #168 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #188 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #216 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #227 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #230 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #238 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #254 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #264 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #265 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #269 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:41] Thread #296 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #11 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #13 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #15 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #26 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #30 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #32 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #71 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #103 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #108 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #143 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #151 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #162 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #177 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #179 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #199 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #205 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #206 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #210 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #211 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #223 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #261 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #263 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #277 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #281 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:42] Thread #299 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #14 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #27 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #37 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #39 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #70 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #73 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #81 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #85 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #96 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #100 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #111 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #112 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #120 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #159 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #170 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #191 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #196 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #198 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #213 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #224 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #226 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #244 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #252 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #271 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #274 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #282 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #284 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #288 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:43] Thread #289 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #41 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #42 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #56 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #65 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #80 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #87 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #104 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #109 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #137 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #148 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #182 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #183 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #200 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #255 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #258 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #275 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:44] Thread #287 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #16 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #22 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #46 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #69 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #90 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #105 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #133 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #181 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #220 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #222 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #283 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #285 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #295 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:45] Thread #300 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:46] Thread #34 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:46] Thread #286 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:47] Thread #63 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:47] Thread #79 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:47] Thread #293 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:48] Thread #89 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:49] Thread #129 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:51:50] Thread #267 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:53:57] Thread #276 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:54:02] Thread #53 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:54:25] Thread #166 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:54:28] Thread #194 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:54:48] Thread #115 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:54:50] Thread #203 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:56:00] Thread #75 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:56:24] Thread #152 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:57:06] Thread #262 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:57:28] Thread #123 : Waiting for resource INPUT_RESOURCE
    [58875839] [17:59:45] Thread #176 : Waiting for resource INPUT_RESOURCE
    [58875839] [18:04:00] Thread #92 : Waiting for resource INPUT_RESOURCE
    

    i started function with 300 threads on FAST pc and it was working smoothly without eating too many PC resources.

    there were about 100k 'lines' or 'resource elements' in resources. one 'resource element' should take about 30 seconds to do the task then pick another element. or less.

    right now 260 threads finished and theres 40 more to go but i will have to cancel it probably, because as you can see, the last thread took 5 min to finish since prelast thread. and first thread finished 15 minutes before last thread. and theres still 40 to go.

    this is really weird behavior because 260 threads finished and 40 threads do idk what...

    Im getting this on smaller functions too (from 10 threads+)

    i will attach example project later because this one is part of bigger, complex project so i cant attach it

    PS how I usually workaround this, is:

    1. resource to list
    2. add 20% of that list to the back of the list with merge list feature
    3. list to resource
    4. add block "when resource number <= 20% (fixed number, not %) end script instantly

    this way I get around this bug and I get 100% of elements in resource done, since i readded last 20% of elements, then caused the script to finish when its about 20% left. with that i can end it instantly.



  • @yourfriendkarol

    Your threading issues get me so curious! You'll need to start sending your projects(s) into @Fox or @support so they can dissect the code to find the cause of these effects bud.


Log in to reply
 

  • 2
  • 4
  • 15
  • 3
  • 3
  • 2
  • 1
  • 1