[CRIU] Increase limit

Nikita Spiridonov nspiridonov at virtuozzo.com
Wed Apr 27 01:03:42 PDT 2016


On Tue, 2016-04-26 at 19:00 +0200, Federico Reghenzani wrote:
> Hi!
> 
> 
> I come back with another problem :)
> 
> 
> CRIU dump fails with this error:
> 
> 
> (00.020257) Error (files-reg.c:683): Can't dump ghost
> file /tmp/openmpi-sessions-root at it4i-vm-ubuntu_0/53051/1/shared_mem_pool.it4i-vm-ubuntu.1 of 134217736 size, increase limit

Try "--ghost-limit" option of criu dump to increase ghost limit, e.g.
"--ghost-limit 50M"

> 
> 
> Searching in the mailing list I found that I have to increase the
> limit:
> 
> 
> criu_set_ghost_limit(1024 * 1024 * 1024); // 1 GB
> 
> 
> 
> Unfortunately it does not seem to work. Full log attached.
> 
> 
> (CRIU version 2.0)
> 
> 
> Cheers and thank you as usual,
> Federico
> __
> Federico Reghenzani
> M.Eng. Student @ Politecnico di Milano
> Computer Science and Engineering
> 
> 
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu




More information about the CRIU mailing list