{"id":1590,"date":"2016-04-13T11:09:23","date_gmt":"2016-04-13T08:09:23","guid":{"rendered":"http:\/\/www.fatihacar.com\/blog\/?p=1590"},"modified":"2016-10-12T11:21:55","modified_gmt":"2016-10-12T08:21:55","slug":"ora-00020-maximum-number-of-processes-string-exceeded","status":"publish","type":"post","link":"https:\/\/www.fatihacar.com\/blog\/ora-00020-maximum-number-of-processes-string-exceeded\/","title":{"rendered":"ORA-00020: maximum number of processes (string) exceeded"},"content":{"rendered":"<p><strong>Error:<\/strong> ORA-00020: maximum number of processes (string) exceeded<\/p>\n<p><strong>Cause:<\/strong> All process state objects are in use.   <\/p>\n<p><strong>Action:<\/strong> Increase the value of the PROCESSES initialization parameter.<\/p>\n<p><strong>Solution:<\/strong> You have to increase processes parameter value. <\/p>\n<p>ORA-00020 is caused by two things:  <\/p>\n<p>1- A lot of idle that is not working (zombie) connection. You can kill this connections from database. Maybe also you have to kill proceses at the operating system level witk kill -9 command.<\/p>\n<p>2- Too few process parameter value. Oracle provides limit for the number of connected processes with the processes parameter. Also you may get the ORA-00020 error due to system resourse limit.<\/p>\n<p>Calculating amount of sessions and transactions parameter values with below formula.<\/p>\n<blockquote><p>processes=x<br \/>\nsessions=x*1.1+5<br \/>\ntransactions=sessions*1.1<\/p><\/blockquote>\n<p>You can show and increase processes parameter like below.<\/p>\n<blockquote><p>\nSQL> show parameter processes;<br \/>\nprocesses integer 150<br \/>\nSQL> alter system set processes=300 scope=spfile;<br \/>\nSQL> shutdown immediate;<br \/>\nSQL> startup;<\/p><\/blockquote>\n<p>You should set the processes parameter to a very high value because it consumers very little resources and you do not want your instance to &#8220;lock up&#8221; with the ORA-0018 error.<\/p>\n<p>Also, you can look this topic: <a href=\"http:\/\/www.fatihacar.com\/blog\/ora-00018-maximum-number-of-sessions-exceeded\/\">http:\/\/www.fatihacar.com\/blog\/ora-00018-maximum-number-of-sessions-exceeded\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: ORA-00020: maximum number of processes (string) exceeded Cause: All process state objects are in use. Action: Increase the value of the PROCESSES initialization parameter. Solution: You have to increase processes parameter value. ORA-00020 is caused by two things: 1- A lot of idle that is not working (zombie) connection. You can kill this connections&#8230;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53],"tags":[111,112,54],"class_list":["post-1590","post","type-post","status-publish","format-standard","hentry","category-oracle-errors-and-solutions","tag-ora-00018","tag-ora-00020","tag-oracle-error-solutions"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-pE","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/1590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=1590"}],"version-history":[{"count":3,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/1590\/revisions"}],"predecessor-version":[{"id":1593,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/1590\/revisions\/1593"}],"wp:attachment":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=1590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=1590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=1590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}