Page MenuHomePhabricator

Discard stdout/stderr from the aphlict subprocess when running in daemon (normal) mode
ClosedPublic

Authored by epriestley on Nov 14 2016, 12:40 AM.
Tags
None
Referenced Files
F19821630: D16855.diff
Fri, Mar 6, 11:28 PM
F19580937: D16855.id40586.diff
Feb 1 2026, 6:12 PM
F19521680: D16855.id40588.diff
Jan 17 2026, 12:45 AM
F19516510: D16855.id40588.diff
Jan 15 2026, 12:53 AM
F19514334: D16855.id40588.diff
Jan 14 2026, 12:49 AM
F19085471: D16855.id.diff
Dec 2 2025, 6:22 PM
F19077938: D16855.diff
Dec 1 2025, 4:31 PM
F18835603: D16855.id.diff
Oct 26 2025, 5:21 PM
Subscribers
None

Details

Summary

Fixes T11818. We don't discard output, so once we read more than 2GB of output we'll exceed the maximum size of a string in an internal buffer.

Instead, configure the future so output is discarded.

Test Plan

Added logging to libphutil/, saw internal buffer grow steadily before this change and stay constant at 0 after this change.

Diff Detail

Repository
rP Phabricator
Branch
aphlict2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14478
Build 18875: Run Core Tests
Build 18874: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Discard stdout/stderr from the aphlict subprocess when running in daemon (normal) mode.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 14 2016, 12:43 AM
This revision was automatically updated to reflect the committed changes.