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.
Differential D16855
Discard stdout/stderr from the aphlict subprocess when running in daemon (normal) mode epriestley on Nov 14 2016, 12:40 AM. Authored by Tags None Referenced Files
Subscribers None
Details
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. Added logging to libphutil/, saw internal buffer grow steadily before this change and stay constant at 0 after this change.
Diff Detail
|