Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Bill Sweat <billsweat@worldnet.att.net>
Subject: Re: Oracle Shared Memory Problem (DEC UNIX 4.0)
Date: 1997/11/21	[thread overview]
Message-ID: <655lue$17c@bgtnsc02.worldnet.att.net> (raw)
In-Reply-To: 64v7b0$nie@cantine.wu-wien.ac.at


Peter Bruhn wrote:
> 
> Hello!
> 
> I am having big trouble with shared memory for oracle. It is oracle 7.3.2
> on a DEC-Alpha (DU 4.0).
> 
> > uname -a
> OSF1 miss.wu-wien.ac.at V4.0 564 alpha alpha
> 
> When trying to start oracle I get
> 
>   ORA-07307: sms1sg: shmat error, unable to attach sga.
>   DEC OSF/1 (AXP) Error: 12: Not enough space
>   Additional information: 1
> 
> > sysconfig -q ipc
> ipc:
> msg-max = 8192
> msg-mnb = 16384
> msg-mni = 64
> msg-tql = 40
> shm-max = 67108864
> shm-min = 1
> shm-mni = 128
> shm-seg = 32
> sem-mni = 2048
> sem-msl = 25
> sem-opm = 10
> sem-ume = 10
> sem-vmx = 32767
> sem-aem = 16384
> num-of-sems = 60
> max-kernel-ports = 93911
> port-hash-max-num = 4695550
> port-reserved-max-num = 93911
> set-max-num = 24837
> ssm-threshold = 8388608
> ssm-enable-core-dump = 1
> 
> So the maximum size of a shared memory segment should be 67108864 byte.
> 
> > pwd
> /usr/oracle/app/oracle/product/7.3.2
> 
> > bin/tstshm
> Number of segments gotten by shmget() = 50
> Number of segments attached by shmat() = 31
> Odd-sized segments are rounded up to even size
> Segments attach at higher addresses
> Default shared memory address = 0x10000
> Lowest shared memory address  = 0x10000
> Highest shared memory address = 0x11fc10000
> Total shared memory range     = 4831838208 (0x120000000)
> Total shared memory attached  = 134217696 (0x7ffffe0)
> Largest single segment size   =  4194304 (0x400000)
> Segment boundaries (SHMLBA)   =     8192 (0x2000)
> 
> This seems to say that the maximum size of a shared memory segment is
> 4194304 byte.
> 
> I guess the problem is that the maximum size of segment ist too low, but
> how can I change this, the operating system seem to say it is much larger.
> 
> Or is there something else that I am missing?
> 
> Thanks for any help is highly appreciated,
> Peter

I'm not 100% sure on this but I believe the Oracle utility, tstshm, uses
the default segment size to test allocation of memory. I get the same
results with tstshm on Oracle 7.2.2 and DU 3.2C.  However, when I look
at the shared memory with 'ipcs -m -a', it shows a much larger single
block of memory allocated by Oracle.

Bill



  parent reply	other threads:[~1997-11-21  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-19  5:00 Oracle Shared Memory Problem (DEC UNIX 4.0) Peter Bruhn
1997-11-21  5:00 ` Nikola Milutinovic
1997-11-21  5:00 ` Bill Sweat [this message]
1997-11-27  5:00 ` Aram Meguerian
1997-12-01  5:00 ` Casper Thrane
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox