From: Scott K. <ku...@pv...> - 2011-05-24 18:40:41
|
Hi, While running a program within the memcheck tool, the code calls setrlimit to increase the number of file descriptors available: rl.rlim_cur = 65535; rl.rlim_max = 65535; int retval = setrlimit (RLIMIT_NOFILE, &rl); This runs OK when executing the program outside of valgrind but when run within, it fails and errno is set to EPERM. The process is being run as root on RHEL5 Anyone know a way around this? Thx, Scott |