Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IPC::Shareable compilation
by dchetlin (Friar) on Dec 27, 2000 at 05:22 UTC | |
|
Re (tilly) 1: IPC::Shareable compilation
by tilly (Archbishop) on Dec 27, 2000 at 07:54 UTC |