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)
Sat, Dec 28, 7:24 AM
Unknown Object (File)
Sat, Dec 21, 1:54 AM
Unknown Object (File)
Fri, Dec 20, 10:09 PM
Unknown Object (File)
Tue, Dec 17, 7:02 AM
Unknown Object (File)
Tue, Dec 17, 3:09 AM
Unknown Object (File)
Thu, Dec 12, 1:11 AM
Unknown Object (File)
Tue, Dec 10, 1:07 PM
Unknown Object (File)
Dec 3 2024, 11:19 PM
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
Branch
land1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24547
Build 33833: Run Core Tests
Build 33832: arc lint + arc unit

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.