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 456
hmmmm.... isn't shmget part of the standard SysV IPC tools?
or is this just a symptom of the larger problem?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|