Weird error after Perl upgrade: Unable to flush stdout
问题 After upgrading to Perl 5.24.4 we repeatedly get this error in logs (without pointing the filename and line number): Unable to flush stdout: Broken pipe We have no idea what causes this error. Is there any advice how to understand the cause of the error? 回答1: The error comes from perl.c, line 595: PerlIO_printf(PerlIO_stderr(), "Unable to flush stdout: %s", Strerror(errno)); This line is part of perl_destruct, which is called to shut down the perl interpreter at the end of the program. As