Set fd limit

set resource limit for file descriptors.