How Kernel Parameters values calculated in 10g*
Hi to all;
*10g Orace installation on OEL*
How Kernel Parameters values calculated in 10g
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
+# semaphores: semmsl, semmns, semopm, semmni+
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
Run the following command to change the current kernel parameters
/sbin/sysctl -p
** "/etc/security/limits.conf" **
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
My question I think 32 bit or 64 bit OS calculation will be same only.
I want know how it was calculated ?
Edited by: 969352 on Feb 9, 2013 7:02 AM
Hi
I suggest please review:
Relationship Between Common Init.ora Parameters and Unix, Linux Kernel Parameters [ID 144638.1]
Regard
Helios
Similar Messages
-
Calculating Kernel parameters for Oracle 11g R2 db on solaris 10u9
Hi Everyone,
I have query regarding calculating the kernel parameters for deploying oracle 11g R2 db on solaris 10 v 5.10 update 09 machine , we have Ram size of 64gb.
My question is how to calculate shared memory ,shared memory identifiers,semaphores, semaphores identiifiers for creating resource control for the project(user.oracle).
And how to fine out the available semphore values allocated in system..
Thanks in Advance.
Edited by: 898979 on Dec 15, 2011 10:24 PMHi;
For those setting mention in installation guide which is already shared previous post.
I suggest also see:
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) [ID 169706.1]
Regard
Helios -
In import process,how excise base value is calculated in MIGO
Hi expert's,
In import process,how excise base value is calculated in MIGO,with what referance values get add to base value.
waiting for your valuable response,
Regards
V.rajhi,
we Tried with your following reply ! but still not finding exact value in base value .
(MATERIAL PRICE* QTY IN MIGO * EXCHANGE RATE)
thanks & regards
V.Raj -
How to hide dynamic parameters values in the URL with Reports 6i
Hi,
I want to know a way of hiding the parameters values when asking for a report through the web.
Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
Is there any solution?
Thank you.
Marma Bonfiglio.Hi Rakesh,
I am using BI 7.0
The last option I have is 'Hide' for 'Calculate single values as' .
I have the below options for 'Calculate single values as'
1. Normalise according to Next group level Resul.
2. Normalize according to Overall Result
3. Rank number
4.Olympic Rank Number
5.Maximum
6. Minimum
7.Counter for all detailed values
8.Counter for all detailed values that are non zero
9.Moving average
10.Moving average That is Not zero ,null or Error
11. Hide.
So could you please tell me where i can find 'suppress result' option for the keyfigure .
Many thanks -
How can i pass calculated value to internal table
Hi
i have to pass calculated value into internal table
below field are coming from database view and i' m passing view data into iznew1
fields of iznew1
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
VGABE LIKE EKBE-VGABE,
EBELP LIKE EKBE-EBELP,
BELNR LIKE EKBE-BELNR,
MATNR LIKE EKPO-MATNR,
TXZ01 LIKE EKPO-TXZ01,
PS_PSP_PNR LIKE EKKN-PS_PSP_PNR,
KOSTL LIKE EKKN-KOSTL,
NAME1 LIKE LFA1-NAME1,
NAME2 LIKE LFA1-NAME2,
WERKS LIKE EKPO-WERKS,
NETWR LIKE EKPO-NETWR,
KNUMV LIKE EKKO-KNUMV,
GJAHR LIKE EKBE-GJAHR,
and now i want to pass
one field ED1 which i has calculated separatly and i want to pass this value into iznew1
but error is coming that iznew1 is a table with out header line has no component like ED1.
so how can i pass calculated value to internal table iznew1,When you declare your internal table , make an addtion occurs 0
eg . data : begin of iznew occurs 0 ,
fields ...
add the field here ed1.
end of iznew.
now when you are calculating the value of ed1,
you can pass the corresponding value of ed1 and modify table iznew.
eg
loop at iznew.
iznew-ed1 = ed1.
modify iznew.
endloop. -
How to populate the calculated value into screen field.
I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
The Calling screen: SAPLIQS0
Screen Number: 7790
Screen Area :USER0001
Called Screen: SAPLXQQM
Screen Number: 0101
I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
How to populate the calculated values in Custom screen?
Where we wrote the code to populate the calculated values in custom screen?
You have any idea please guide me
Thanks & Regards,
SamantulaAs your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)
-
How to pass value to some view parameters for a nested combo, on load ? 11g
Hi, I have a requirement for to do two combos, in a master-detail relationship.
The first one it's a very simple combo, a simple query in DB, so far so good. The second one depends on first and depends either from the username, that I get from a Payload binding (two parameters in where clause).
In the first activity on my flow it's work very well. The user chooses the "idMaster", a valueChangeListener event runs an ExecuteWithParams OperationBinding and fills up the nested combo.
But, I've tried in some many ways to fill both combos and bring in their previously selected values, in the next task, but until now I'm not able to do that. I believe that I have to, somehow, call ExecuteWithParams before setting the defaut value. It's this the correct approach ? I tried it on managed bean constructor, but it not works.
So, how can I call a VO, passing parameters values into it, fill this nested combo, and set this pre-selected value, before pages load?
Any ideias?
Thanks.Continue here
-
How to change timeout parameter value in Oracle 10g R2
Anyone knows how to change timeout parameter value in Oracle 10g Database R2?
Waheed Azhar wrote:
actually i am getting ORA-01013 exception which directly relates to the timeout value but i think it's hidden parameter...What makes you think it's a hidden parameter?
A search of MetaLink for that error turns up a number of hits, most of which a very situational specific. Exactly what are you doing when you get this error? Are you connecting over an ODBC connection? Are you getting it on a connection request? At db shutdown? During a long-running query? -
How to bind values for input parameters from an adf table?
Hi,
The version I am using is
Jdev TP4 11.1.1.0.0
I need to know how to bind values for input parameters to methods.
I have created an af:table and I have a button created using a method which is outside the af:table. This method needs to take input parameter values from the column values in the table.
When I have an adf form instead of the table the binding works.
Any help?
Thanks.Hi Balaji,
you need to bind you table to a backing bean and call a method in the backing bean when you hit the button. In the method you get the selected row from the table and have access to the columns of it. Then call the the method with the parameters.
To bind the table to a bean select the properties of the table, go to behavior section and look for the advanced section 'Binding' property.
Select the small down arrow at the right side and click edit. In the dialog select or create a bean and property for the table.
Go to the button properties, look for 'Action', again select the small down arrow and click 'Edit'. Select the bean which holds the table property and create a method for the button.
The method look like public void bearbeitenQuelle(ActionEvent actionEvent)
// Add event code here...
RichTable lTable = getYourTable();
Object lData = lTable.getSelectedRowData();
FacesCtrlHierNodeBinding lNB = (FacesCtrlHierNodeBinding) lData;
YourViewRow lRow = (YourViewRow ) lNB.getCurrentRow();
}Hope the get you started
Timo -
Ubuntu 14.04 on L440: kernel parameters on boot
Hi,
I got myself a Lenovo L440 and decided to go dual boot with Windows and Ubuntu 14.04. I start to regret my choice because the hardware doesn't seems to be very compatible. After issues both network and audio parts, I am having problems with the general features such as the brightness controls and the fan control.
I had graphical problems on boot when I launched X server with startx.
After some readings, I read that nomodeset option should be enabled in GRUB for the Ubuntu partittion. Apparently by having this options, it tells the kernel to only load the graphical drivers when the graphical server is started, and not when the kernel is started. I had to enable this option to fix my problem which was a black screen when the graphical server started (sometimes...).
By enabling nomodeset, I don't have features such as backlight control. Apparently, I need to had the kernel parameters "acpi_osi=", with or withtout a right-value of the equalization ("Linux, "Windows 2012", or nothing).
I have no idea how to get my backlight control and if I am doing the right way with nomodeset.
What do you think?
Thank you!Hi:
You may also want to post your question on the HP Business Support Forum -- Proliant Servers section.
http://h30499.www3.hp.com/t5/ProLiant/ct-p/proliant -
Hi, I'm using DIscoverer 4i and I noticed how the tool, after every successfull query,
remembers all the parameters' values used.
If I want to make a new query....I found automatically the parameters' values used before....
I defined, also, default values parameters, in order to show them at the beginning in the Parameter Wizard.....but they don't appear (I see always the parameters' values used in the previous query).
Is there a way to avoid to see the old parameter's values and show, instead, the default parameter's values ?
Thanks in advance
AlexThanks Rod, but this parameter is not present into the pref.txt file of Discoverer 4i version....
only in the 10g version...
Do you have any other idea ? -
Checking Linux Kernel Parameters before installation
Hi Everyone.
I am planning to install Oracle 10g XE and I know that with the installation kernel parameters will change. As I don`t know what will happen that in relation to the system, I would like to check default kernel parameters. I know it`s a Linux question but it`s indirectly related with the installation. So... I want to save that information if something goes wrong.
Can you help me?Hi.
Thanks for the clue.
I did:
less /etc/sysctl.conf
and the output is:
# 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
I don`t recognize here any of the kernel parameters listed in the installation guide for Oracle 10g XE. http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm (2.1.3 Server Component Kernel Parameter Requirements)
what do you mean with backup? Just copy&paste the output? If not I do I perform backup?
Can you help me?
thanks,
Kind Regards -
Setting IPCS kernel parameters in Solaris 9
I'm trying to install Oracle 9i on Solaris 9 but it fails during the database instance startup phase of the installation. The error message that I get relates to a failure in shmget. I read the Oracle docs and other docs and this is how I set the parameters in /etc/system:
set semsys:semmni=100
set semsys:semmns=1024
set semsys:semmsl=256
set shmsys:shmmax=4294967295
set shmsys:shmmin=1
set shmsys:shmmni=100
set shmsys:shmseg=10
I noticed that the semaphore and shared memory modules are not loaded when the system boots up, instead they are only loaded when the semget or shmget commands are called by dbca. When I execute the command sysdef I notice that these kernel parameters are set to the default values not the values that I specified in /etc/system. I am new to Solaris so could someone with an expertise in it point me in the right direction.
Thanks in advance.have a look at : - http://docs.sun.com/db/doc/816-7137?q=tunable&s=t
you can alaways come back to us if you have any questions about a specific tunable.
- Saurabh Mishra -
Kernel parameters problem (512 mb RAM)
Hi,
I've installed Oracle on RedHat 5.2 (2.0.36) on a machine with
512 mb memory.
First I've recompiled the kernel how Oracle says and basing in
some documents (like
http://jordan.fortwayne.com/oracle/oralinux.html). Of course I've
saved a copy of the old kernel. The linux was ok, the command
ipcs -l shows the new values of the kernel parameters, but Oracle
didn't start. I've restored the copy of the kernel, the ipcs -l
shows the old values and now Oracle is running, with a SGA of
almost 300 mb.
Is there some problem in that? Will the machine loose performance
because the miminum values of the kernel parameters?
Best regards,
Ari
nullAri Arantes (guest) wrote:
: Hi,
: I've installed Oracle on RedHat 5.2 (2.0.36) on a machine with
: 512 mb memory.
: First I've recompiled the kernel how Oracle says and basing in
: some documents (like
: http://jordan.fortwayne.com/oracle/oralinux.html). Of course
I've
: saved a copy of the old kernel. The linux was ok, the command
: ipcs -l shows the new values of the kernel parameters, but
Oracle
: didn't start. I've restored the copy of the kernel, the ipcs -
l
: shows the old values and now Oracle is running, with a SGA of
: almost 300 mb.
: Is there some problem in that? Will the machine loose
performance
: because the miminum values of the kernel parameters?
: Best regards,
: Ari
I have a setup similar to yours (384 MB instead of 512 MB),
and I spent some time looking at the parameters.
You CANNOT use the value for SHMMAX from the Oracle manual!
As it says at http://jordan.fortwayne.com/oracle/oralinux.html
"Should you decided to change these parameters, if you set
the SHMMAX to what Oracle says, you are telling the system
to allow a shared memory segment to grow as large as 4 Gigs.
Many users have reported problems setting the value this
high."
Sounds like you are another one of those users, eh?
If you read on down, the guy who wrote that web page never
used over 128 MB for SHMMAX. I'd take a strong hint from that.
=====
Oracle wants you to use 4GB-1 as the SHMMAX value. That
equates to (1<<32)-1. As we shall see, that is not allowed
without "breaking the rules" for the i386 architecture.
If you carefully read through the header file, you will find
out that the **actual maximum value** for SHMMAX is 256 MB.
You can tell this two ways. Take a look at the file at:
/usr/src/linux/include/asm/shmparam.h
Near the top of the file is:
/* address range for shared memory attaches if
no address passed to shmat() */
#define SHM_RANGE_START 0x50000000
#define SHM_RANGE_END 0x60000000
Note that the above is 256 MB (0x10000000), or (1<<28). This
is one potential source of trouble. I don't know if some other
files someplace else in the kernel specify uses for address
ranges adjacent to the above range, which I take to be the
"practical maximum" without redefining that range. Personally,
I wouldn't want to mess with the above unless I **really**
knew what I was doing (and I'll be the first to admit I don't).
=====
Farther down you will see some more lines (not together)
that look like this:
#define SHMID_BITS 7
#define SHMIDX_BITS 15
* SHMID_BITS + SHMIDX_BITS must be <= 24 on the i386 and
* SHMMAX <= (PAGE_SIZE << SHMIDX_BITS).
#define SHMMAX 0x2000000 /* max shared seg
size (bytes) */
Now, 7 + 15 is 22, so you could go up a couple of bits if you
had to. To avoid making the table any larger, I would suggest:
#define SHMIDX_BITS 17
But, 17 turns out to produce a result larger than the "practical
maximum" (256 MB) above. To see why takes a little more
explaining.
And if you don't change this at all, then the maximum possible
value for SHMMAX is 4096 [the PAGE_SIZE) << 15 [_SHM_IDX_BITS],
or rather (1<<27).
Now, that is exactly half of the (1<<28) "practical maximum" I
mentioned above.
So, if you always want the maximum amount of shared memory,
then change the definition of SHMMAX to the following:
#define SHMMAX (PAGE_SIZE<<_SHM_IDX_BITS) /* max shared seg
size (bytes) */
That gives you 128 MB in and of itself (as compared with 32 MB
as Red Hat 5.2 is delivered).
If you want the full 256 MB that is allowed for in the memory
map, then you need to also change:
#define SHMIDX_BITS 16
The above value is **exactly** what is recommended on the web
page you were following (above).
If you want to keep going up, you will need to change the
memory space allocated for shared memory as defined by
SHM_RANGE_START and SHM_RANGE_END, something I advise against.
=====
Even on a machine with 512 MB of "real" memory, I find it hard
to believe that there would be any substantial benefit to
having a maximum shared memory space greater than 256 MB. The
reason is that Oracle can use multiple shared memory spaces.
It requires a minimum of ten (10), according to the installation
manual, but the Red Hat 5.2 distribution supplies SHMMNI (128)
of them. That will allow each Oracle process to have a total
of up to 32 GB of shared memory (128 times 256 MB) and all it
asks for is 40 GB (10 times 4 GB), so it has plenty, IMHO.
=====
Let me say a few more words about the web page you were using
for configuration advice. That person actually **reduced** the
amount of shared memory segments by specifying **lower values**
for SHMMNI and SHMSEG (not to mention the semaphores).
I'd **STRONGLY** recommend **NOT CHANGING** those other values!
Its my understanding that Oracle can make up for the smaller
maximum shared memory segment size by using more shared memory
segments. So, if you reduce those, you are essentially shooting
yourself in the foot by taking away what you are giving with
increasing the maximum segment size.
=====
Good luck, and may this farce be with you!
null -
Unable to set kernel parameters using Reource Control
HI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanx
guruI finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
prctl -n process.max-msg-messages -r -v 64k 2221
bash-3.00# prctl 2221
process: 2221: -csh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-port-events
privileged 65.5K - deny -
system 2.15G max deny -
process.max-msg-messages
privileged 64.0K - deny -
system 4.29G max deny -
process.max-msg-qbytes
privileged 64.0KB - deny -
system 4.00GB max deny -And now to make this persist across reboots...
So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
bash-3.00# projadd -p 115 -U testuser \
-K "process.max-msg-messages=(priv,64K,deny)" \
-K "process.max-msg-qbytes=(priv,64K,deny)" \
user.me This creates the following /etc/project:
(note the last line is all on one line in the real file minus the \.)
placer% cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.me:115::testme::\
process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
placer% prctl $$
process: 419: -csh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-port-events
privileged 65.5K - deny -
system 2.15G max deny -
process.max-msg-messages
privileged 64.0K - deny -
system 4.29G max deny -
process.max-msg-qbytes
privileged 64.0KB - deny -
system 4.00GB max deny -
process.max-sem-ops
privileged 512 - deny -
system 2.15G max deny -
...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
Cheers,
~~sa
Maybe you are looking for
-
I'm unable to sync my ipod nano
This was a gift in January and I still have not been able to transfer from itunes to ipod nano after many many attempts and searches for assistance. As my first Apple device I'm really unimpressed - extremely slow on itunes which appears to clog up m
-
ERROR 150:30 For Photoshop Elements 8 running on WIN 7
What is the fix, please?
-
Hello, A while back I posted a thread asking about using the font manager "Suitecase" and Final Cut Pro. It was clear that Suitecase should not be used with Final Cut. I work at an ad agency and we have a database of 4000 fonts. Does anyone know of a
-
Run code\function after stopping a QTP\UFT script
Hi, I have a scenario where I want to perform some tasks (like zipping and attaching files to QC) after my UFT\QTP script is stopped. The script can stop in all these scenarios: 1.) forcefully manual-stop the script 2.) run-time errors 3.) script tes
-
Is there a way to shut off part of my macbook pro screen?
When I am only listening to music or doing a small task the large screen seems sort of unnecessary. I can dim the entire screen with the brightness adjustment. But I wonder if there is a way to minimize the screen to only take up a portion of the mon