Pushing causes "Too many open files" (EMFILE)

Summary

On a builder for Freedesktop SDK we often have failures happening during push.

Note, most of the time there is nothing to push, the ref is already on all the servers. And the error happens.

The pushers number is default (should be 4). The fetchers number is reduced to 5.

Example of logs:

This is using BuildStream 1.4.3.

Steps to reproduce

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Possible fixes

Other relevant information

  • BuildStream version affected: /milestone %BuildStream_v1.x