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

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to