SQL*Plus: Release 11.1.0.7.0 - Production on Mon Dec 28 06:24:55 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-00020: maximum number of processes (%s) exceeded
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x60c1edf0 229376 oracle 660 4096 0
0x54fe0010 262145 scu 666 905897 6
0x46fe0010 294914 scu 666 276 2
0x53fe0010 327683 scu 664 17300480 3
0x45fe0010 360452 scu 666 16400 2
0x56fe0010 425990 scu 666 808 2
0x49fe0010 589835 scu 666 5124 2
------ Semaphore Arrays --------
key semid owner perms nsems
0x002fa327 0 root 666 2
0x3fdf6c2c 294913 oracle 660 304
0x32fe0010 360451 scu 666 512
------ Message Queues --------
key msqid owner perms used-bytes messages由以上“shmido”值為“229376”和“semid”值為“294913”得知,存在沒有被釋放的Oracle消息隊列。
% ipcrm -m Shared Memory Segments的ID
% ipcrm -s Semaphore Arrays的ID
以sysdba用戶連接數據庫。% sqlplus / as sysdba
連接成功,系統顯示如下信息:
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Dec 28 06:24:55 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options