Page MenuHomePhabricator

Impose a HardpointEngine future parallelism limit
ClosedPublic

Authored by epriestley on Jun 4 2020, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 4:27 PM
Unknown Object (File)
Feb 22 2024, 10:37 PM
Unknown Object (File)
Feb 19 2024, 6:19 AM
Unknown Object (File)
Feb 14 2024, 12:37 PM
Unknown Object (File)
Feb 7 2024, 11:57 PM
Unknown Object (File)
Jan 15 2024, 6:29 PM
Unknown Object (File)
Jan 11 2024, 12:41 AM
Unknown Object (File)
Jan 10 2024, 2:11 AM
Subscribers
None

Details

Summary

Ref T13546. If we try to resolve several hundred hardpoint queries which execute subprocesses, we can currently hit system limits.

For now, limit resolution to 32 simultaneous futures. In the future, this should switch to FuturePool and possibly become more nuanced.

Test Plan

In a future change, ran arc land --into-empty ... to land thousands of commits. Before change, got a "proc_open()" error when launching too many simultaneous subprocesses. After change, this "worked".

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 5 2020, 7:15 PM
This revision was automatically updated to reflect the committed changes.