Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-00018: maximum number of sessions exceeded

Re: ORA-00018: maximum number of sessions exceeded

From: Tim Gorman <Tim_at_SageLogix.com>
Date: Mon, 03 Mar 2003 13:54:10 -0800
Message-ID: <F001.0055EF98.20030303135410@fatcity.com>


I don't recall if the V$RESOURCE_LIMIT view existing in 7.3.4, but you might want to check. It is a better diagnostic point for that particular resource...

The "init.ora" parameter SESSIONS is related to the ORA-00018 error message, not any of the licensing parameters. Please use SHOW PARAMETER SESSIONS in SVRMGR to display its value. Generally, people let the value of the SESSIONS parameter default to 1.1 * PROCESSES, but you can increase it if you like.

Hope this helps...

  We are running Oracle 7.3.4.5.0 on an IBM/AIX RISC System/6000: Version 2.3.4.0.0.

  This afternoon, our users started getting the error message "ORA-00018: maximum number of sessions exceeded." As time went on, the number of sessions was decreasing (as shown by the count of rows in v$session). However, Oracle still did not allow connections. This lasted for about 40 minutes.

  The sessions parameter in the initialization parameter file showed 300.

  Querying v$session showed 246 rows.

  Querying v$license reported:

  SQL> select * from v$license;

  SESSIONS_MAX SESSIONS_WARNING SESSIONS_CURRENT SESSIONS_HIGHWATER USERS_MAX

             0                0              204                248         0



  There seems to be a contradiction here: 300 sessions in init.ora; sessions_highwater at 248, and Oracle not allowing connections because the maximum has been reached.

  Has anybody encountered this problem before. Is there a "simple" reason for this erratic behavior?

  Management is looking for an answer as to why this has happened. Thanks for any input!

  Sam Bootsma

  sbootsma_at_gbrownc.on.ca

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Tim Gorman
  INET: Tim_at_SageLogix.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Mar 03 2003 - 15:54:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US