ORA-12516 TNS: Listeners cannot find available handlers that meet protocol stack requirements

Source: Internet
Author: User

ORA-12516 TNS: Listeners cannot find available handlers that meet protocol stack requirements

Problem scenario:

A previous database was used for testing (department A). Last night, another test department (Department B) came to test the program. Two users were created on the database and imported data, this afternoon, I suddenly received a phone call from the staff of the two Departments and said that the database could be connected after a while. It was strange at the time, because I used other users to connect to the Database 10 minutes ago. Result when the client test is passed, the ORA-12516 TNS is reported: The Listener cannot find the available handler that meets the protocol stack requirements.

When I saw this error, I did not reflect what went wrong. Then the Department A owner asked me to export the department B data and asked them to find another machine for testing. When I export data of these two users on the server, an error is reported directly. When I log on to the database with one of the two users, the error message is obvious: the maximum process data in the database is 150. So far, I know why?

Solution:

1. Log On Through the sysdba user

2. view the current process count

Select count (*) from v $ processes

We can see 149 processes.

The value of show parameter processes is 150 (the database was created by another user)

3. Change the number of processes

Alter system set processees = 500 scope = spfile

4. Shut down the database

Shutdown immediate

5. Start the database to make the configuration take effect.

Startup;

Related Article

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: info-contact@alibabacloud.com 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.