DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Out of memory on a UNIX Sun Solaris 8 DB server ????

  1. #1
    Join Date
    Apr 2003
    Location
    Rosmalen, Netherlands.
    Posts
    73

    Out of memory on a UNIX Sun Solaris 8 DB server ????

    Hi,

    I received a message from our hosting party that the Internet application, which is hosted there, was running out of memory. I'm not an UNIX guy ( just know some basics ) but I like to know what is happening or what could be the problem.

    They're running on 2 Sun Solaris 8 as IAS and DB server ( Oracle 9ir2 running on 5 disks ( 1 os , 4 storage ( separate storage cabinet ))) 600 Mhz CPU and 2 Gb of RAM. Our 3 databases are across the storage disks and the rest is running normal ( only the open_cursor param is set to 20000 and the sessions are raised up to 200 ) in archive mode.

    At the moment we have just 1 application running on 1 DB accessed by 5-10 logins at the time (belonging dbf file is just 150 Mb)

    What could happen if there is a message "running out of memory" ?

    I know memory must be allocated to some Oracle processes (but do not know how or what) and heard about some kernel parameter settings(?).

    So I'm not an UNIX guy (yet)and I can not advise the thirt party where to look for. You may think we have to switch form hosting party and you may be right.....(!!).

    Please let me know something and if you need more information please ask. (this is a very delicate thing right now ( end their contract (due to incompetence) and switching over to some other hosting party).

    Regards, GKRamer (Guus)

  2. #2
    Join Date
    Jul 2002
    Location
    California
    Posts
    128
    Look in the /etc/system for the shared semaphores and memory settings at the O/S level.

    Look in the initSID.ora for the oracle internal paramteters.
    alapps

    Fast, Cheap, Reliable... Pick Two(2)

  3. #3
    Join Date
    Apr 2003
    Location
    Rosmalen, Netherlands.
    Posts
    73
    Alapps,

    Thanx for the quick reply.

    What could I expect there??

    Told you I'm not UNIX guy and only can pass it trough to the UNIX-operator(!).

    GKramer.

  4. #4
    Join Date
    Nov 2000
    Location
    Israel
    Posts
    268
    Hi,
    you need to chech the /etc/system file.
    This file contains directives for the operating system on how much memory to preserve for the Oracle server, how much semaphores for the oracle processes:

    Shared Memory:
    shmmax = The maximum size(in bytes) of a single shared memory segment.
    shmmin = The minimum size(in bytes) of a single shared memory segment.
    shmmni = The number of shared memory identifiers.
    shmseg = The maximum number of shared memory segments that can be attached by a process.

    Semaphores:
    semmns = The number of semaphores in the system.
    semmni = The number of semaphore set identifiers in the system; determines the number of semaphore sets that can be created at any one time.
    semmsl = The maximum number of sempahores that can be in one semaphore set. It should be same size as maximum number of Oracle processes (The PROCESSES parameter in the init.ora file).

    The Formula
    SEMMNS = [(largest PROCESSES parameter) *2 + (other instance processes)] + [(# of instances) * 10]
    SEMMSL = 10 + largest PROCESSES parameter.
    It is better to ask and appear ignorant, than to remain silent and remain ignorant.

    Oracle OCP DBA 9i,
    C++, Java developer

  5. #5
    Join Date
    Apr 2003
    Location
    Rosmalen, Netherlands.
    Posts
    73
    rotem_fo,

    Thank you for the reply, gonna pass it trough (and learn from it as well). Hope it will solve the problem.

    GKramer.

    to all readers;
    Please keep sending comment and suggestions to my question !!!

  6. #6
    Join Date
    Apr 2002
    Location
    Germany.Laudenbach
    Posts
    448
    Hi,
    to rotem_fo,
    i believe in HIM and what he had done for me!
    shalom!
    Orca

    to Gkramer :
    how did you recognize if the mem runout. An Orcle-Error, or an os -error?
    if it's the os, the size of swap-space could be to small

    Orca

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width