in reply to Re^6: IPC via named pipes, losing some messages
in thread IPC via named pipes, losing some messages

Interesting. Your version only processed data when there's a lull in reading. If the data comes in fast enough, it could be the selects become expensive no-ops and $data .= $buf; builds up to something huge. In my version, I process data as soon as it comes in.