fix cat-agent  bug of runing process open too many files