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.
Jimbe
There is interesting info at [Solaris Internals|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals] .
have a good day,
Glen
Similar Messages
-
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. -
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 -
RH Linux vm.swappiness kernel parameter
The linux kernel parameter vm.swappiness affects the tendency of the OS to swap. It has a range from 0 to 100, with 0 causing swapping to occur only when needed and 100 to swap more aggressively. The default setting is 60.
There is little information available regarding an appropriate setting for this for Oracle RAC nodes. Do any of you have experience with swappiness? I have seen a few articles which recommend setting it to zero (0).
Best regards,
BillOur systems administrator have inquired about this parameter. I am not fixated on this and do not suffer from compulsive tuning disorder.
You, on the other hand, are obviously compulsive about too many of the wrong things. I'm sure everyone loves working with you... -
Hello -
I'm running Oracle 10g R2 on Solaris 10. Does anyone know how to set the shmmax kernel parameter? According to Oracle documention, all kernel parms have been deprecated except for shmmax, but I believe this is stored and set in a different location on Solaris 10.
ThanksA lot of kernel parameters, including SHMMAX, were replaced in Solaris 10 by resource controls.
you can check
Metalink note 317257.1
and
Installing OCS 10g R1 on Solaris 10
Mike -
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 -
DB_BLOCK_BUFFERS PARAMETER TUNING(ORACLE7)
제품 : ORACLE SERVER
작성날짜 : 2002-04-12
DB_BLOCK_BUFFERS PARAMETER TUNING(ORACLE7)
==========================================
Purpose
Oracle7 version의 database에서 db block buffer의 값이 적당한 지를
알아보고 Tuning 하는 방법을 알아보자.
Explanation
1. DB_BLOCK_BUFFERS parameter
(1) SGA 내 메모리에 캐쉬되는 데이타베이스 블럭의 수
(2) SGA 사이즈와 데이타베이스 성능을 결정하는 가장 중요한 요소이다.
(3) 높은 값을 갖게 되면 해당 블럭을 메모리에서 찾게 되는 빈도가 많아지기
때문에 디스크 입출력을 줄일 수 있지만, 보다 많은 메모리를 소모하게 된다.
2. 적정한 값 찾기
(1) 다음의 SQL문을 수행시켜 ratio 필드의 평균 값이 92% 이상이어야 한다.
- DBMS가 STARTUP 후부터 현재까지의 누적치를 보여준다.
- 현재의 HIT RATIO를 보려면 두 번 수행하여 차액을 갖고 계산한다.
rem
rem connect as system user id
rem
col logical_reads format 999,999,999,999
col physical_reads format 999,999,999,999
col physical_writes format 999,999,999,999
select a.value + b.value logical_reads,
c.value physical_reads,
round(100*(a.value+b.value-c.value)/(a.value+b.value),2) ratio,
d.value physical_writes
from sys.v_$sysstat a,
sys.v_$sysstat b,
sys.v_$sysstat c,
sys.v_$sysstat d
where a.statistic# = 37 -- db block gets
and b.statistic# = 38 -- consistent gets
and c.statistic# = 39 -- physical reads
and d.statistic# = 40 -- physical writes
(2) 적다고 생각될 때 initSID.ora 화일에서 다음을 고려한다.
DB_BLOCK_LRU_EXTENDED_STATISTICS = 1000
- 이 파라미터를 설정하고 다음의 SQL을 수행시킨다.
단, 값을 너무 크게 설정하면 심각한 퍼포먼스의 영향을 가져온다.
- 위의 1000 값의 의미는 현재보다 1000 까지 DB BLOCK을 더 늘렸을 때
cache hit가 증가하는 값을 알아보기 위함이다.
col Interval format a20
prompt Number of Additional Cache Hits (ACH)
select 200*trunc(indx/200)+1 || ' to ' ||
200*(trunc(indx/200)+1) "Interval",
sum(count) "Additional Buffer Cache Hits"
from sys.x$kcbrbh
group by trunc(indx/200)
Interval Additional Buffer Cache Hits
1 to 200 300
201 to 400 250
401 to 600 180
601 to 800 80
801 to 1000 50
(3) 많다고 생각될 때 init$ORACLE_SID.ora 화일에서 다음을 고려한다.
DB_BLOCK_LRU_STATISTICS=TRUE
- 이 파라미터를 설정하로 아래의 SQL을 실행하여 전체 버퍼에 대해 공헌하는
정도를 알아본다.
- 아래의 경우는 1 부터 600 까지의 버퍼만 사용되고 있음을 알 수 있다.
col Interval format a20
prompt Number of Losing Cache Hits (LCH)
select 200*trunc(indx/200)+1 || ' to ' ||
200*(trunc(indx/200)+1) "Interval",
sum(count) "Losing Buffer Cache Hits"
from sys.x$kcbcbh
group by trunc(indx/200)
Interval Losing Buffer Cache Hits
1 to 200 3915
201 to 400 434
401 to 600 199
601 to 800 0
9801 to 10000 0To MMM, the hit ratio is currently 100%. We want to lower that to about 95% and save some RAM at the expense of some slower queries.
To KM, no we are not using any stats_pack utilities.
Can anyone tell me the init.ora parameter to set in Oracle 8.1.7.4 to gets measures into the above table? -
Kernel parameter settings ,OS patches and packages
Hello,
We are going to install 11.2.0.3 on Oracle Solaris 11(Sparc 64bit).
There is no kernel settings information for solaris 11 in installation guide.
http://docs.oracle.com/cd/E11882_01/install.112/e24346/pre_install.htm#CIHFICFD
Can we use the same solaris 10 kernel settings to solaris 11 ?
Also want to know the OS patches and packages for solaris 11.
Thank you,
VenkateshCheck MOS Doc 169706.1 - Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)
HTH
Srini -
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 -
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 -
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 -
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
-
Bridge will not let me reject files using the quick key: option+delete
Hi Guys, This is really starting to frustrate me. I'm trying to move quickly some large quantities of files however, for some reason all I get is a error tone when I attemp to reject a image with the quick key after selecting it, or in full screen pr
-
Trying to understand compareTo()
Hello again world. Please excuse my thickness. I have two issues with the compareTo() method which I think are unrelated. I have an array of "Employee" objects. The array is called "emp" which I sort in main]/b] with the call [b]Arrays.sort(emp) and
-
Covert DPS folio to HTML5 for web viewing
Is this possible (natively or third party) ?
-
Does Firefox work with windows 8 touchscreen technology?
Considering purchasing all-in-one touch screen pc and want to know if Firefox browser works well with that technology.
-
[Solved] Counter Strike Crashes when joining a server
Hello, I have been running Steam (and of course Counter Strike) through wine for quite a while. However, after the new Steam release I am unable to join any games in Counter Strike 1.6 - other steam games seem to work fine. What happens is that I can