MAX. NO. OF PROCESSES exceeded
We have RAC setup running on SunSolaris SPARC (64-bit) server, with 32G RAM on each instance. Current setting for processes
parameter is 5000, but unable to increase it.
It raises an error ORA-00020: maximum number of processes (string) exceeded.
Kernel parameter for given scenario is:
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
Referring to other forums & docs, it says maximum no. of semaphores should be less than or equal to (SEMMSL*SEMMNI) or SEMMNS, whatever is smaller.
According to this calculation, It should not work for 5000 even, taking SEMMNS=1024. What is the workaround I can follow??
It's urgent, on production system!!!!
Regards,
user1012
Hi,
Thanks for your interest.
Here is the scenario:
We're using a J2EE based application on Radius. Thousands of client requests striking in seconds. So it's a very huge RAC configuration with 32G memory & 2 nodes in cluster. As per our RDA analysis, it shows dead processes may be one of the reasons it goes beyond the maximum processes.
Now my question is,
1. What are possible values of SGA & PGA allocation based on this OLTP architecture?
2. Are kernel parameters well set?
4. How to remove dead processes from memory?
Similar Messages
-
Max number of items exceeded?
I am trying to develop a questionaire like application. Most of the logic is stored inside pl/sql functions (that is retrieving the previous or next question with possible answers and answer-types, like, eg. radiogroup, select-list, textarea, ...) while all of the questions and respective possible answers are kept inside a collection. In processing the answers after submit I store given answers inside the same collection, basically by nullifying all possibly previously given answers for the current question and then looping through eg, g_f01.count to refill. The entire application remains on the same page, showing eg., in one 'frame', one or two questions with say 7 checkboxes and two textareas.
Everything seems to work fine, I can go forward and backward and will find new questions or ones that already have been answerd, but!!...
after the 50st item (answer), that is after I reached the 50st radiogroup, checkbox or textarea, new checkboxes or radiogroups even though shown the resulting values will not be stored inside the collection anymore.
generating the page i use:
htp.prn(apex_item.radiogroup(p_idx => 1, p_value => c2.a_id, p_selected_value => c2.qa_id, p_attributes => 'id="P2_QUEST_' || i || '"'));
and in processing correspondingly ...
FOR i IN 1 .. apex_application.g_f01.COUNT
LOOP
FOR c2 IN
(SELECT seq_id,
c001 q_id,
c002 a_id,
c012 qa_id
FROM apex_collections
WHERE c001 = to_char(p_q_id)
AND collection_name = 'ANSWERS'
AND c002 = apex_application.g_f01(i))
LOOP
apex_collection.update_member_attribute(p_collection_name =>
'ANSWERS', p_seq => c2.seq_id, p_attr_number => '12',
p_attr_value => c2.a_id);
END LOOP;
END LOOP;
to me I only use f01 ... f04 say, ... Is it possible that I still hit the max of 50 page-items?
Regards
j.max number of items exceeded?
-
Hyperion Financial Reports Studio Error. Max No of connections exceeded.
I have encountered an error in FR Studio, it says Max No of Connections Exceeded.
It occured twice in this month, everytime it happens we need to restart Reporting and Analysis Framework. Can someone suggest where can I increase the max no of connections allowed?Ok...My bad..
You will have tun serviceconfig.sh under Hyperion_Home\products\Foundation\workspace\bin to bring up GUI,then From the menu available you will see Remote service configurator,select that and provide the credentials.After you login,there should RM1 and SB1.You will have to go o properties of RM1 and SB1 and then increase the connection.Restart is required for this to take affect.
Let me know -
Error"Max no of gateways exceeded (100)
Hi All,
We have two apps servers on our sap production system. I couldn't login in one of the app server through SM51 .when I tested the Internal RFC in SM59 I got this error-:
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: max no of gateways exceeded (100)
Error Details LOCATION: SAP-Gateway on host hkbisrapl2 / sapgw02
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 52597
Error Details MODULE: gwxxrd.c
Error Details LINE: 8438
Error Details RETURN CODE: 631
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Sat Feb 14 13:00:36 2009
Error Details VERSION: 2
Pls suggest me the solution.
Regards,
PrashantNo, its R3 Production server. Internal RFC for one of the app server is giving this error.
When I tried to set the following parameters in the instance profile of the same I again got the same error while saving the profile.
Can I make the changes in instance profile of app server at OS level?
Profile parameters-: (On Application Servers)
rdisp/tm_max_no 5000
rdisp/max_comm_entries 200
Pls suggest.
Regards,
Prashant -
Max no of gateways exceeded (100)
Hi guys
Suddenly, I start to receive error messages about the RFC failure, No changes done in Basis related.
There are RFC error any many areas;
SM21 - I Maximum number of 100 connectable SAP gateways reached\
STMS - RFC communications error with system/destination TMSADM-PRD.DOMAIN_DEV
Sm59 - we cannot verify the RFC Connection
Please advise us on base of SOS
Regards
Anwer WaseemHi
Thanks for the expert reply, i did same as below described, there are 6 clients in the "logged clients" by the smgw.
0 DBSERVER1 sapgw02 Local Web AS DBSERVER1 ip dbserver1 Wed Jun 25 09:02:42 2008 Connection OK
1,037 DEV sapdp01 Remote Gateway DEV ip dev Wed Jun 25 08:38:04 2008 Connection OK
1,229 ip dbserver2 sapdp02 Remote Gateway ip dbserver2 ip dbserver2 Wed Jun 25 09:02:12 2008 Connection OK
1,292 QAS sapdp01 Remote Gateway QAS ip qas Wed Jun 25 08:38:04 2008 Connection OK
1,319 DBSERVER jlaunch External Client DBSERVER ip dbserver1 Wed Jun 25 09:02:12 2008 Connection OK
1,377 DBSERVER1 IGS.PRD Registered Server DBSERVER1 ip dbserver1 Wed Jun 25 09:02:38 2008 Connection OK
RFC Trace file
============
Sun Jun 22 15:01:03 2008
***LOG Q14=> GwIConnectHandle, max gateways (100) [gwxxrd.c 8504]
LOCATION SAP-Gateway on host DBSERVER1 / sapgw02
ERROR max no of gateways exceeded (100)
TIME Sun Jun 22 15:01:03 2008
RELEASE 700
COMPONENT SAP-Gateway
VERSION 2
RC 631
MODULE gwxxrd.c
LINE 8505
COUNTER 112523
I am unable to verify the RFC and unable to transport from QAS to PRD
Regards -
Max. number of expressions exceeded
I have a simple SQL to select data from a single table with a
list of 1000 elements i.e. SELECT A FROM TABLE_A WHERE B IN (1,
2, 3, ..., 1000). It worked fine. If I added one more i.e.
WHERE B IN (1, 2, 3, ...., 1000, 1001), then I got error 1795 -
Max number of expressions exceeded 254. I thought this error
applies to the number of expressions. What I have was a list of
values in a single expression -> B IN (1, 2, ...).
I think the error message is misleading. If there is a limit of
1000 elements in the IN expression, the error message should say
so unlesss Oracle somehow formats the 1000 elements into 254
expressions behind the scene.
Any comments.
Thanks.
nullWhat versions are you using?
Do you have a License?
thanks
mike -
Can any java process exceed the maximum memory allocated
Hi,
I have a basic question on the memory settings. Assume I have a java process where the memory settings are like:
-Xmx1024m
where the server capacity is say 8GB Then can the process exceed the allocated memory of 1GB and go further say upto 4 GB.
If above thing is possible, how can we limit the process not to exceed the given limit? What settings need to be used.Krish8 wrote:
Hi,
I have a basic question on the memory settings. Assume I have a java process where the memory settings are like:
-Xmx1024m
where the server capacity is say 8GB Then can the process exceed the allocated memory of 1GB and go further say upto 4 GB.
If above thing is possible, how can we limit the process not to exceed the given limit? What settings need to be used.Yes the used memory can exceed that if you e.g. are using memory mapped files. Don't know if you can restrict it unless your OS has some kind of support for it.
Kaj -
Ora-0059: max no.of db_files exceeded
hi.
my db is in archivelog mode(24x7).
i tried to add data file to my tablespace
i got the following error
ora-oo59: max no of db_files exceeded.
plz tel me step by step how to change the db_files parameter
in what state
when i have to take backup of control file
then again how i have to open the database.
my current db_files value is 400 .
i need atleast 600.
thanks and regards
sureshDB_FILES is a static parameter, and cannot be change online. Restarting the db is required.<br>
alter system set db_files=600 scope=spfile;
shutdown immediate
startup<br>
<br>
Nicolas. -
Maximum number of mail processes exceeded
I've got problems with my mailserver. I already had them, but after a restart the problems didn't occur. From today after sys updates I have them back.
Some clients mostly iPhones can't connect to my mailserver.
In the system log I have the following error message:
Jul 26 15:07:49 miniserver dovecot[60]: Maximum number of mail processes exceeded (see maxmailprocesses setting)
I don't know where these settings are in a config file.
I also have problems with webmail, I I want to login I get an error message: Unknown error: Internal login failure. Refer to server log for more information.
Thanks,
PatrickI found the config file and edited in: /etc/dovecot/dovecot.conf
Settings were: mailmacprocesses: 3
Changed it to 300 and voila. -
ORA-Error: Maximum number of Processes exceeds
Hi,
Today we got one Oracle error: Maximum number of Processes exceeds while connects to our Oracle Database.
We have application running on our DB, which have 50 threads running and making connection to Oracle Schema.
In our init.ora file the Processes Parameter is set to 50.
But we also have another init<Schema Name>.ora file which has Processes Parameter as 50.
When I search on this error, I got that it is due to no. of user processes on Oracle instance.
What are these user processes exactly?
If we set the Processes Parameter as 150, and we have RAC environment with 3 Cluster, does it means we have 150*3 processes can run at a time.
The other doubt I have is that: Is this parameter is instance based, SID based or cluster based?
Please provide some input on this.
Thanks in Advance.
Manoj MacwanIf you don't issue
alter system set processes=150 scope=both sid='<your instance 1>'
all instances will be allowed to fork 150 processes.
The other poster is incorrect.
Sybrand Bakker
Senior Oracle DBA -
Just recently started getting error message from Oracle 8i 'number of processes exceeded'. It is currently set to 50. The processes in Linux never seem to get killed. Our application is made up of web pages and a DLL running on IIS. Closing IE Browser however does appear to kill the processes after about 40 seconds.
I think this is a problem with dead database connections which is creating the problem for you.
These can be detected and killed by SQL*NET.
You may please try the following:
Step 01:Under $ORACLE_HOME/network/admin folder, go to the file "sqlnet.ora"
Step 02:Edit the file by adding
SQLNET.EXPIRE_TIME=n (Please specify a value for n )
This parameter will make SQL*NET send a probe every n minutes & kill all the dead connection processes.
Please note that this should be issued on the server side only.
null -
Number of processes exceeds maximum limit
Normally how many process we need to put in init.ora.
My database currently has processes=100 so Obviously sessions=(100 X 1.1)+5=115.
Some times we use to get Number of processes exceeds more than 100.
What does it mean. What is the preferable value for processes.
I have a thought to put Processes=300.
Regards,
Ganesh.Dear Ganesh,
When you are getting the "Processes exceeded" error, your Oracle server is letting you know that the number of operating system processes has exceeded 100.
Go ahead and set:
processes = 250
in your INIT.ORA file. You have to then shutdown and restart the database for the changes to take effect.
Ciao.
null -
Maximum no of processes exceeded
I am using Oracle 8.1.6.3 database and OC4J as webcontainer.
I am getting following error on server side and I have clue why I am getting this.
java.sql.SQLException: ORA-00020: maximum number of processes (200) exceeded
SQL Error: java.sql.SQLException
java.sql.SQLException: ORA-00020: maximum number of processes (200) exceeded
There are lot of complaints like that and when I run load test then users start failing and can not access the pages. Following is the entry in data-sources.xml for this application
class="oracle.jdbc.pool.OracleDataSource"
name="jdbc/pool/OracleDS2"
location="jdbc/ConnectionDS2"
source-location="jdbc/OracleCoreDS2"
pooled-location="jdbc/pool/OracleDS2"
url="jdbc:oracle:thin:@machine:1521:development"
username="user"
password="password"
min-connections="3"
max-connections="50"
wait-timeout="10"
xa-location="jdbc/xa/OracleXADS2"
ejb-location="jdbc/OracleDS2"
connection-driver="oracle.jdbc.driver.OracleDriver"
inactivity-timeout="30"
/>
Please help me out. I also noticed that my connection pooling is not working the way I expected. Once there is no one accessing application I thought that time I should have 3 connections but I dont have that no. some time I have 0 and some time I have anyother no.
Thanks in advance for help.
FaizanAvi -- Some responses embedded below. Also, we do need to expand the documentation in this area. You can also
look at the JDBC documentation for the Oracle9i Database. It has a JDBC book and describes Oracle data sources in
there. An OTN link is:
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/connpoca.htm#1056354
Jeff,
I may have missed something, but all I found in the documentation regarding
"Caching Schemes" was a single paragraph:
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95879/ds.htm#1006044
I know that I can experiment with my "data-sources.xml" file, and I can
look at the relevant DTD, but I would really much prefer some more detailed
information. So yes, you could say I'm being lazy, but I would really
appreciate it if you answered the following questions:
1. Can the "cacheScheme" property be used with any type of data source,
or only with the "com.evermind.sql.OrionCMTDataSource"?I usually only work with about the com.evermind.sql.OrionCMTDataSource. According to the docs it should be available
with any pure Oracle data soruces that implement the connection caching.
2. What is the default value for "cacheScheme" (or isn't there one)?The default value in this case is DYNAMIC_SCHEME which will continue to try to get connections for you even when it
exceeds the maximum connections specified.
3. What are the differences between the various values (DYNAMIC_SCHEME,
FIXED_WAIT_SCHEME and FIXED_RETURN_NULL_SCHEME)?DYNAMIC_SCHEME -- Creates a new connection if you need one regardless of max connections.
FIXED_WAIT_SCHEME -- Will wait for a connection to become available.
FIXED_RETURN_NULL_SCHEME -- Will return null if a connection is not available.
4. What other "properties" are there?The only properties I generally deal with are the caching schemes and the link properties for 2PC configuration. There
can be others based on your data source implemention.
Thanks (in advance :-),
Avi. You're welcome. BTW, your not lazy, just time challenged like the rest of us.
Thanks -- Jeff -
TNSLSNR is failed when the no. of process exceeds.
Hello,
We received a problem like if the process or sessionsis exceeded the no. 150, then the listener got down and error has come like "TNSLSNR is failed ".
but if you kill some process and if the no. process is below 150 then again it will works fine.
That is the case when no. process or the sessons reached to 150 the listener got disbalanced. but in init.ora and spfile , the number of process is 250 and the sessions is 280. I dont know why this problem has come.
please help me.
if you have any idea then please mail me to [email protected]
Thanks
bye
PranabBut is shows TNS internal limit restriction exceed.Yes, that is because of this Operating System error:
HPUX Error: 23: File table overflowRefer to the metalink note provided above by oradba and fix the underlying OS error. First fix the root cause of the error which is the OS error "File table overflow". Once you do that, try again and post errors if still you have issues.
Message was edited by:
Kamal Kishore -
Maximum number of processes exceeded 150
Dear All,
I have modified my init file and set the processes to 300 but I still keep on getting the above error.
When I issue the statment :
Select * from v$parameter where name='processes'
I get the value 300.
Why does the system message show 150 ?
How can I alter this ?
I have stored procedures which return ref cursors to the calling environment which is JSP pages.
We are closing the resultsets where ever the stored procedure are being called as soon as the processing is over.
How can I overcome this problem ?
Thanks in advance.
Regds..ramkiGo to this page is explains what to look for
http://asktom.oracle.com/pls/ask/f?p=4950:8:10090713663713896110::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:5671284058977,
Maybe you are looking for
-
How do I burn a dvd from an iMovie?
How do I burn a DVD from an imovie?
-
HOWTO: Openbox Menu Icon in PyPanel
Using Openbox and PyPanel (or similar) and are tired of either having to minimize windows or adjust maximum window size to leave space for right-clicking on the desktop? Do you have a keyboard shortcut set up to open the menu, but also want to be ab
-
Editing RED RAW ... final output for color?
I'm editing with RAW RED files straight from camera. Looking good but just want to know what my best possible output file and quality scheme should be. Anyone else here do this workflow? I want to send out REDlog Film Gamma space for my color session
-
In OBIEE 11.1.1.6 version, I drag one brand column, one year column and two measure column named 'Revenue','Quantity' For one requirement: ------------------------------------2008--------2009--------2010 Brand BizTech--- -----Quantity-----1000-------
-
Clicking 'update' in software update doesn't update
Clicking update doesn't do anything, these remain in my window. I tried restarting but issue remains.