pai icon indicating copy to clipboard operation
pai copied to clipboard

submit 500+ jobs at once, webportal stuck.

Open feng257 opened this issue 8 years ago • 1 comments

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:

  1. could you guys help me fix this problem?
  2. how many jobs PAI can handle at once?
  3. how can I improve the parallel processing capability of PAI?
    Any help will be appreciated we synchronize the code at 17th April

feng257 avatar May 02 '18 02:05 feng257

  1. we are aware of this issue. The problem is addressed in this PR, which is included in 0.4.1.

  2. 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

  3. The parallel processing capability of PAI depends on the scale of the cluster PAI runs on.

fanyangCS avatar May 02 '18 02:05 fanyangCS