usage of getrlimit()