solve too many open files