CLEANING APPLICATION CONNECTIONS WHEN MAXIMUM NUMBER OF SESSIONS EXCEEDED.

When users can't login to the database or their processes are hanging and probably getting this error:

ERROR at line 1:
ORA-12801: error signaled in parallel query server PZ99, instance <hostname>:<SID> (2)
ORA-00018: maximum number of sessions exceeded

Follow the below steps to resolve immediately so that users can connect to database:
1. login as a privilege OS user (example oracle owner) in the node having the issue.
2. run this command to show all the processes of application connection handles to the database:
$ ps -ef|grep LOCAL=NO
3. Use this command to clean up connections so that users can connect:
ps -ef|grep LOCAL=NO| awk '{print $2}'| xargs -i{} kill -9 {}

Comments

Popular posts from this blog

How to resolve - ORA-09925: Unable to create audit trail file

How to repair a disk in a diskgroup