Details on the implementation of shared memory to set memory_target on Oracle Linux

Hi all.

I have a database of Oracle 11 g Rel2 (11.2.0.4) 64-bit running on Oracle Linux 5.8 64-bit.

Several notes on MOS, must properly configure the shared memory to make use of automatic (memory_target) memory management.

On these notes basically to allocate memory: Mount size of t tmpfs-o shmfs = 1073741824/dev/shm

And keep the overall starting value by adding an entry in/etc/fstab: shmfs/dev/shm tmpfs size = 1073741824 0

My doubt is that oracle Linux uses tmpfs instead of shmfs:

[oracle@union ~] $ df-h/dev/shm

S.ficheros Tamaa±o Disp Uso % Montado used in

tmpfs 7, 9G 0 7, 9G 0% / dev/shm

[oracle@union ~] $

[oracle@union ~] Mount $

/ dev/map/VolGroup00-LogVolroot on / type ext3 (rw)

proc on/proc type proc (rw)

Sysfs on/sys type sysfs (rw)

type devpts on/dev/pts devpts (rw, gid = 5, mode = 620)

/ dev/sda1 on/U01 type ext3 (rw)

/ dev/sdb1 on / boot type ext3 (rw)

tmpfs on/dev/SHM type tmpfs (rw)

None on/proc/sys/fs/binfmt_misc type binfmt_misc (rw)

sunrpc on/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

/ dev/sdc1 on/media/respaldos type vfat (rw)

[oracle@union ~] $

[oracle@union ~] $ cat/etc/fstab

/ dev/VolGroup00/LogVolroot / ext3 defaults 1 1

LABEL = / u01/U01 ext3 defaults 1 2

LABEL = / boot/boot ext3 defaults 1 2

tmpfs/dev/shm tmpfs defaults 0 0

devpts/dev/pts devpts gid = 5, mode = 620 0 0

Sysfs/sys sysfs defaults 0 0

proc/proc proc defaults 0 0

/ dev/VolGroup00/LogVolswap swap swap defaults 0 0

As you can see it's ride on tmpfs/dev/shm tmpfs defaults 0 0


So the question is: is it the same? is tmpfs just a label? After all this is pointing to/dev/SHM and tmpfs.


Best regards, Luis.

I have this line in/etc/fstab on OEL 6.5 system that I use now to give me 4 GB shared memory:

tmpfs / dev/shm tmpfs defaults, size = 4000 m 0 0

Tags: Database

Similar Questions

  • Aspire e1-472p-6860 details on the upgrade of RAM memory

    Hello.  I just bought the e1-472p-6860 at Costco and am interested in upgrading the RAM of 4 GB at least 8 GB.  Is this possible?  Worked on many laptops in my career, I don't want to remove the back cover together until I know more.  If I can improve, does anyone know what would be the replacement of chip memory?  I guess that 8 GB DDR3L 1600 MHZ sodimm.  Fine thanks

    JB

    Yes, you got the type of memory is correct, but I'm afraid you need to remove the back cover to increase the RAM.

  • Satellite L30 - 101 videocard memory: how to change the amount of shared memory?

    Hello. I'm using Windows Vista and I have a problem with my VGA settings. There is no option to set the amount of memory on the part that is using my video card. In the BIOS, or the Catalyst Control Center. I can't fix same refresh rate of 70 Hz screen because the pilot is automated at 60 Hz settings without editing option. How can I change this? When I try to play call of Duty even the intro movies are skippy, even after installing the latest version of Direct X. The game is relatively good running, but I think on this configuration, it should work much better.
    Here are my specs:
    CPU: Intel Celeron M 1.5 Ghz
    Video: ATI Mobility Radeon Xpress 200M up to 256 MB
    RAM: 1.5 Ghz

    Hello

    If you want to learn a little more about the refresh rate of the screen and why he s a standard on screens TFT please check this post:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=19588&MessageID=71816

    It s a useful description.
    But generally, I agree with Abe. The 1.5 Ghz processor is enough to use normally. But if you want to play games like Call of Duty you will need a lot faster for laptop.
    Of course, this game run also on the unit you but you will not be able to play this game with a maximum return.

  • Details of the distribution and sharing purchased Images

    I bought a few images to create posters for my fonts. The posters are my fonts and my address of Web site... so the images are not autonomous. I had a few questions to make sure that I understand the terms.

    I do not share the images on social media, but what happens if other people do... will I get in trouble for this? Do I have to track down people when sharing pictures?

    In addition, add poster to other sites that I submit my fonts to? It requires a credit on these sites because I'm not the owner?

    Yet once again, the images are not autonomous, as they have my fonts and site info included on them and posters are of low resolution.

    Thank you in advance for your help!

    As long as you don't sell the image so you should be although I would say only to what you posted. When in doubt, it is best to include a small credit.

  • Satellite Pro C660 - 21 d - how to change the shared memory graphic value?

    My dxdiag screen says I have almost 1700 MB of video memory, but when I try to use this memory on games these games can use 256 MB...

    I tried to change settings in the BIOS, but it does not have this setting, do not know what else could cause this problem?

    Hello

    This could be confusing, but this isn't a problem.
    Shared memory is controlled by the graphics driver and the driver affects the part of the main memory to the memory of the graphics card ONLY if its required by a running application.

    The Dxdiag shows you how much RAM could be shared and value of memory in the quizzes you shared memory which is used and who is in the game right now.

  • Shared memory is configured on the disk or physical RAM?

    Version: 11.2

    Platform: RHEL 6

    On Linux, we have put the following into /etc/sysctl.conf to set up shared memory.

    # 61 gb shared memory configuration

    kernel.shmmax = 65719476736

    Where this 61 GB of memory is allocated? The physical RAM or disk?

    Shared memory will be allocated RAM and may be subject to be paged out (written to disk).

    However, you should use huge pages, which are not subject to the paging or swapping.  (The value vm.nr_hugepages dans/etc/sysctl.conf.)

    In addition, setting kernel.shmmax allocates exactly zero bytes of shared memory.

    shmmax is the upper limit of the size of a single shared memory segment.  It is not actually assign * nothing *, though.

    He also, does * not * set a limit on the total amount shared memory that can be affected.  That is controlled by shmall.

    Hope that helps,

    -Mark

  • TimesTen does not release the shared memory even after DB destroy

    Hello

    After that TimesTen DB is destroyed, the shared memory allocated to the DB is not to be released by the system.
    We use TimesTen release 11.2.1.7.0 (64-bit, Linux/x86_64)

    We need to restart the system for shared memory usage (outdated) by clearing TimesTen.

    Please let me know what is the problem here.

    Concerning
    Pratheej

    Hi Pratheej,

    How are actually destroy you TimesTen? are you using ttDestroy? It seems that you may force a shutdown of the master demon TT? In which case the current connections will not aware the master demon went so far that they try then access TT until they can keep the memory shared memory segment.

    Take a look at ttStatus to see which links are open. Unplug them all by default that TT will come out then memory, you can use ttDestroy.

    Tim

  • ORA-01034: ORACLE not available ORA-27101: Kingdom is no Linux-x86_64 shared memory error: 2: no such file or directory process ID: ID of Session 0: 0 serial number: 0

    Hello

    In our society, we have oracle server on Suse Linux with two instances TETA and TETA201.

    One day on a server broke down, because there is no free space due growing files 'archivelog.

    After that I manually deleted several older archivelog files, but after the reboot, the server error occurs when connecting to the database:

    "ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux x86_64 error: 2: no such file or directory

    Process ID: 0

    "Session ID: serial number 0: 0"

    $ ORACLE_SID is set to TETA, if export it to TETA201 connection works correctly

    Oracle service startup there is no errors but only one instance is running TETA201 works correctly

    #############################################################################

    # Beginning of start O R A C L E section #.

    #############################################################################

    PARAMETERS from/etc/sysconfig/oracle

    -Set the Oracle kernel settings: Yes

    -Start the Oracle Listener: Yes

    -Start the Oracle database: Yes

    -Start the Oracle Web server: no

    -Start Oracle EManager: Yes

    -Start Oracle iSQLPLUS Manager: Yes

    -Start Oracle Agent: no

    -Start Oracle Internet Filesystem: no

    -Run Oracle Directory Manager: no

    Can not find required file: isqlplusctl - START_ORACLE_DB_ISQLPLUS setting = no

    Undefinied Agent Oracle or not properly configured. Please check.

    Setting the parameters of the kernel for Oracle, see the file

    / etc/sysconfig/Oracle of explanations.

    Shared memory: SHMMAX = SHMMNI(5) 3294967296 = 4096 SHMALL 2097152 =

    Semaphore values: SEMMSL = 1250 SEMMNS = 32000 SEMOPM = 100 SEMMNI = 256

    Other values: FILE_MAX_KERNEL = 131072 IP_LOCAL_PORT_RANGE = 1024 65000

    RMEM_DEFAULT = 4194304 WMEM_DEFAULT = 262144 = 4194304 = 262144 WMEM_MAX RMEM_MAX

    Huge pages:

    ULIMIT values: MAX_CORE_FILE_SIZE_SHELL = unlimited

    FILE_MAX_SHELL = 65536 = 16384 PROCESSES_MAX_SHELL

    Kernel defined for Oracle parameters: fact

    -Start listener... done

    + From databases...

    Start entry for SID TETATEST to /oracle/product/11.2.0/dbhome_1/ inskippedratab

    Database instance "TETA" of treatment: save the /oracle/product/11.2.0/dbhome_2/startup.log file

    Instance of database 'TETA201' of treatment: save the /oracle/product/11.2.0/dbhome_1/startup.log file

    Status of Oracle database start: fact

    -Starting Apache... unused

    -From unused application server

    -From Application Server Console... unused

    -Start of Agent... unused

    -From Enterprise Manager...

    DB console departure for TETA starting DB Console for TETA201 done

    -Jumped from iSQLPLUS Manager...

    -From... unused Oracle Internet file system

    -From Oracle Internet Directory... unused

    #############################################################################

    # End of O R A C L E section #.

    #############################################################################

    #############################################################################

    # End of O R A C L E section #.

    #############################################################################

    /Oracle/product/11.2.0/dbhome_1/startup.log


    SQL * more: Production of the version 11.2.0.3.0 on Mon Jan 18 11:43 2016

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    SQL > Polaczono.

    SQL > ORACLE Instancja zostala zamknieta.

    SQL > Odlaczono od Oracle Database 11g Release 11.2.0.3.0 - 64 bit Production

    SQL * more: Production of the version 11.2.0.3.0 on Mon Jan 18 11:43:01 2016

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    SQL > connect to an idle instance.

    SQL > ORACLE instance started.

    Total System Global Area 1043886080 bytes

    Bytes of size 2234960 fixed

    603981232 variable size bytes

    432013312 of database buffers bytes

    Redo buffers 5656576 bytes

    Baza danych zostala zamontowana.

    Baza danych zostala otwarta.

    SQL > Odlaczono od Oracle Database 11g Release 11.2.0.3.0 - 64 bit Production

    /Oracle/product/11.2.0/dbhome_2/bin/DBSTART: warm welcome of the instance 'TETA201' database has started.

    /Oracle/product/11.2.0/dbhome_2/startup.log


    PON sty 18 11:42:52 THIS 2016

    SQL * more: Production of the version 11.2.0.4.0 on Mon Jan 18 11:42:52 2016

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    SQL > connect to an idle instance.

    SQL > ORACLE instance started.

    Total System Global Area 4175568896 bytes

    Bytes of size 2259840 fixed

    1409287296 variable size bytes

    2751463424 of database buffers bytes

    Redo buffers 12558336 bytes

    Baza danych zostala zamontowana.

    ORA-03113: end of file on communication channel

    Māju ID: 10080

    Sesji ID: 33, serial number: 3

    SQL > Odlaczono od Oracle Database 11g Release 11.2.0.4.0 - 64 bit Production

    /Oracle/product/11.2.0/dbhome_2/bin/DBSTART: hot "TETA" database instance started.

    Linux: ~ # service oracle State

    #############################################################################

    # Begin State O R A C L E section #.

    #############################################################################

    Kernel parameters

    Shared memory: SHMMAX = SHMMNI(5) 3294967296 = 4096 SHMALL 2097152 =

    Semaphore values: SEMMSL, SEMMNI, SEMMNS, SEMOPM: 1250 32000 100 256

    Database Instances

    TETA instance is out of service (autostart: Y)

    Instance of TETATEST is broken (autostart: N)

    TETA201 of the instance is declining (autostart: Y)

    AMT-listener: to the top

    Webserver (Apache httpd): low (0 process)

    List of processes by user oracle:

    PID TTY STAT TIME COMMAND

    9855?        SSL 0:00 /oracle/product/11.2.0/dbhome_2/bin/tnslsnr LISTENER

    10128?        SS 0:00 ora_pmon_TETA201

    10130?        SS 0:00 ora_psp0_TETA201

    10132?        SS 0:00 ora_vktm_TETA201

    10136?        SS 0:00 ora_gen0_TETA201

    10138?        SS 0:00 ora_diag_TETA201

    10140?        SS 0:00 ora_dbrm_TETA201

    10142?        SS 0:00 ora_dia0_TETA201

    10144?        SS 0:00 ora_mman_TETA201

    10146?        SS 0:00 ora_dbw0_TETA201

    10148?        SS 0:00 ora_lgwr_TETA201

    10150?        SS 0:00 ora_ckpt_TETA201

    10152?        SS 0:00 ora_smon_TETA201

    10154?        SS 0:00 ora_reco_TETA201

    10156?        SS 0:00 ora_mmon_TETA201

    10158?        SS 0:00 ora_mmnl_TETA201

    10166?        SS 0:00 ora_qmnc_TETA201

    10338?        SS 0:00 ora_cjq0_TETA201

    11195?        SS 0:00 ora_q000_TETA201

    11197?        SS 0:00 ora_q001_TETA201

    #############################################################################

    # End of O R A C L E section #.

    #############################################################################

    Help, please

    RMAN target /.

    RMAN > startup mount;

    RMAN > overlap archivelog all;

    RMAN > delete archivelog expired;

    RMAN > alter database open;

  • ORA-27101: shared memory realm does not exist

    Hi all

    > conn scott/tiger

    Connected.


    SCOTT > conn scott/tiger@CRMSDB

    ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux error: 2: no such file or directory

    Process ID: 0

    Session IDs: serial number 0: 0

    WARNING: You are more connected to ORACLE.

    tnsping $ CRMSDB

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 27 October 2015 10:38

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = SERVER1. ORACLE.COM) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = crms)))

    OK (70 msec)

    DB version: 11.2.0.1 on linux

    Hello

    1. IF you see that your service is "crms.server1.com" db_domain maybe your maps to "MRC" only tns

    2. but there is more than one service "Instance"MRC", status UNKNOWN, a. 1 operation for this service..." "who does not know

    3 try to change the name of the service and try with tns

    You can add "GLOBAL_DBNAME" solve listener.ora and he still with the old configuration, you

    -Pavan Kumar N

  • ORA-27101: shared memory realm does not exist when you plug in PDB

    I have installed oracle 12 c on Redhat 6. The creation of the CBD and the PDB has everything successful.

    SQL > select name, open_mode from v$ PDB;

    NAME OPEN_MODE

    ------------------------------ ----------

    PDB$ SEEDS IN READ ONLY

    CMS121P1 READING WRITING

    FUN121P1 READING WRITING

    SQL > select name, con_id from v$ active_services;

    NAME                                                                 CON_ID

    ---------------------------------------------------------------- ----------

    fun121p1                                                                  4

    cms121p1                                                                  3

    o121cdbXDB                                                                1

    o121cdb                                                                   1

    SYS$BACKGROUND                                                            1

    SYS$USERS                                                                 1

    6 selected lines.

    I myself created a user by changing the container and the username (jehan)

    Now, strange things happened:

    1. the CBD or PDB has not been placed on earpiece. even I ran

    "exec dbms_service.start_service ('cms121p1');

    I had to manually add the entries for all PDB and CDB files.

    2. I can not connect to any of the PDB sqlplus, even they are open and online

    bash - $4.1 sqlplus jehan/passwd@localhost:1521/fun121p1

    SQL * more: Production of liberation 12.1.0.1.0 Thu Aug 22 11:23:28 2013

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux-x86_64 error: 2: no such file or directory

    Process ID: 0

    Session IDs: serial number 0: 0

    I used DBCA to wipe the entire base (CBD & APB) and to recreate them again. always the same results. Everyone runs the same issue as mine?

    Thank you!

    Oh my god!

    After that I enabled tracing for the listener. I found, he complains about "reject the registration of 127.0.0.1.

    It reminds me to check the file/etc/hosts

    I found there are multiple entries for the same hostname like this:

    127.0.0.1 testhost.dev testhost

    10.126.1.36 testhost.dev testhost

    After removing that 127.0.0.1 line, Vooola! everything works now!

    Thank you for your options. Javie your blog is awesome, I am now.

  • DB recovery - shared memory regions

    If we set the DB to use shared memory regions, we need to remove them before we do a recovery after the failure of the application?
    We use the C API of DB 4.7.25 - on HP - UX 11i

    Published by: user1033737 on May 14, 2009 16:28

    Hello

    When you use the shared system memory if the application fails BDB cannot guarantee that system backup resources regions shared memory returned to the system, so you must develop a strategy to clean up the segments of shared memory (look in the system command "ipcrm", "m" and "-s" options that can be used to remove the shared memory segments and semaphores system ", you can put together a script that can clear up after a failure of the application):
    [http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/region.html | http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/region.html]

    A "db_recover" after a failure of the application in an environment configured to support the regions in the shared system memory will likely succeed without the need to delete the file "__db.001" from the environment directory (this file contains references to chunks of shared memory so that the environment can be shared among processes); When recovery is run, it first deletes any part of files that it finds in the directory of the environment. Again, do not clean it properly after several failures can deplete resources and lance of the subsequent application may fail.

    Kind regards
    Andrei

  • To pick up on the details of the user of the session in IOM

    Hi Experts,

    We have few admin users who have exclusive permission to run a particular scheduler. Now this scheduler should run to only users belonging to organizations or agencies sup of the admin user who has run. The requirement is to find the details of the user session in the Scheduler.

    So I would be grateful someone shares with me the knowledge of a such available api IOM to retrieve the details of the session.

    Check api ContextManager

    Import oracle.iam.platform.context.ContextManager;

    ContextManager.getOIMUser)

  • DB 12 c on the Oracle Linux 7.1 installation problem

    Hello

    I have installation problems of database 12 c on Oracle Linux 7.1, this is what I did and what is the result:

    Steps done in order:

    1. Configure a machine virtual box OL7.1 (has enough swap space, is fully updated and invited additions running)
    2. Install the package "oracle-RDBMS-server-12cR1-preinstall" to make sure that I have all the packages required pre
    3. Followed the additional configuration steps in this tutorial oracle-www.m-base.org/Sounds.html (permissive-selinux, exports .bash_profile, create the installation path, create users and groups required)-> https://oracle-base.com/articles/12c/oracle-db-12cr1-installation-on-oracle-linux-7#additional_setup
    4. Obtained by runInstaller installation and chose to install database software ONLY.
    5. Run the root.sh as root script, after that the installation was successful
    6. DBCA: Create database, mode, advanced, general use create as CBD (an APB called pdb1), EM express (Yes), rather than default storage settings, install the schema example, character set AL32UTF8, by default all the rest.
    7. Edit the/etc/oratab file by changing the N a y at the end of the last line that is now "data1:/u01/app/oracle/product/12.1.0.2/db_1:Y".
    8. sqlplus sys/oracle as a sysdba

    I'm stuck at 8, it's the following message is displayed:

    ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3640

    Additional information: 1543399787

    Process ID: 0

    Session IDs: serial number 0: 0

    I studied him that changing the/etc/file hosts to remove all the duplicate names could fix this error, then here is this that my/etc/hosts looks like:

    cat/etc/hosts

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

    : 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    Before I change anything, I would like to help, can someone go get where I left and gives me a step to ensure that this facility is set up correctly?

    I missed something?

    Comments are welcome!

    Your 7 step refers to an instance called data1, but you set your ORSCLE_SID to the cdb1. THERY can't be correct.

  • Satellite A660/07R - change the shared memory

    I have an A660/07R y at - there a way to change the system memory that is shared on this subject, he has a card geforce 350 m 3d mink?

    Hey Buddy,

    Shared memory quantity can't be changed because it will be controlled automatically.

    But I m wondering why you ask for this as far as I know the Satellite A660 with nVidia GT350M card has own graphic memory (1 GB). This memory will be the only graphics card.

  • Change the shared memory in the Bios for the graphics - Satellite C660 217

    There is no setting in the BIOS that I can find.

    BIOS is up to date

    Hello

    It is not possible.

    Shared memory is assigned automatically and this is controlled by the graphics driver.
    But the shared memory is only used if the applications (IE game) would require more graphics RAM.

Maybe you are looking for