You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Steven Cotton <st...@cotton.dk> on 2000/09/06 15:24:58 UTC
IPC::Shareable problems
Hi,
I've been having some problems delete()'ing elements from a tied
IPC::Shareable hash. The example from the pod works fine (but that's not
running under mod_perl) so I'm wondering if there are any lifetime/scope
issues with using IPC::Shareable 0.51 under mod_perl 1.24. Has anyone had
any "Munged shared memory segment (size exceeded?)" errors when trying to
access (I'm using `exists()') a previously deleted hash element? I see no
examples in the Eagle of deleting tied and shared hash elements (only
under Apache::Registry), and Deja and various newsgroups and web searches
haven't turned up anything. I'm running Apache 1.3.12 and Perl 5.6.0.
Thanks,
--
Steven Cotton
steven@cotton.dk
Re: IPC::Shareable problems
Posted by Nouguier <ol...@akio-solutions.com>.
Steven Cotton wrote:
> Hi,
>
> I've been having some problems delete()'ing elements from a tied
> IPC::Shareable hash. The example from the pod works fine (but that's not
> running under mod_perl) so I'm wondering if there are any lifetime/scope
> issues with using IPC::Shareable 0.51 under mod_perl 1.24. Has anyone had
> any "Munged shared memory segment (size exceeded?)" errors when trying to
> access (I'm using `exists()') a previously deleted hash element? I see no
> examples in the Eagle of deleting tied and shared hash elements (only
> under Apache::Registry), and Deja and various newsgroups and web searches
> haven't turned up anything. I'm running Apache 1.3.12 and Perl 5.6.0.
>
> Thanks,
>
> --
> Steven Cotton
> steven@cotton.dk
hi,
you should try with IPC::ShareLite which provide the same things but seems
better maintained...