Kernel parameter : Share memory.
Hi All,
I have some question about setup linux and oracle 8i. How to
change kernel parameter such as SHMMNI ?.
Look forward to hearing from you soon.
Best Regards,
Pichet R.
null
Pichet Ratanayant (guest) wrote:
: Hi All,
: I have some question about setup linux and oracle 8i. How to
: change kernel parameter such as SHMMNI ?.
: Look forward to hearing from you soon.
: Best Regards,
: Pichet R.
You need to recompile the kernel adjusting the shared memory
parameters
the file you need is /usr/src/linux/include/asm/shmparam.h
Alan
The recompilation is simple but difficult to describe.
null
Similar Messages
-
Maximu Shared Memory (shmmax kernel parameter)
Hi,
in all Unix Installation documents...
shmmax kernel parameter to be set as the Half of the Physical RAM.
per suppose...if we have 6 GB Ram...cant we increase the SGA size to 5 GB........does it make sense...or any other ....this is the Apps Database with 10g..no other database on this machine....
anywork arounds .....It depends on your exact Unix OS and if your database is 32 or 64 bit. I would not advise setting SGA to 5GB on a 6 GB machine as you leave almost nothing for the OS, nor PGA/UGA shadow processes. If you have more than like 10 connections, I would set the SGA to no more than 2 or 3 GB, then have a 1 GB pga_aggregate_target.
-
What is the resource control corresponding to each kernel parameter
Hi
I am trying to prepare (i.e. tune) a Solaris 10 instance for an Oracle 10g install using a Solaris 10 project.
I am new to using Solaris 10 project resource controls so I might get some of this totally wrong.
I know all of the "old" kernel parameter names: what each represents and its' required value and I know some of the corresponding resource controls but not all of them.
That is I do not know the resource control corresponding to each and all of the kernel parameters.
e.g. I know:
semsys:seminfo_semmsl == process.max-sem-nsems == The maximum number of sempahores that can be in one semaphore set
shmsys:shminfo_shmmax == project.max-shm-memory == The maximum size(in bytes) of a single shared memory segment
shmsys:shminfo_shmmni == project.max-shm-ids == The number of shared memory identifiers
But I do not know, for example, what resource control corresponds to:
semsys:seminfo_semmns == The number of semaphores in the system
Is there a list somewhere of the resource control corresponding to each of the kernel parameters ?
I know I can set some kernel parameters in /etc/system but that should only be used for system - wide kernel parameters, right ?
I know there are project, process, task and zone classes of resource controls.
Can a resource control of any and all of these types be set in a project ?
Are zone resource controls equivalent to system-wide resource controls ?
Are there corresponding resource controls to all kernel parameters e.g. such as noexec_user_stack ?
I have set noexec_user_stack in /etc/system.
And finally - just to be sure - using a project makes the resource control values permanent, right ?
Thanks
Brett.Hi;
Please check below which could be helpful for your issue:
Kernel setup for Solaris 10 using project files [ID 429191.1]
Regard
Helios -
Best Friends
Recently added new hardware to a production server, before I had:
06 cpu
24 Gb Mem
Now you have:
08 cpu
32Gb Mem
After that, evaluate SGA Delk increase server area was very small, the area now has 8GB SGA
The parameters to increase in this activity increased SGA were:
Before Now
sga_max_size 03Gb 08Gb
db_cache_size 02Gb 04Gb
SHARED_POOL_SIZE 816Mb 2.4Gb
shared_pool_reserved_size 84Mb 245 Mb
What I'm not clear is the following,:
After increasing CPU and memory on the server and then adjust these parameters of the SGA, I have to adjust or increase any kernel parameter value??Hi Friends,
That's the point, I know the parameters needed depending on the SAP installation should have some defaults.
But here, after increasing CPU and memory, there is also some connection to increase certain parameters at the kernel level?
I do not know.
So my consuls, if I increase some kernel parameters.
Thank you for your attention -
Confirm that SHMMAX kernel parameter is set datastore size
Hi,
I'm getting below exception when i'm trying to create datastore. The error is complaining about failure to create shared memory segment.
I did go through the T-10 documentation and various post on this forum, and have made sure that the OS and the DSN settings are as per the recommended values. The values meets(or rather exceeds) the minimum values.
The values are based on below formulas:
kernel.shmmax (in bytes) = Should be >= PermSize + TempSize + LogBufMB +~50MB overhead
kernel.shmall (in pages) = Should be >= ceil ( SHMMAX / PAGE_SIZE)
SwapTotal (in KB) = Swap space should generally be at least 1.5x total physical memory size. It should be sufficient to allow allocation of a large enough shared memory segment
TempSize (in MB) = Should be >= 40 MB + ceiling( PermSize / 8 MB)
I have pasted below following things. Please, can any one help me resolve this issue.
- exception in ttmessg.log
- output of cat /etc/sysctl.conf
- sys.odbc.ini datastore configuration
- cat /proc/meminfo
- Swap space
- output of ttstatus
- output of ttversion
[oracle@ttnode1 info]$ ttdaemonadmin -stop
TimesTen Daemon stopped.
[oracle@ttnode1 info]$ ttdaemonadmin -start
TimesTen Daemon startup OK.
[oracle@ttnode1 info]$ ttisql "dsn=tt"
Copyright (c) 1996-2011, Oracle. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
connect "dsn=tt";
*836: Cannot create data store shared-memory segment, error 22*
The command failed.
Done
The exception in ttmesg.log
[oracle@ttnode1 info]$ tail -f ttmesg.log
2013-01-14 17:42:49.98 Warn: : 6533: TimesTen Daemon Release 11.2.2.4.0.tt started.
2013-01-14 17:42:59.45 Err : : 6533: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x0200778b
2013-01-14 17:42:59.45 Err : : 6533: -- OS reports invalid shared segment size
2013-01-14 17:42:59.45 Err : : 6533: -- Confirm that SHMMAX kernel parameter is set > datastore size
2013-01-14 17:45:32.67 Warn: : 6533: request id check 'MKB9+MF7V7DybTjglCEC/10d5/N7FCEFtayvZF4a9xQ=' failed (-5)
2013-01-14 17:47:18.45 Warn: : 6533: request id check 'u6GF7bBtmRQCXKYMAWa7LhwCv1GtIG8HXdW0GLRLHEU=' failed (-5)
2013-01-14 17:47:41.62 Warn: : 6533: request id check 'nNAzUc/plNUStN85qP9htbsz/E5psODMEeRYLmE/n50=' failed (-5)
2013-01-14 23:15:34.58 Warn: : 8590: TimesTen Daemon Release 11.2.2.4.0.tt started.
2013-01-14 23:15:43.44 Err : : 8590: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294
2013-01-14 23:15:43.44 Err : : 8590: -- OS reports invalid shared segment size
2013-01-14 23:15:43.44 Err : : 8590: -- Confirm that SHMMAX kernel parameter is set > datastore size
2013-01-14 23:16:11.23 Warn: : 8590: request id check 'v4TJ+ZyP3KRvGxfkguLgxNyRUdtfw/MMFrvR2tWMUBk=' failed (-5)
2013-01-14 23:18:01.34 Warn: : 8590: request id check 'p4DVyvW75Fjlo3dQ5f8OFbk4qpolqj8gFyQhqfW4ekQ=' failed (-5)
2013-01-14 23:19:50.28 Warn: : 8590: request id check 'DPQ8gSYcljQtkuvx6ccI5a5OGcjXklItV4Mj3Cf0DmA=' failed (-5)
2013-01-14 23:41:01.97 Warn: : 8820: TimesTen Daemon Release 11.2.2.4.0.tt started.
*2013-01-14 23:41:10.10 Err : : 8820: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294*
*2013-01-14 23:41:10.10 Err : : 8820: -- OS reports invalid shared segment size*
*2013-01-14 23:41:10.10 Err : : 8820: -- Confirm that SHMMAX kernel parameter is set > datastore size*
2013-01-14 23:42:20.31 Warn: : 8820: request id check 'sHRtjK5AUKI/RYPN6Mf6ivOPeGVFysbXT4eU9dfBZPw=' failed (-5)
2013-01-14 23:43:24.14 Warn: : 8905: TimesTen Daemon Release 11.2.2.4.0.tt started.
2013-01-14 23:43:29.64 Err : : 8905: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294
2013-01-14 23:43:29.64 Err : : 8905: -- OS reports invalid shared segment size
2013-01-14 23:43:29.64 Err : : 8905: -- Confirm that SHMMAX kernel parameter is set > datastore size
Here is the OS setting.
*[oracle@ttnode1 ~]$ cat /etc/sysctl.conf*
# Kernel sysctl configuration file for Red Hat Linux
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
Here's the DSN setting
* Datastore configuration in sys.odbc.ini file*
*[oracle@ttnode1 info]$ grep -v ^# sys.odbc.ini | sed '/^ *$/d'
[ODBC Data Sources]
TT=TimesTen 11.2.2 Driver
[TT]
Driver=/home/oracle/TimesTen/tt/lib/libtten.so
DataStore=/home/oracle/TimesTen/tt/info/DStore/itt_11224
DatabaseCharacterSet=AL32UTF8
PermSize=128
TempSize=96
ReplicationApplyOrdering=0
ReplicationParallelism=4
LogBufParallelism=4
LogBufMB=32
LogFileSize=32
LogFlushMethod=2
*[ice@ttnode1 ~]$ cat /proc/meminfo*
MemTotal: 3865624 kB
MemFree: 2287936 kB
Buffers: 9744 kB
Cached: 189340 kB
SwapCached: 62588 kB
Active: 739244 kB
Inactive: 796816 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 3865624 kB
LowFree: 2287936 kB
SwapTotal: 2031608 kB
SwapFree: 1755480 kB
Dirty: 316 kB
Writeback: 0 kB
AnonPages: 1310800 kB
Mapped: 24260 kB
Slab: 12952 kB
PageTables: 8712 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3964420 kB
Committed_AS: 2886040 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 1616 kB
VmallocChunk: 34359736599 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
*[ice@ttnode1 ~]$ grep SwapTotal /proc/meminfo*
SwapTotal: 4128752 kB
Earlier the swap space was 2031608 KB, but snice it shuold be 1.5 times the physical memory, i bumped it up to its current value
*[oracle@ttnode1 info]$ ttstatus*
TimesTen status report as of Mon Jan 14 17:47:32 2013
Daemon pid 6533 port 53398 instance tt
TimesTen server pid 6550 started on port 53399
Accessible by group oinstall
End of report
*[oracle@ttnode1 info]$ ttversion*
TimesTen Release 11.2.2.4.0 (64 bit Linux/x86_64) (tt:53398) 2012-09-24T08:28:05Z
Instance admin: oracle
Instance home directory: /homankse/oracle/TimesTen/tt
Group owner: oinstall
Daemon home directory: /home/oracle/TimesTen/tt/info
Thanks,
VedHi,
On continuing my debugging steps, if checked the limits for IPC facility.
ipcs -m -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
This says that "max number of segments = 4096", where as the kernel parameter is defined as "kernel.shmall = 4294967296".
Am i correct in understanding that "max number of segments" is same as "kernel.shmall" and the values should be same.
Also, it says that "max seg size (kbytes) = 32768" ie around 32MB, where as the kernel parameter is defined as "kernel.shmmax = 68719476736" i.e around 64BG.
and since, the DSN is requesting to create shared memory segment of 128MB, which is greater that 32MB(as per max seg size (kbytes) = 32768), Timesten is throwing the error.
Thanks everyone for helping me out.
_ved -
Kernel parameter tuning in Solaris 10
Hi Guru's
Can you any one help me to find the some good docs for Solaris kernel tuning. How to change the kernel parameter online?
How to do kernel tuning in online and what is the purposre of /etc/system and sysdef command.
How I can search for exisiting kernel value.
Thanks in advance.
JimbeThere is interesting info at [Solaris Internals|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals] .
have a good day,
Glen -
Rlim_fd_max Kernel Parameter on Solaris 9
I am trying to install Oracle Application Server 10g Release 2 on Solaris 9. The installation errors out on the "Select Configuration Options" screen with the following error:
"Oracle Application Server 10g Web Cache requires the Kernel Parameter rlim_fd_max to be set to a value of 65536 or higher. Please set rlim_fd_max to 65536 or higher, reboot the machine and restart the installation".
I checked the value of the set rlim_fd_max Kernel Parameter prior to starting the install and it is set to 65536. Does anyone know why I'm getting this error? Thanks in advance!I was able to get an answer by opening a SR with Metalink. The problem was that even though the rlim_fd_max default on Solaris 9 is 65536, it must be in the /etc/system file. Must be the installer looks at the file to determine that it is set correctly. So, adding set rlim_fd_max=65536 and set rlim_fd_cur=1024 to the /etc/system file fixed the problem.
-
Oracle 10g on solaris 10 : kernel parameter warning
I am installing oracle 10g on Solaris 10.
I have a warning on kernel parameter missing (shminfo_shmmax for example) during the system check.
I understood that with the 10 version of solaris these parameters are replaced by ressources control and I have checked them. They are correctly setted.
Need I do something before continue the install to release the warning or can I bypass this issue and continue the install as I have no warning ?
Thanks for your answers.
Sorry for my english.You are right. Since Solaris 10 kernel parameters settings in /etc/system is obsolete and some parameters are deprecated.
The steps how to configure required parameters you can find in my paper (step #1.): http://ivan.kartik.sk/oracle/install_ora10gR2_solaris.html
I bypass this issue and continue the install as I have no warning You can safely bypass this issue during installation process but you should set these parameters after installation. -
Determining OS Kernel parameter settings in HP ITANIUM
Hi
Can any one help me out to determine the depedant OS kernel parameters settings in HP IA-64 for Oracle database 10.2.0.4 after increasing the processes parameter value in the database level .
As after increasing the processes parameter to 10000 , we are getting n number of issues related to one or the other OS kernel parameter , so we want to take one single downtime and settle all the issues.
Regards,
Phani Kumar PHi
Acutally we already increased the processes parameter to 10000 by modifying nproc value to 30000 , now we are receiving issues respect to database as below and inturn there is problem in getting connected to the database giving ora-12502 error
Errors in file /ora/newdump/ACEPROD/udump/aceprod1_ora_4712.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:bind failed with status: 227
ORA-27301: OS failure message: Can't assign requested address
ORA-27302: failure occurred at: sskgxpcre3
kkjcre1p: unable to spawn jobq slave process
Tue Jan 5 18:28:57 2010
Errors in file /ora/newdump/ACEPROD/bdump/aceprod1_cjq0_20387.trc:
So now we want to fix the issues by setting optimal values for OS Kernel parameter for NPROC value equals 30000.
Regards,
Phani Kumar p
+919948677317 -
Hi everybody,
I trying to install Oracle Application server in solaris native zone. I am getting the following error " Oracle application Server 10g Web Cache requires the kernel parameter rlim_fd_max to be set to a valuse of 65536 or higher. Please set rlim_fs_max to 65536 or higher , reboot the machine asn restart the installation.
but the value is already set to same value
$ ulimit -Hn
65536
Any idea how set this value for zone ?
Thanks
JohnSorry, doubled response
Edited by: brusell on Jun 10, 2010 4:24 AM -
Installing OCS 10g on RHEL 3 (Upd 4) failing kernel parameter checks
Hi all,
I am preparing for upgrading my OCS 9.0.4.2 to 10g. While running the Universal Installer it fails within the kernel parameter checks. It complains about two parameters that cannot find in /proc/sys/kernel. The two parameters are: hardnofiles and softnofiles. I don't have any idea what those could be, anyone out there who can tell me what this means?
Thanks,
Stephan
Message was edited by:
sbudachcheck out /etc/security/limits.conf you should add values to the bottom of that file as shown in the install guide.
This is what I have in mine;
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
Cheers.
Ben -
How to share memory between different VMs?
Hi, dear all!
I don't know if it is possible to share memory between different VMs. I know its easy for threads. Now my problem is that I want to start serveral applications which share only one copy of data, I don't know what's the right way to do that.
ThanxThey are some volume data for visualization. I want to
serveral rendering servers on a single machine, the
data size can be up to 1024*1024*1024 ( or even larger
I don't know if I HAVE TO use threads in order to
share the data, however, threads are not preemptive as
processes I think, is that true?
Not really sure what that has to do with it.
I believe the VMs for most common OSes use preemptive thread scheduling. I know windows does and I am rather certain that solaris/linux also do that.
A number of suggestions were made above for your problem. Memory mapped files allow multiple VMs if memory mapped files work for your VM/OS. Or you can use a single VM.
Given that your dataset is 1 gig or larger you might want to keep in mind the limitations of modern OSes. Windows for example will not normally allow any application to have a process space larger than 2 gigs. And on all OSes the VM heap limitations for 32-bit VMs are below 2 gigs by several hundred mega-bytes. -
Could not update the kernel parameter when oracle 10g Installation.
Hi,
I tried to update ip_local_port_range in sysctl.conf file.
vi /etc/sysctl.conf
net.ipv4.ip_local_port_range=1024 65000
After changing the value i executed following command,
sysctl -p
Error : Unknown error 22 setting key 'net.ipv4.ip_local_port_range'
Please helpYou didn't specify if you are on a linux based OS, it looks like you are, but it would be so kind on your side if you clearly specify the OS version and which DB version you are planning to install.
When I perform installations of DB10gR2 on OEL4/OEL5 or RHEL4/RHEL5 i issue this commands:
echo net.ipv4.ip_local_port_range = 1024 65000 >> /etc/sysctl.conf
Once the kernel parameter have been set, the kernel must be re-read with the /sbin/sysctl -p command.
~ Madrid
http://hrivera99.blogspot.com -
How to setup HPUX kernel parameter for ulimit ?
Dear ,I have a problem on HPUX for installation of Essbase. The error is come from "ulimit -s 32000". How to tune kernel parameter ? I had checked every documents. No one said about it.Thanks !Vincent Lu
You are right, table is GL_PERIOD_SETS
For Accounting Calender info typically the PERIOD_SET_NAME is used
for Accounting Calendar name -
Clearing share memory in windows server 03 + mssql
Hi,
Can any one tell me how to clear share memory in Windows Server 2003 +MSSQL box??
Thanks and regards,
ParthaHi Juan,
Actually someone told me to do so for the following reason , can you help me in this regard
Hello All,
In our portal box when I tried to start the gateway using the following command :
D:\usr\sap\EP1\SYS\exe\uc\NTAMD64>gwrd -force pf=D:\usr\sap\EP1\SYS\profile\EP1_JC01_tdep
It shows the following message :
rslgwr1(21): Searching for overlap point in pre-existing SysLog file...
I also found in dev_rd the following message
LOCATION SAP-Gateway on host tdep / sapgw01
ERROR Gateway not connected to local R/3
TIME Wed Jan 21 11:44:04 2009
RELEASE 700
COMPONENT SAP-Gateway
VERSION 2
RC 726
MODULE gwxxrd.c
LINE 8211
COUNTER 1
Also rfc trace is following
Connection Error
Error when opening an RFC connection
ERROR: Gateway not connected to local R/3
LOCATION: SAP-Gateway on host tdep / sapgw01
COMPONENT: SAP-Gateway
COUNTER: 1
MODULE: gwxxrd.c
LINE: 8211
RETURN CODE: 726
The following command also give you some idea
C:\Documents and Settings\ep1adm.TDEP.001>netstat
TCP tdep:sapgw31 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw32 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw33 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw34 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw35 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw36 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw37 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw38 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw39 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw40 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw41 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw42 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw44 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw45 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw46 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw47 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw48 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw49 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw50 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw51 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw52 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw53 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw54 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw55 tdsap:sapgw01 ESTABLISHED
TCP tdep:sapgw56 tdsap:sapgw01 ESTABLISHED
But I am unable to telnet the ports of tdep.
Please guide me in this regard.
Regards,
Partha
Maybe you are looking for
-
Open a MS Word document in portal application
In portal content area we can add a MS Word document as an item. When you click the link, portal will launch MS Word and open the file. Can we do the same thing in portal application?
-
Reversal with aliquots (Brazil) different MR8M
Friends, I'm trying to reverse a document held by MIRO, but it reports the message balance is not equal to zero: 6.90 - Debt: 37.62 Credit: 30.72 (No messages M8534) today. I checked and it turns out that the original document is using an aliquot (Br
-
Synchroniz​ing BB Bold
I have installed the BB Desktop Manager Version 4.6.0.12 (May 22, 2008) on my Laptop. When trying to synchronize I get a message stating "The computer must be connected to the Internet in order to initially configure synchronization settings. Please
-
Stop numbers embedded numbers in songs when burning mp3 cd?
I want to burn a playlist in iTunes on an MP3 CD. The problem is that I want to get rid of the numbers that are embedded to the filenames on the cd... How do I do this without having to do it manually by copying the files over? Let me know. Thanks Fo
-
HT4592 Java for Mac OS X 10.5 Update 10
Does Java for Mac OS X 10.5 Update 10 stop Filemaker server from working ?