[CRIU] EMFILE during open() after successful restore

Pavel Emelyanov xemul at parallels.com
Fri Jul 24 03:32:48 PDT 2015


On 07/24/2015 01:04 AM, CRIU criu wrote:
> Thanks Pavel!
> 
> Looks like rlimit restore fails: 
> if (r->rlim_cur > r->rlim_max) fails because r->rlim_max is 0
> 
> What could be wrong?

The rlimits restoring code OR the rlimits themselves. The former
sits in the restore_rlims() and is suspicious -- it doesn't
check for error code from sys_setrlimit() call. The latter is
the rlimit-$pid.img file.

-- Pavel



More information about the CRIU mailing list