environments icon indicating copy to clipboard operation
environments copied to clipboard

binary-env intermittently fails to read from stdout/stderr pipe of spawned subprocess

Open jaynis opened this issue 9 months ago • 0 comments

I experience the situation where a simple binary-env function which serves static content from a shell script sometimes fails with the following error:

Error: failed to get stderr pipe: |0: file already closed

Even worse, this sometimes results in an empty HTTP 200 response.

I am not entirely sure how to reliably reproduce this but it seems to often happen when multiple requests are sent simultaneously to a binary-env function backed by a poolmgr.

jaynis avatar May 17 '24 14:05 jaynis