-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
maxBuffer default too smallΒ #9829
Copy link
Copy link
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently
maxBufferforchild_process.execis set to 200*1024 bytes, or ~204.8KB. I ran into an issue where my child process was being terminated and tracking it down was quite tough. It ended up being that it was producing enough output that it exceededmaxBuffer.I think the buffer size is too small and this behavior (terminating a child) is drastic enough that it should only be done in the case where a child is producing a much larger amount of output.
I'm not sure what's sane here, perhaps 5MB+?