I got this problem when using heredoc. Is there a way to use heredoc even there are too many files opened? Thanks. "cannot create temp file for here-document: Too many open files in system" -- Regards, Peng