Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many open files #56

Merged
merged 7 commits into from
Apr 8, 2016
Merged

Too many open files #56

merged 7 commits into from
Apr 8, 2016

Conversation

laughedelic
Copy link
Contributor

When a worker processes too many tasks, it exceeds the limit of open files, because it deletes working directory for every task, but it stays in somewhere as an open descriptor or whatever. See ohnosequences/mg7#26 for details.

…the task processing part; transfer manager is global for all tasks
@laughedelic
Copy link
Contributor Author

TODO:

  • remove workingDir ref from the config
  • catch the exception of too many open files and kill the instance

laughedelic added a commit to ohnosequences/mg7 that referenced this pull request Mar 7, 2016
This milestone release is huge. It contains a lot of improvements and some important fixes. Here are some higlights:

* Features and improvements:
  - #4, #15: The BLAST reference database and IDs mapping is now configurable
  - #17: Added RNACentral reference DB (as the default one now)
  - #18: BLAST options are now configurable
  - #16: A dataflow API was improved and a pipeline without the Flash step was added
  - ~~#20~~ #24: For pipelines without Flash you can choose between FASTA and FASTQ input format
  - Output tables improvements:
    + #10: Added CSV-headers
    + #19, #23, #27: Added _taxonomic rank_ and _name_ columns
    + #6: Split each counts table on two: direct/accumulated
    + #30: Zero direct counts are filtered out

* Important fixes:
  - #28: Bio4j-NCBITaxonomy database was updated with an important fix for the taxonomic names
  - #26: Ongoing effort to solve the "Too many open files" exception has been moved to [ohnosequences/loquat#56](ohnosequences/loquat#56)

See the full list of pull requests merged in this release in the [v1.0-M2 milestone](https://github.com/ohnosequences/mg7/issues?q=milestone%3Av1.0-M2).
@laughedelic laughedelic modified the milestones: v2.0, v2.0-M8 Mar 8, 2016
@laughedelic laughedelic self-assigned this Mar 8, 2016
@laughedelic
Copy link
Contributor Author

@eparejatobes review, please. I've done what's written above plus some changes from our experiments.

@@ -212,6 +209,7 @@ class DataProcessor(
)
}

transferManager.shutdownNow(false)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I'm not sure this should be here.. "_

@laughedelic laughedelic merged commit 9b247e6 into master Apr 8, 2016
laughedelic added a commit that referenced this pull request Apr 8, 2016
@laughedelic laughedelic deleted the bug/too-many-open-files branch April 8, 2016 13:26
laughedelic added a commit that referenced this pull request Apr 15, 2016
* #56: Some improvements to the resource handling and a temporary solution for the "Too many open files" issue.
* #59, #62: Added a configuration option to switch skipping empty output files on upload (on by default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

1 participant