Weekly batch stuck #178
-
It seems that the weekly batch 79 is stuck at 40 of 1000. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
@zl0v7hzr Thank you for the report! This is really helpful, as the issue is resulting in unnecessary and expensive cloud costs. I have not yet identified the root cause, but it appears that the Docker containers are failing to communicate with the HTTP client, which is preventing new matchings from being created. I am going to restart the VM and then attempt to manually resume the matching process. |
Beta Was this translation helpful? Give feedback.
-
@smly I found that my bot much more frequently timed out (resulting in error type events) after you restarted the weekly batch. Were there any background tasks running on the server that used some significant CPU? (such as I believe somehow my bot took more than 3 times the normal time to produce some actions, but the time for my bot to derive each action should be almost the same regardless of the game states, so it must be that the actual CPU time available to my bot was much less than 2 seconds (probably less than 1 second) for those. My bot run without any errors for the last weekly batch, but it suddenly timed out in the same game multiple times, and the timeouts happened close to each other in time. So I suspect that there were some other CPU intensive background tasks running. Thank you! |
Beta Was this translation helpful? Give feedback.
Okay! I've finally changed my mind. Increasing the timeout from 10 to 20 definitely seems worth it. I will fix it now.
I'm still not sure of the root cause, but it's possible that the HDD performance on the VM has degraded.
I'm confident that old containers are deleted before the match is resumed. I will comment later with more details, as I have something to do from 20:00 JST. Sorry!
Changes regarding the timeouts
I've manually stopped the batch processing now. I will restart the batch processing AFTER changing the following two timeouts:
start_kyoku
andstart_game
from 10 to…