Symptoms

' Provisioning "Panel_6_0" for APS application Parallels Plesk Panel ' task fails with the following error:

APS Application Error:
406 Not Acceptable
[ApplicationUnknownError] Provisioning: resource 87c824f4-a9d8-481c-865d-326c8fc616f9 of type 'panels' (http://www.parallels.com/aps/plesk/panel/1.2) for APS application 'Parallels Plesk Panel-1.2-0': [IM] P20006: VE is busy.

The following error appears in /var/log/IM/PACI-vm2vf.log:

2015-12-16 10:15:11,758 (8068f7d1-0192-4eeb-ab51-a5a417805048) ERROR NativeVm2VfCode [Thread-388189] - [31137:327242] ERR exec_pipeline({ef206bb1-4c93-4a3e-b925-314c34ff1696}): fork failure: Cannot allocate memory @[exec.c][747][wget_thread][9125])

In case OACI IM is running inside a Virtuozzo container, fail counters increase for privvmpages resource (last column in the output below):

# grep privvm /proc/user_beancounters
           privvmpages               1521629              1523661              7077888              7077888                   67

Cause

OACI IM box runs into memory allocation limit.

Resolution

Increase memory allocation limit for OACI IM.

  • In case it is a Virtuozzo container, the limit can be set to unlimited:

    # prlctl set <CTID>  --privvmpages 9223372036854775807 --save
    
  • In case it is a physical box or a virtual machine, vm.overcommit_memory and vm.overcommit_ratio sysctl parameters should be tweaked:

    # echo "vm.overcommit_memory = 2" >> /etc/sysctl.conf
    # echo "vm.overcommit_ratio = 500" >> /etc/sysctl.conf
    # sysctl -p
    

    This sets the memory allocation limit to 500% of total RAM size of the machine.

To read more about memory allocation parameters: Capacity Tuning

Internal content

Link on internal Article