Kernel Parameter Update
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
Similar Messages
-
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 -
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.
-
Static library not accessed properly after Solaris Kernel patch update !
Hi,
We are facing a sever issue in our application after our customer updated the Solaris 10 kernel patch u9 to u10.
We have two static libraries libdlib.a and libDLIB.a, with exactly same code base, but these two libraries are scattered across the code base and linked by many shared objects in our application.
However, one of the shared objects that links to "libdlib.a" library tries to access a function from "libDLIB.a". This behavior is causing a crash at a later point, since that shared object is supposed to access the function from "libdlib.a". Moreover, we found this is happening through the use of dbx.
I'm unable to understand why this problem surfaced after kernel patch update, though still the shared object works fine on Solaris 10 u9 patch.
Flow is something like this :
1. syslogrecorder.so gets loaded by one of the processes.
2. syslogrecorder.so is linked to "libdlib.a" at compile time, so it uses "libdlib.a" function DLIB_LoadLibrary and gets a handle to all the function pointers of the loaded library ( The purpose of DLIB_LoadLibrary is to load a shared library dynamically using dlopen )
3. syslogrecorder.so tries to do a "dlsym" and to do that it needs access to the library handle which we got in previous call DLIB_LoadLibrary. So syslogrecorder.so calls another function from DLIB_ProcAddress, which actually gives back the access to the loaded shared library.
Here is a catch in step 3, it is supposed to call DLIB_ProcAddress from the libdlib.a but as we observed from dbx output it does so by calling DLIB_ProcAddress from libDLIB.a and hence fails to give back the access to loaded shared library, causing crash at a later point in code.
Can someone put some light here that why this could happen ??
Thanks
KuldeepTo clarify: You did not modify or rebuild any of your binaries, but after installing a kernel patch, the application stopped working. Most likely, something about your application depended on a accidental behavior of the runtime loader. That accidental behavior changed due to the patch, and your application failed.
For example, if there is a circular dependency among shared libraries, the loader will break the cycle at an arbitrary point to establish an initialization order. By accident, that order might work, in the sense of not causing a problem. A change to the loader could cause the cycle to be broken at a different point, and the resulting initialization order could cause a now-uninitialized object to be accessed. I'm not saying this is what is wrong, but this is an example of a dependency on accidental loader behavior.
Finding your actual problem will require tracing the sequence of operations leading up to the failure. You are more likely to find help in a Solaris linker forum. AFAIK, there are currently no Oracle forums for Solaris, and the old OpenSolaris forums have been converted to mailing lists. You can try the "tools-linking" list found on this page:
http://mail.opensolaris.org/mailman/listinfo
I also suggest you review the paper on best practices for using shared libraries written by Darryl Gove and myself:
http://www.oracle.com/technetwork/articles/servers-storage-admin/linkinglibraries-396782.html
If you have a service contract with Oracle, you can use your support channel to get more help.
Edited by: Steve_Clamage on May 18, 2012 3:21 PM -
Kernel patch updation for solaris 10 x86
I have Solaris 10 06/06 installed on x86 machine which is using svm and clustered with another node. The kernel revision is 118855-19 from the uname -a output. I am looking for the kernel patch updation and I heard 118855-36 is the latest one. Shall I go ahead with this patch and what r the dependency patches for this.
If anyone done this please guide me..Patch 118855-36 is the latest kernel patch for Solaris 10 on x86 and its dependencies are:
113000-01 117435-02 118344-14 119043-09 119255-14 121264-01 122035-01 123840-01 (or greater)
Whether you should go ahead and install the patch is up to you, if possible try it out on a test box first. For better advice on this matter, I would suggest posting in the Solaris 10 forum as this forum is for the Sun Update Connection, Patch Manager & PatchPro toolsets. -
Kernel patch update for solaris 10 x86
I have Solaris 10 06/06 installed on x86 machine which is using svm and clustered with another node. The kernel revision is 118855-19 from the uname -a output. I am looking for the kernel patch updation and I heard 118855-36 is the latest one. Shall I go ahead with this patch and what r the dependency patches for this.
If anyone done this please suggest and guide me..For Solaris 10 x86 the latest offered with smpatch is 125101-07 and yes it may be recommended to patch. Then again you said clustered with sun cluster? You may want to check the documentation and if your machines aren't facing the internet you may wait for 7/07 to hit the street and do an upgrade.
-
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 -
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 -
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 -
VMware fails during VMware Kernel Module Update!
VMware error log
Upon trying to run VMware, it brings up the VMware Kernel Module Updater. When I click Install, it properly stops VMWare Service. Then, it properly compiles the Virtual Machine Monitor, the Virtual Machine Communication Interface, and the VMCI Sockets. It fails to compile both the Virtual Network Device and the VMware Blocking Filesystem. After that, it fails to start the VMware services.
The log is posted above.
Please help! I must get VMware running within the day!
Last edited by qKUqm3wtY4 (2013-01-08 09:29:15)Doesn't vmware always have problems with the latest kernel i.e. the one Arch ships? That's how I remember it, anyway, from those dark days when I was forced to use it - I had to go looking for patches every time.
-
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 -
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
Maybe you are looking for
-
Windows crashes upon Java exit.
Firstly, I apologise that I know very little about Java and if I've omitted any important information here I may need precise instructions on how to find it out. According to the Add/Remove Programs menu, I have 'JS2E Runtime Environment 5.0 Update 6
-
2lis_04_p_comp production order missing
Hi Experts, I have a problem in extraction from 2lis_04_p_comp data source. I am some how not able to get some production orders into BI for a particular movement type. There is no data selection kept in info package too. Can someone throw some light
-
Hi Gurus, IN my requiremen t i want to capture all HCM - OM infotype changes .Can you give me some solution. What is the Table that stores all OM Infotype log details. Ashok ...
-
Problem in updating software in my nokia 2700
I can't update my software it shows 'software cannot be updated when in abroad'
-
Dependencies to be checked while transporting workflow
Hi all, I have to issue workflow object in the CR which will be transported to a different SAP system. I want to know how to get all the dependend objects of that workflow so that corresponding objects requests can also be saved in the same CR so tha