How to modify the setting of concurrent connections in Oracle

Source: Internet
Author: User
Unable to connect to Oracle database, error prompted OERR: ORA-12519TNS: noappropriateservicehandlerfound client connection intermittent failure, error ORA-12519Cause: thelistenercouldnotfindanyavailableservicehandlersthatareappropriatefortheclientconnec

Unable to connect to Oracle database, prompt related error OERR: ORA-12519 TNS: no appropriate service handler found client connection intermittent failure, error ORA-12519 Cause: the listener cocould not find any available service handlers that are appropriate for the client connec

The Oracle database cannot be connected, and related errors are prompted.

OERR: ORA-12519 TNS: no appropriate service handler found

Client Connection intermittent failure, error ORA-12519

Cause: the listener cocould not find any available service handlers that are

Appropriate for the client connection.

Action: run "lsnrctl services" to ensure that the instance (s) have registered

With the listener, and are accepting connections. Check the lsnrctl service and the instance has been registered,

When the status shows ready, you can connect.

When the listener believes the current number of connections has reached maximum load,

It may set the state of the service handler for an instance to "blocked" and begin refusing

Incoming client connections with either of the following errors: ora-12519 or ora-12516

Using dynamic service registration, PMON obtains the current connection status through SERVICE_UPDATE, but SERVICE_UPDATE has a time interval,

Therefore, the number of connections displayed by listener may be different from the current number of connections.

Query solution:

Check whether the number of existing processes in the database has reached the processes parameter size.

1. select count (*) from v $ process; obtain the current number of processes in the database.

2. select value from v $ parameter where name = 'processs'; obtain the maximum number of processes.

3. If the upper limit is reached, modify the processes size in initSID. ora.

4. Restart the database to the nomount state, execute create spfile from pfile, and start up open.

Queries the maximum number of concurrent queries since the database is started.

Modify the maximum number of connections:

Alter system set processses = 300 scope = spfile;

Restart the database:

Shutdown immediate;


-- View which users are currently using data

SELECT osuser, a. username, cpu_time/executions/1000000 |'s ', SQL _fulltext, machine

From v $ session a, v $ sqlarea B

Where a. SQL _address = B. address order by cpu_time/executions desc;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.