Is there a configuration directive I can use to disable the migration feature? I'm in an environment where kernel memory is scarce--and being rid of the 8 process threads that migration spawns would be very helpful.
Hi, you can disable to load OpenVZ migration/checkpointing linux kernel modules, vzrst and vzcpt in vz init script ---8<... if [ "${MODULES_DISABLED}" != "yes" ]; then PRELOAD_MODULES="af_packet" MODULES="vzmon vzdquota vzdev" ----> #CPT_MODULES="vzcpt vzrst" <---- MODULES_OTHER="vzcompat ${CPT_MODULES}" ---8<... or add a directive, in /etc/vz/vz.conf ---8<... MIGRATION="no" ---8<... and a patched vz init.d script: --- /etc/init.d/vz 2009-09-29 09:24:36.336995392 +0200 +++ /etc/init.d/vz-new 2009-09-29 09:26:31.398503384 +0200 @@ -60,7 +60,9 @@ if [ "${MODULES_DISABLED}" != "yes" ]; then PRELOAD_MODULES="af_packet" MODULES="vzmon vzdquota vzdev" - CPT_MODULES="vzcpt vzrst" + if [ "${MIGRATION}" != "no" ]; then + CPT_MODULES="vzcpt vzrst" + fi MODULES_OTHER="vzcompat ${CPT_MODULES}" VNET_MODULES="vznetdev vznet" VETH_MODULES="vzethdev" Bye, Thorsten