[CRIU] [PATCH] restore: Allow to ignore resource limits from image

Cyrill Gorcunov gorcunov at gmail.com
Tue Jul 2 07:46:00 EDT 2013


On Tue, Jul 02, 2013 at 03:41:01PM +0400, Pavel Emelyanov wrote:
> > 
> > we don't wont to access out of array bound. Thus it's always true
> > when criu has been compiled on new system, but on rhel6 it it's
> > not true at all. OpenVZ image has own definition for RLIM_NLIMITS
> > hardcoded to 16, and if criu compiled on rhel6 the system RLIM_NLIMITS
> > is 15 -- thus we allocate only 15 entries in array.
> 
> 1. We don't compile CRIU on rhel6.

Unfortunately I do :( And I have to continue running it on rhel6 in
a sake of convertor even if I dont like this aspect. Pavel, look
I can't copy the complete container file system everytime I run
openvz suspend -> converter -> criu restore cycle, even doing this
on same rhel6 node it takes amount of time to suspend and reboot.
Frankly I won't bother you with this patch if I find some workaround.

> 2. Protection against "more rlimits in image, than in real-life" is there.


More information about the CRIU mailing list