- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: /dev/shm - RHAS 3.0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 09:44 AM
04-05-2006 09:44 AM
Thanks,
J
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p7 755920 395196 322324 56% /
/dev/cciss/c0d0p1 122622 4802 117820 4% /boot/efi
/dev/cciss/c0d0p6 1511856 639688 795368 45% /home
none 24974608 0 24974608 0% /dev/shm
/dev/cciss/c0d0p5 2015824 50928 1862496 3% /tmp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 09:46 AM
04-05-2006 09:46 AM
Re: /dev/shm - RHAS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 11:34 AM
04-05-2006 11:34 AM
Re: /dev/shm - RHAS 3.0
Thanks much!!
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 11:54 AM
04-05-2006 11:54 AM
Re: /dev/shm - RHAS 3.0
http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php
Please assign points to the people that helps you.
Have a nice day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 02:52 PM
04-05-2006 02:52 PM
Re: /dev/shm - RHAS 3.0
Would you know what's the command to show your current SGA parameter?
Again, many thanks!!
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 12:48 AM
04-06-2006 12:48 AM
Re: /dev/shm - RHAS 3.0
ipcs -a
You will see tha shared memory regiongs, the owner and the size.
To identify the size of the shared memory used currently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 01:54 AM
04-06-2006 01:54 AM
Re: /dev/shm - RHAS 3.0
J.
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 gdm 600 393216 2 dest
0x00000000 1146881 oracle 640 1343488 15
0x00000000 1179650 oracle 640 125829120 15
0xe3f40ad4 1212419 oracle 640 16384 15
0x00000000 1245188 oracle 640 1343488 43
0x00000000 1277957 oracle 640 4294967296 43
0x3a16bd24 1310726 oracle 640 16384 43
0x00000000 1409032 oracle 640 1359872 62
0x00000000 1441801 oracle 640 1048576 62
0x00000000 1474570 oracle 640 6442450944 62
0x00000000 1507339 oracle 640 3204448256 62
0x16c7cd84 1540108 oracle 640 32768 62
------ Semaphore Arrays --------
key semid owner perms nsems
0x15018304 2457600 oracle 640 34
0xfb949950 2588673 oracle 640 202
0xfb949951 2621442 oracle 640 202
0xfb949952 2654211 oracle 640 202
0x79ca2f70 2818053 oracle 640 154
------ Message Queues --------
key msqid owner perms used-bytes messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 02:36 AM
04-06-2006 02:36 AM
Re: /dev/shm - RHAS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 03:10 AM
04-06-2006 03:10 AM
Re: /dev/shm - RHAS 3.0
To change the value SHMMAX, you can use either of the following three methods:
# This method sets the SHMMAX on startup by inserting the following kernel parameter in the /etc/sysctl.conf startup file:
# echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf
# If you wanted to dynamically alter the value of SHMMAX without rebooting the machine, you can make this change directly to the /proc file system. This command can be made permanent by putting it into the /etc/rc.local startup file:
# echo "2147483648" > /proc/sys/kernel/shmmax
# You can also use the sysctl command to change the value of SHMMAX:
# sysctl -w kernel.shmmax=2147483648
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 05:46 AM
04-06-2006 05:46 AM
Re: /dev/shm - RHAS 3.0
Do you think I need to modify my SHMMAX?
Thanks,
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 06:31 AM
04-06-2006 06:31 AM
Re: /dev/shm - RHAS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 04:26 AM
04-07-2006 04:26 AM
Re: /dev/shm - RHAS 3.0
The system already has 14GB of oracle shared memory. The largest single shared memory object is 6GB in size. Jorge shouldn't reduce the maximum shared memory segment size to 2GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 06:22 AM
04-07-2006 06:22 AM
Re: /dev/shm - RHAS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 06:37 AM
04-07-2006 06:37 AM
Re: /dev/shm - RHAS 3.0
0x00000000 1474570 oracle 640 6442450944 62
Tha means that the largest size of a segment is 6 GB. From here:
http://www.puschitz.com/TuningLinuxForOracle.shtml#SettingSharedMemory
You can read:
"This means that SHMMAX should not exceed 4294967295 on a 32-bit system. On x86-64 platforms, SHMMAX can be much larger than 4GB since the virtual address space is not limited by 32 bits."
Can you post the ouput of:
# cat /proc/sys/kernel/shmmax
To be sure about how you have it configured?
Once again I'm sorry, I don't like to commit this kind of mistakes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 07:02 AM
04-07-2006 07:02 AM
Re: /dev/shm - RHAS 3.0
6442450944
Thanks,
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 07:34 AM
04-07-2006 07:34 AM
Re: /dev/shm - RHAS 3.0
I participated of various installations, and normally, we always use that size at maximum, or 2 GB because if the SGA is larger, it will just use more segments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 10:32 AM
04-07-2006 10:32 AM
Re: /dev/shm - RHAS 3.0
The huge pages feature has a lot of potential for performance improvement on a large memory system like this. It is covered in the same document that Ivan linked to.
http://www.puschitz.com/TuningLinuxForOracle.shtml#LargeMemoryOptimization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 03:22 PM
04-07-2006 03:22 PM
Re: /dev/shm - RHAS 3.0
Yes, this is a 64-bits server with 49GB of memory. I'm not sure if the Oracle 10g is in need of tuning. However, I think the MSA1500 cs SANs can use some help though. I wish we went with a smaller EVA SAN instead of these MSA's.
Do you guys still think I need to tune my Oracle server? Please help!
Thanks,
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 01:23 AM
04-10-2006 01:23 AM
Re: /dev/shm - RHAS 3.0
I would recommend this redbook.
http://www.redbooks.ibm.com/abstracts/redp3861.html?Open
This has good information about how to identify problems. And a good section about oracle.
Also, this gives some recommedations about tuning the disk subsystem and the elevator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 02:55 AM
04-10-2006 02:55 AM
Re: /dev/shm - RHAS 3.0
4278190080
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 10:40 AM
04-11-2006 10:40 AM
Re: /dev/shm - RHAS 3.0
Would you know if there's a way to fine tune a raw partition within Linux servers? Due to Oracle RAC, we're using raw partitions and quite a bit of them mounted on two nodes. I would like to know if there way to optimize raw partition within Linux environment?
Again, thanks.
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 11:28 AM
04-11-2006 11:28 AM
Re: /dev/shm - RHAS 3.0
http://www.oracle.com/technology/oramag/webcolumns/2002/techarticles/scalzo_linux02.html
"However, if the operating system supports an Oracle-certified cluster file system, the cluster file system can be used instead."
More info:
http://www.oracle.com/technology/pub/articles/calish_filesys2.html
http://www.oracle.com/technology/pub/columns/talkinglinux_0104.html
http://www.oracle.com/technology/pub/notes/technote_singh_crs.html
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:7931107631402
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 03:50 PM
04-11-2006 03:50 PM
Re: /dev/shm - RHAS 3.0
Thanks,
J