Project

General

Profile

Actions

Bug #12196

closed

[crunchstat-summary] avoid opening too many files at once when working on a large container tree

Added by Tom Clegg over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
-
Story points:
-

Description

The new --threads argument limits CPU and memory use, so now instead of crashing on a large (500+ container) workflow, crunchstat-summary prints lots and lots of stack traces about "too many open files" and "response not ready".

Presumably this is because it opens all of the log files up front -- only the reading/processing part is funnelled through the worker pool. In that case, it can be fixed by deferring open() until processing starts (and fixing any FD leaks).


Related issues

Related to Arvados - Bug #10359: [crunchstat-summary] Limit concurrency to keep memory use under controlResolvedTom Clegg10/26/2016Actions
Related to Arvados - Idea #11309: [Crunch2] crunchstat-summary --container UUID should summarize container logsResolvedTom Clegg08/16/2017Actions
Actions #2

Updated by Tom Clegg over 6 years ago

  • Status changed from New to Resolved
  • Assigned To set to Tom Clegg
Actions

Also available in: Atom PDF