VirtualBox

Changeset 39020 in vbox for trunk/doc


Ignore:
Timestamp:
Oct 18, 2011 2:13:08 PM (13 years ago)
Author:
vboxsync
Message:

doc/manual: Document persistent max-sem-ids limit bumping for Linux hosts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r38972 r39020  
    10411041
    10421042  <sect1>
     1043    <title>Launching more than 128 VMs on Linux hosts</title>
     1044
     1045    <para>Linux hosts have a fixed number of IPC semaphores IDs per process
     1046    preventing users from starting substantially many VMs. The exact number
     1047    may vary with each Linux distribution. While trying to launch more VMs you
     1048    would be shown a "Cannot create IPC semaphore" error. In order to run more
     1049    VMs, you will need to increase the semaphore ID limit of the VBoxSVC
     1050    process. Find the current semaphore limits imposed by the kernel by
     1051    executing as root:<screen>#/sbin/sysctl kernel.sem
     1052kernel.sem = 250  32000  32  128</screen></para>
     1053
     1054    <para>The "kernel.sem" parameter bundles together 4 values, the one we are
     1055    interested in is called "SEMMNI", the maximum number of semaphore IDs
     1056    which is 128 in the above example. Increase this semaphore ID limit by
     1057    executing as root:<screen>echo "kernel.sem = 250 32000 32 2048" &gt;&gt; /etc/sysctl.conf
     1058/sbin/sysctl -p</screen></para>
     1059
     1060    <para>The above commands will add the new limits to the config file, thus
     1061    making the effect persistent across reboots, and will activate the new
     1062    limits into the currently running kernel.</para>
     1063  </sect1>
     1064
     1065  <sect1>
    10431066    <title>Launching more than 120 VMs on Solaris hosts</title>
    10441067
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette