Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Oracle Shared Memory Problem (DEC UNIX 4.0)
@ 1997-11-19  5:00 Peter Bruhn
  1997-11-21  5:00 ` Nikola Milutinovic
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peter Bruhn @ 1997-11-19  5:00 UTC (permalink / raw)



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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oracle Shared Memory Problem (DEC UNIX 4.0)
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1997-11-21  5:00 UTC (permalink / raw)



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

Hmm, there was some trouble with Oracle 7.1.4 being unable to allocate
SHM when shmmax WAS NOT the default size. Check it out.

Anyway, does anybody know if this shmmax parameter has any effect on
Oracle? Send E-Mail to nikola@ev.ns.ac.yu please.

Nix.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oracle Shared Memory Problem (DEC UNIX 4.0)
  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
  1997-11-27  5:00 ` Aram Meguerian
  1997-12-01  5:00 ` Casper Thrane
  3 siblings, 0 replies; 5+ messages in thread
From: Bill Sweat @ 1997-11-21  5:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oracle Shared Memory Problem (DEC UNIX 4.0)
  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
@ 1997-11-27  5:00 ` Aram Meguerian
  1997-12-01  5:00 ` Casper Thrane
  3 siblings, 0 replies; 5+ messages in thread
From: Aram Meguerian @ 1997-11-27  5:00 UTC (permalink / raw)



<encoded_portion_removed>
PiANCj4gDQo+IA==




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oracle Shared Memory Problem (DEC UNIX 4.0)
  1997-11-19  5:00 Oracle Shared Memory Problem (DEC UNIX 4.0) Peter Bruhn
                   ` (2 preceding siblings ...)
  1997-11-27  5:00 ` Aram Meguerian
@ 1997-12-01  5:00 ` Casper Thrane
  3 siblings, 0 replies; 5+ messages in thread
From: Casper Thrane @ 1997-12-01  5:00 UTC (permalink / raw)
  To: Peter Bruhn


Hi!

Last week we had customer calling, with the same error message as you.
He manage to solve the problem him, and he told me, that he found out,
that oracle is case-sensitiv when you write the SID-name in the
listener.ora. I don't if he corrected the name in other files, but let
me now, wether or not it solved your problem.
-- 
Casper Thrane
System developer
Benau A/S



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-12-01  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1997-11-27  5:00 ` Aram Meguerian
1997-12-01  5:00 ` Casper Thrane

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