Article ID: 120488, created on Mar 10, 2014, last review on Jun 17, 2016

  • Applies to:
  • Operations Automation 5.4
  • Virtuozzo containers for Linux

Symptoms

Installing an application template or a package inside the container fails with a similar error message:

# vzpkg install 18414 proftpd
...
Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf) E: Unable to increase the size of the MMap as the limit of 25165824 bytes is already reached. E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf) E: Error occurred while processing liboif-qml (NewVersion1) E: Problem with MergeList /vz/template/ubuntu/12.04/x86_64/pm//lists/archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-amd64_Packages E: The package lists or status file could not be parsed or opened. Error: /usr/bin/apt-get failed, exitcode=100 .

Cause

Earlier versions of PVC had apt-get tool with compiled-in value of APT::Cache-Limit configuration variable. Recent versions of Debian and Ubuntu need more memory than the cmpiled-in value to process list of packages, and the limit is removed in the latter version of PVC.

Resolution

Please install all pending updates on the PVC node. Instructions on keeping the PVC installation up-to-date can be found in this article.

Search Words

Please increase the size of APT::Cache-Limit

template

/usr/bin/apt-get failed, exitcode=100

APT::Cache-Limit

Dynamic MMap ran out of room

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 ac82ce33439a9c1feec4ff4f2f638899 2554725ed606193dd9bbce21365bed4e 614fd0b754f34d5efe9627f2057b8642

Email subscription for changes to this article
Save as PDF