By using AWS re:Post, you agree to the Terms of Use

Process hangs when running on batch


I'm running my code on aws batch and after finishing code similar to below, it hangs.

 with Pool(processes=6) as pool:
    pool.starmap(self.some_function,[[...] for ind,x in enumerate(list)])

When running it on my computer, there is no problem.
it seems that the configurations on my machine and on batch are the same.
Is there a known problem about running multiple processes on ecs?

asked 3 years ago14 views
1 Answer

It was insufficient resources. starmap does not alert about that.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions