Skip to content

Samples: uploadDirectory.js, Too many open files error. #1865

@SMKH-PRO

Description

@SMKH-PRO

Error: EMFILE, too many open files.

This error is appearing when I am uploading a directory that contains thousands of files around 4-5k+ files.

  1. Is this a client library issue or a product issue?
    The issue is in the uploadDirectory sample.

  2. Did someone already solve this?
    No

  3. Do you have a support contract?
    No

Environment details

  • OS: Google Cloud Run Container
  • Node.js version: 14
  • @google-cloud/storage version: 5.18.3

Steps to reproduce

  1. Try to upload a directory with 5k+ file

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Labels

api: storageIssues related to the googleapis/nodejs-storage API.duplicateneeds more infoThis issue needs more information from the customer to proceed.priority: p2Moderately-important priority. Fix may not be included in next release.status: duplicateDuplicate.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions