Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The issue was in shared memory system settings (<a href="https://en.wikipedia.org/wiki/Shared_memory_(interprocess_communication)" rel="nofollow">shared memory – wiki</a>).</p> <p>There is parameter <code>kern.sysv.shmseg</code> in <code>/etc/sysctl.conf</code> file which represents the maximum number of shared memory segments each process can attach. So I had value 32 that was not enough for my script.</p> <p>To view parameters, use:</p> <pre><code>sysctl -A | grep shm </code></pre> <p>To update that parameters, edit file:</p> <pre><code>sudo vim /etc/sysctl.conf </code></pre> <p>My looks now like that:</p> <pre><code>kern.sysv.shmmax=564777216 kern.sysv.shmmin=1 kern.sysv.shmmni=700 kern.sysv.shmseg=128 kern.sysv.shmall=131072 </code></pre> <p>Notice, you need restart system in order to apply settings.</p> <p>To view currently allocated shared memory segments, type:</p> <pre><code>ipcs -m -b </code></pre> <p>To remove all shared memory segments:</p> <pre><code>for n in `ipcs -b -m | egrep ^m | awk '{ print $2; }'`; do ipcrm -m $n; done </code></pre> <p>Notice, only segments that are not attached to any process will be really removed.</p> <p>More on shared memory settings: <a href="http://techjournal.318.com/general-technology/shared-memory-settings-explain/" rel="nofollow">http://techjournal.318.com/general-technology/shared-memory-settings-explain/</a>, <a href="http://www.spy-hill.com/help/apple/SharedMemory.html" rel="nofollow">http://www.spy-hill.com/help/apple/SharedMemory.html</a>, <a href="http://support.apple.com/kb/HT4022" rel="nofollow">http://support.apple.com/kb/HT4022</a></p>
    singulars
    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.
 

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