submit 500+ jobs at once, webportal stuck.
I test PAI this days. And I found the webportal stuck, when I submitted 4000 or 1000 jobs at once. I checked the server and found the error "out of memory". So I reduced the number of jobs to 500, "out of memory" error was gone, but the webportal still stuck. I checked the cpu and found JAVA CPU usage exceeded 700% sometime.
I submit 150 jobs at once today, first 21 jobs successes. then it throws connection error, and webportal stuck, after 1 or 2 minute it comes to normal.
So, here is my question:
- could you guys help me fix this problem?
- how many jobs PAI can handle at once?
- how can I improve the parallel processing capability of PAI?
Any help will be appreciated we synchronize the code at 17th April
-
we are aware of this issue. The problem is addressed in this PR, which is included in 0.4.1.
-
submitting a large amount of jobs at the same time is not recommended though. We plan to throttle the API calling rate in the future. https://github.com/Microsoft/pai/issues/456
-
The parallel processing capability of PAI depends on the scale of the cluster PAI runs on.