Process hangs when running on batch

0

Hey,
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?

Netanel
gefragt vor 4 Jahren249 Aufrufe
1 Antwort
0

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

Netanel
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen