Hi, Monks. I need to use Shared Memory. Installed: Apache + mod_perl IPC::SysV IPC::ShareLite Apache::SharedMem
#!/usr/bin/perl use strict; use Data::Dumper; use Apache::SharedMem; my $share = new Apache::SharedMem;
error log: Bad realloc() ignored at /usr/local/lib/perl5/site_perl/5.8.6/mach/IPC/ShareLite.pm line 106. I added $ENV{PERL_BADFREE}=1, but... nothing. DeInstall & Install IPC::ShareLite
#root: /usr/ports/devel/p5-IPC-ShareLite/# make deinstall ===> Deinstalling for devel/p5-IPC-ShareLite pkg_info: package bsdpan-Apache-SharedMem-0.09 has no origin recorded pkg_info: package bsdpan-Template-Toolkit-2.14 has no origin recorded ===> Deinstalling p5-IPC-ShareLite-0.09 pkg_delete: package bsdpan-Apache-SharedMem-0.09 has no origin recorde +d pkg_delete: package bsdpan-Template-Toolkit-2.14 has no origin recorde +d #root: /usr/ports/devel/p5-IPC-ShareLite/# make install ===> Installing for p5-IPC-ShareLite-0.09 ===> p5-IPC-ShareLite-0.09 depends on file: /usr/local/bin/perl5.8.6 + - found ===> Generating temporary packing list ===> Checking if devel/p5-IPC-ShareLite already installed pkg_info: package bsdpan-Apache-SharedMem-0.09 has no origin recorded pkg_info: package bsdpan-Template-Toolkit-2.14 has no origin recorded Installing /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/IPC/ShareLit +e/ShareLite.so Installing /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/IPC/ShareLit +e/ShareLite.bs Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /usr/local/lib/perl5/site_perl/5.8.6/mach/IPC/ShareLite.pm Installing /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/IPC/ShareLit +e/autosplit.ix Installing /usr/local/lib/perl5/5.8.6/man/man3/IPC::ShareLite.3 Writing /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/IPC/ShareLite/. +packlist ===> Compressing manual pages for p5-IPC-ShareLite-0.09 ===> Registering installation for p5-IPC-ShareLite-0.09

In reply to mod_perl & Shared Memory by STork2000

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.