Skip to content
Bug Barometer
All issues
Solution Scheduled

Platform / Developer Tools

SFDX Deploy error EMFILE: too many open files

Summary

When running sfdx:source:deploy customer is getting the following error -

ERROR running force:source:deploy: EMFILE: too many open files, open '/var/lib/jenkins/workspace/SFDC-qe/deployment/main/default/objects/filegen__File_Header_Record__c/fields/xyz__c.field-meta.xml'
Error: Command failed: sfdx force:source:deploy -p deployment -w 60 -g

They have approx 15000+ components in their Jenkins build.


Note: Also check the below github for status updates
https://github.com/forcedotcom/cli/issues/494

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Scheduled with 79 reports

    Nov 30, 2026