Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>swap may not be the red herring previously suggested. How big is the python process in question just before the <code>ENOMEM</code>?</p> <p>Under kernel 2.6, <code>/proc/sys/vm/swappiness</code> controls how aggressively the kernel will turn to swap, and <code>overcommit*</code> files how much and how precisely the kernel may apportion memory with a wink and a nod. Like your facebook relationship status, <a href="http://www.kernel.org/doc/Documentation/sysctl/vm.txt" rel="noreferrer">it's complicated</a>.</p> <blockquote> <p><em>...but swap is actually available on demand (according to the web host)...</em></p> </blockquote> <p>but not according to the output of your <code>free(1)</code> command, which shows no swap space recognized by your server instance. Now, your web host may certainly know much more than I about this topic, but virtual RHEL/CentOS systems I've used have reported swap available to the guest OS.</p> <p>Adapting <a href="http://www.kernel.org/doc/Documentation/sysctl/vm.txt" rel="noreferrer">Red Hat KB Article 15252</a>:</p> <blockquote> <p>A Red Hat Enterprise Linux 5 system will run just fine with no swap space at all as long as the sum of anonymous memory and system V shared memory is less than about 3/4 the amount of RAM. .... Systems with 4GB of ram or less <em>[are recommended to have]</em> a minimum of 2GB of swap space.</p> </blockquote> <p>Compare your <code>/proc/sys/vm</code> settings to a plain CentOS 5.3 installation. Add a swap file. Ratchet down <code>swappiness</code> and see if you live any longer.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload