You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StartRoadRunnerCommand->writeServerOutput() queries the worker output via Process->getIncrementalOutput() which internally buffers the worker process output. This buffer is not flushed and thus keeps growing indefinitely.
I have worked around this by calling Process->clearOutput() and Process->clearErrorOutput() after each call to StartRoadRunnerCommand->writeServerOutput().
Steps To Reproduce:
Start octane server for roadrunner binary and log to stderr from workers.
The text was updated successfully, but these errors were encountered:
Process stores output logs to php://temp. This buffer temporarily stores
logs to file after output reaches a certain size. The
`getIncrementalOutput()` iterates over output rather than flushing it.
Reason for this is so all output can be queried later using `getOutput()`.
Thus, if output is never flushed the temporary file will grow indefinitely.
Description:
StartRoadRunnerCommand->writeServerOutput()
queries the worker output viaProcess->getIncrementalOutput()
which internally buffers the worker process output. This buffer is not flushed and thus keeps growing indefinitely.I have worked around this by calling
Process->clearOutput()
andProcess->clearErrorOutput()
after each call toStartRoadRunnerCommand->writeServerOutput()
.Steps To Reproduce:
Start octane server for roadrunner binary and log to stderr from workers.
The text was updated successfully, but these errors were encountered: