RE: unable to attach to shared memory
Posted in 2005
It Worked. It pays to have Support!
Subject: RE: unable to attach to shared memory
Date sent: Fri, 16 Sep 2005 08:40:15 +0200
From: "Dirk Moolman" <DirkM@caretech.co.za>
To: "Zev Berezin" <zevb@bhphoto.com>
> Let us know !
>
>
> -----Original Message-----
> From: owner-informix-list@iiug.org [mailto:owner-informix-list@iiug.org]
> On Behalf Of Zev Berezin
> Sent: 15 September 2005 07:18 PM
> To: Doug Conrey
> Cc: informix-list@iiug.org
> Subject: RE: unable to attach to shared memory
>
> Correct, but I'm using TCP for a while without
> configuring a nettype for shared memory.
> This is my only nettype and it was working until recently.
>
> NETTYPE tlitcp,14,80,NET # Configure poll thread(s) for nettype>
> I contacted Informix Support on this and they point to
>
> SHMBASE 0xa000000 # Shared memory base address>
> according to machine notes it should be: 0x10A000000
> The uppercase A is not the issue the 10 is.
>
> I'll find out tonight when bouncing the system if this works.
>
> Thanks anyway for the reply.
>
> Regards,
> Zev Berezin
>
>
>
>
>
>
>
> Subject: RE: unable to attach to shared memory
> Date sent: Thu, 15 Sep 2005 09:48:36 -0600
> From: "Doug Conrey" <doug_conrey@oci.com>
> To: "Zev Berezin" <zevb@bhphoto.com>,
> <informix-list@iiug.org>
>
> > Looks like you're missing the M (for Messaging, I believe) segment in
> > memory. Do you have a line in your onconfig that looks like this:
> >
> > NETTYPE ipcshm,1,35,CPU # Configure poll threads for nettype> >
> > ipcshm is the shared memory protocol used for internal communication.
> > Your parameters may be different, so long as the line appears and the
> > first number is more than 0.
> >
> > DC
> >
> > > -----Original Message-----
> > > From: owner-informix-list@iiug.org
> > > [mailto:owner-informix-list@iiug.org] On Behalf Of Zev Berezin
> > > Sent: Thursday, September 15, 2005 9:14 AM
> > > To: informix-list@iiug.org
> > > Subject: unable to attach to shared memory
> > >
> > >
> > > Hi All,
> > >
> > > Tech Specs: IDS 7.31.FD7
> > > O/S - Solaris 5.8 Generic_117350-26 sun4u sparc SUNW,Sun-Fire
> > >
> > > oncheck and onmonitor are giving errors:
> > >
> > > shmat: [22]: operating system error
> > > Unable to attach to shared memory.
> > >
> > >
> > > onstat -g seg gives> > >
> > > Informix Dynamic Server Version 7.31.FD7 -- On-Line -- Up
> > > 07:31:10 -- 8809472 Kbytes
> > >
> > > Segment Summary:
> > > id key addr size ovhd
> > > class blkused blkfree
> > > 100 1381386241 a000000 1811939328 56184
> > > R* 219850 1334
> > > 102 1381386243 fffffffdd0000000 2930769920 45384
> > > V 356614 1146
> > > 101 1381386242 fffffffe7ec00000 4278190080 65944
> > > V 160399 361841
> > > Total: - - 9020899328 -
> > > - 736863 364321
> > >
> > > (* segment locked in memory)
> > >
> > > Memory Onconfig params.
> > >
> > > SHMBASE 0xa000000 # Shared memory base address
> > > SHMVIRTSIZE 7040000 # initial virtual shared memory segment> size
> > > SHMADD 32000 # Size of new shared memory
> > > segments (Kbytes)
> > > SHMTOTAL 10540000 # Total shared memory (Kbytes).
> 0=>unlimited> > >
> > > /etc/system parameters
> > >
> > > *
> > > set enable_sm_wa = 1
> > > *set shmsys:shminfo_shmmax=268435456
> > > set shmsys:shminfo_shmmax=4294967295
> > > set semsys:seminfo_semmap=64
> > > set semsys:seminfo_semmni=4096
> > > set semsys:seminfo_semmns=4096
> > > set semsys:seminfo_semmnu=4096
> > > set semsys:seminfo_semume=64
> > > set semsys:seminfo_semmsl=100
> > > set shmsys:shminfo_shmmin=100
> > > set shmsys:shminfo_shmmni=100
> > > set shmsys:shminfo_shmseg=100
> > >
> > > Any ideas?
> > >
> > > TIA,
> > > Zev Berezin
> > > sending to informix-list
> sending to informix-list
sending to informix-list