I'm trying to install/use the IPC::Shareable module on RedHat 7, which I clean installed over 6.2 this morning. The module compiles fine, but will fail a 'make test' with the message:
Munged shared memory segment (size exceeded?)The README advises: make test may fail with the message 'Munged shared memory segment (size exceeded?)' This is likely because the tests are exceeding the maximum size of a shared memory segment (SHMMAX) or the system-wide limit on shared memory size (SHMALL). The only solution is to increase SHMMAX and/or SHMALL for the system. Consult your system documentation for how to do this.
OK, I found how to set a new SHMMAX (/proc/sys/kernel/shmmax), and set it to 80M, 100M, 200M, and 500M without any change. Has anyone else run into this? Any ideas?
more info: the module will install, but using the included example in the man page, i get the memory seg munged message, and also this error:
IPC::Shareable::SharedMem: shmget: No such file or directory at /usr/lib/perl5/site_perl/5.6.0/IPC/Shareable.pm line 456hmmmm.... isn't shmget part of the standard SysV IPC tools? or is this just a symptom of the larger problem?
In reply to IPC::Shareable compilation by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |