🖥️ Environment Details : Current Database Version: Oracle Database 19.26 Operating System: HP-UX 11.31 Bit ⚠️ Problem Description: One of the production Oracle RAC database cluster Node2 terminated unexpectedly and came back online after some time. However, the node became unresponsive again after recovery. The customer requested a root cause analysis (RCA) to understand why the node was evicted and whether the disruption originated from database operations or operating system activity. Let’s investigate the incident step by step to identify the underlying cause. Was the disruption caused by database operations or operating system activity? Let’s investigate the incident step by step to identify the underlying cause. Step 1: Let's check the operating system log. Review the operating system log to identify what triggered the node eviction. For the HP-UX system, the syslog.log file is located in /vat/adm/syslog/. oracle@proddbn2:/home/oracle#cd /var/adm/syslog oracle@proddbn2:/var/adm/syslog#ls -ltr -rw-r--r-- 1 root root 7526356 Oct 31 12:21 syslog.log Let's reviwe the entire OS log file. Oct 22 21:41:14 unknown vmunix: kthread: table is full Oct 22 21:41:39 unknown vmunix: WARNING: hponc_thread_create(): error creating thread for autofskd (12) Oct 22 21:41:39 unknown vmunix: Oct 22 21:42:02 unknown vmunix: kthread: table is full Oct 22 21:42:02 unknown above message repeats 121 times Oct 22 21:42:02 unknown vmunix: kthread: table is full Oct 22 21:42:04 unknown vmunix: kthread: table is full Oct 22 21:42:05 unknown above message repeats 2 times Oct 22 21:42:05 unknown vmunix: kthread: table is full Oct 22 21:42:08 unknown vmunix: kthread: table is full Oct 22 21:42:09 unknown above message repeats 13 times Oct 22 21:42:09 unknown vmunix: kthread: table is full Oct 22 21:42:48 unknown Oracle Audit[50147]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:42:48 unknown Oracle Audit[50149]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:43:39 unknown vmunix: WARNING: hponc_thread_create(): error creating thread for autofskd (12) Oct 22 21:43:39 unknown vmunix: Oct 22 21:43:48 unknown vmunix: kthread: table is full Oct 22 21:43:53 unknown above message repeats 352 times Oct 22 21:44:16 unknown vmunix: kthread: table is full Oct 22 21:44:16 unknown vmunix: kthread: table is full Oct 22 21:44:24 unknown above message repeats 3065 times Oct 22 21:44:45 unknown vmunix: kthread: table is full Oct 22 21:44:45 unknown vmunix: kthread: table is full Oct 22 21:44:45 unknown above message repeats 9 times Oct 22 21:44:45 unknown vmunix: kthread: table is full Oct 22 21:44:51 unknown vmunix: kthread: table is full Oct 22 21:45:00 unknown above message repeats 3 times Oct 22 21:47:48 unknown Oracle Audit[54169]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:49:42 unknown Oracle Audit[818]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:49:42 unknown Oracle Audit[822]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:49:43 unknown Oracle Audit[824]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:49:44 unknown xntpd[17422]: Deleting interface #12 lan900:801, 10.189.20.113#123, interface stats: received=0, sent=0, dropped=0, active_time=18114 secs Oct 22 21:49:46 unknown Oracle Audit[826]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 21:49:57 unknown Oracle Audit[826]: LENGTH : '253' ACTION :[18] 'SHUTDOWN IMMEDIATE' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '139' Oct 22 21:50:09 unknown Oracle Clusterware: 2026-10-22 21:50:09.105 [(21178)]CRS-8504:Oracle Clusterware OCTSSD process with operating system process ID 21178 is exiting Oct 22 21:50:11 unknown xntpd[17422]: Deleting interface #10 lan903:801, 169.254.169.124#123, interface stats: received=0, sent=0, dropped=0, active_time=18192 secs Oct 22 21:50:11 unknown xntpd[17422]: Deleting interface #11 lan901:801, 169.254.19.5#123, interface stats: received=0, sent=0, dropped=0, active_time=18192 secs Oct 22 21:50:26 unknown syslog: exec /oracle_19c_grid/app/oracle/product/19.3/perl/bin/perl -I/oracle_19c_grid/app/oracle/product/19.3/perl/lib /oracle_19c_grid/app/oracle/product/19.3/bin/crswrapexece.pl /oracle_19c_grid/app/oracle/product/19.3/crs/install/s_crsconfig_proddbn2_env.txt /oracle_19c_grid/app/oracle/product/19.3/bin/ohasd.bin "reboot _ORA_BLOCKING_STACK_LOCALE=AMERICAN_AMERICA.US7ASCII" Oct 22 21:50:26 unknown Oracle Clusterware: 2026-10-22 21:50:26.851 [(1893)]CRS-8500:Oracle Clusterware OHASD process is starting with operating system process ID 1893 Oct 22 21:55:59 unknown Oracle Clusterware: 2026-10-22 21:55:59.422 [(13162)]CRS-8500:Oracle Clusterware OCTSSD process is starting with operating system process ID 13162 Oct 22 21:56:11 unknown xntpd[17422]: Listen normally on 13 lan903:801 169.254.169.124:123 Oct 22 21:56:11 unknown xntpd[17422]: Listen normally on 14 lan901:801 169.254.19.5:123 Oct 22 21:56:24 unknown xntpd[17422]: Listen normally on 15 lan900:801 10.189.20.113:123 Oct 22 22:07:03 unknown Oracle Audit[14078]: LENGTH : '238' ACTION :[7] 'STARTUP' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[7] 'UNKNOWN' STATUS:[1] '0' DBID:[0] '' SESSIONID:[1] '0' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '138' Oct 22 22:07:03 unknown Oracle Audit[42328]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 22:09:19 unknown Oracle Audit[50302]: LENGTH : '246' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[5] 'pts/7' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 22:10:44 unknown Oracle Audit[53126]: LENGTH : '246' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSASM' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[5] 'pts/7' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 22:11:12 unknown Oracle Audit[53742]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' Oct 22 22:11:42 unknown Oracle Audit[53960]: LENGTH : '241' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[8] 'proddbn2' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100' oracle@proddbn2:/var/adm/syslog#grep -i kthread bkpsyslog.log26-10-22_23_34_27 Oct 22 20:10:39 unknown vmunix: kthread: table is full Oct 22 21:41:14 unknown vmunix: kthread: table is full Oct 22 21:42:02 unknown vmunix: kthread: table is full Oct 22 21:42:02 unknown vmunix: kthread: table is full Oct 22 21:42:04 unknown vmunix: kthread: table is full Oct 22 21:42:05 unknown vmunix: kthread: table is full Oct 22 21:42:08 unknown vmunix: kthread: table is full Oct 22 21:42:09 unknown vmunix: kthread: table is full Oct 22 21:43:48 unknown vmunix: kthread: table is full Oct 22 21:44:16 unknown vmunix: kthread: table is full Oct 22 21:44:16 unknown vmunix: kthread: table is full Oct 22 21:44:45 unknown vmunix: kthread: table is full Oct 22 21:44:45 unknown vmunix: kthread: table is full Oct 22 21:44:45 unknown vmunix: kthread: table is full Oct 22 21:44:51 unknown vmunix: kthread: table is full Oct 22 22:27:45 unknown vmunix: kthread: table is full Oct 22 22:29:05 unknown vmunix: kthread: table is full The log shows HP-UX kernel thread exhaustion on proddbn2, followed by an ASM shutdown and Clusterware restart activity. It does not establish which process exhausted the threads or who initiated the restart. At 21:41:14, repeated kthread: table is full messages indicate exhaustion of the system’s thread capacity. The main limit to investigate is nkthread. Between 21:41:39 and 21:43:39, hponc_thread_create() cannot create a thread for autofskd, consistent with the thread exhaustion already occurring. Between 21:44:16–21:44:24, One message is reported as repeating multiple times, showing a concentrated burst of failures. These are log repetitions, not a count of distinct threads. At 21:49:57 An audit entry records SHUTDOWN IMMEDIATE under SYSASM, with status 0. Between 21:50:09–21:55:59, OCTSSD exits, OHASD starts, and OCTSSD subsequently starts. Since the server became unresponsive again after coming back online, kernel parameter usage was checked using the kcusage command. The nkthread parameter was found to have reached its maximum configured limit.proddbn2:#kcusage Tunable Usage / Setting ============================================= filecache_max 12338675712 / 1045674008575 maxdsiz 29294592 / 3221225472 maxdsiz_64bit 184549376 / 274877906944 maxfiles_lim 7007 / 1048500 maxssiz 114688 / 268435456 maxssiz_64bit 2097152 / 2147483648 maxtsiz 5877760 / 1073741824 maxtsiz_64bit 939524096 / 12884901888 maxuprc 329 / 24570 max_thread_proc 1025 / 4096 msgmbs 0 / 24 msgmni 0 / 24576 msgtql 0 / 24576 nflocks 76 / 8192 ninode 9184 / 318656 nkthread 32624 / 32768 nproc 1061 / 24576 npty 0 / 512 nstrpty 13 / 4096 nstrtel 0 / 512 nswapdev 2 / 32 nswapfs 0 / 32 semmni 20 / 8192 semmns 9820 / 32768 shmmax 354334801920 / 549755813888 shmmni 25 / 32768 shmseg 6 / 2048 The question now is: Which process caused the issue and triggered the server panic and reboot? We need to identify the responsible process. What are the next steps? Step 2: Let's review the OSWatcher logs and grep the processes at OS level for more details. proddbn2:/home/oracle#ps -ef | grep -i oracle .......... .......... .......... oracle 28915 28913 0 02:37:41 ? 0:00 sshd: oracle@notty oracle 29006 29005 0 02:37:46 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 29005 29004 0 02:37:46 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 28988 28987 0 02:37:45 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 28987 28986 0 02:37:45 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 28974 28973 0 02:37:44 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 28973 28971 0 02:37:44 ? 0:00 sshd: oracle@notty oracle 28950 28949 0 02:37:43 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 28949 28948 0 02:37:43 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 28916 28915 0 02:37:41 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 28962 28959 0 02:37:43 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 29003 29001 0 02:37:46 ? 0:00 sshd: oracle@notty oracle 29000 28999 0 02:37:46 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 28999 28998 0 02:37:46 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 28986 28985 0 02:37:45 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 28985 28983 0 02:37:45 ? 0:00 sshd: oracle@notty oracle 28982 28981 0 02:37:45 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 28981 28980 0 02:37:45 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 28970 28969 0 02:37:44 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 28969 28968 0 02:37:44 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 28964 28963 0 02:37:43 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 29064 29063 0 02:37:50 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 29043 29042 0 02:37:48 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 29042 29040 0 02:37:48 ? 0:00 sshd: oracle@notty oracle 29018 29017 0 02:37:47 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 29017 29015 0 02:37:47 ? 0:00 sshd: oracle@notty oracle 28998 28997 0 02:37:46 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 28997 28995 0 02:37:46 ? 0:00 sshd: oracle@notty oracle 28968 28967 0 02:37:44 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 28967 28965 0 02:37:44 ? 0:00 sshd: oracle@notty oracle 29004 29003 0 02:37:46 ? 0:00 sh -c sh /home/oracle/alert_proddb2.sh oracle 29056 29055 0 02:37:49 ? 0:00 sh /home/oracle/alert_proddb2.sh oracle 29045 29044 0 02:37:48 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 29033 29032 0 02:37:48 ? 0:00 ssh -q 10.20.30.102 sh /home/oracle/alert_proddb2.sh oracle 29032 29030 0 02:37:48 ? 0:00 sh /home/oracle/alert_proddb2.sh .......... .......... .......... Many Oracle processes have been spawned on the Node2 database server. Let’s review the processes on the other nodes. proddbn2:/home/oracle#ps -ef | grep -i oracle |wc -l 11399 proddbn3:/home/oracle#ps -ef | grep -i oracle |wc -l 786 Most of the sessions are SSH connections initiated by the oracle user. Let’s review the contents of /home/oracle/alert_proddb2.sh on Node2. proddbn2:/home/oracle#ls -ltr /home/oracle/alert_proddb2.sh -rwxr-xr-x 1 oracle oinstall 57 Oct 23 03:32 /home/oracle/alert_proddb2.sh proddbn2:/home/oracle#cat /home/oracle/alert_proddb2.sh ssh -q 10.20.30.102 "sh /home/oracle/alert_proddb2.sh" The contents of /home/oracle/alert_proddb2.sh show that the script initiates an SSH connection to 10.20.30.102, which is Node2’s own IP address, and executes the same script again. The script repeatedly invokes itself without a termination condition, creating a growing chain of SSH sessions and processes. This explains the unusually high number of processes on Node2. What is the solution to stop this script from repeatedly executing itself ? Let's apply the workaround. Workaround: First, comment out the recursive SSH command in /home/oracle/alert_proddb2.sh on Node2 to prevent further executions: proddbn2:/home/oracle#cat /home/oracle/alert_proddb2.sh #ssh -q 10.20.30.102 "sh /home/oracle/alert_proddb2.sh" Then terminate the existing script processes and their associated SSH sessions. Kill only the affected processes to avoid disrupting legitimate connections. If a scheduled job launches this script, disable it until the script is corrected. Once the recursive SSH command in the script was commented out and the associated Oracle-owned SSH processes were terminated on Node2, the kthread count dropped significantly, and the server immediately became responsive. proddbn2:#kcusage | grep -i nkthread nkthread 672 / 32768 CRS started successfully, and the server remained healthy after the permanent fix was applied. No further reboots were observed after the workaround was implemented. 🔍 RCA Conclusion: ⚠️ The nkthread kernel parameter reached its maximum configured limit, indicating thread exhaustion at the operating system level as the likely cause of the server’s unresponsiveness and Node 2’s eviction from the Oracle RAC cluster.🛠️ After the workaround was implemented, no further reboots were observed. 📝 Stay tuned for a detailed blog post on this case !!! |
Thanks for reading this post ! Please comment if you like this post ! Click on FOLLOW to get next blog updates !

