VxFS may hang on HP-UX system when using default values for max_thread_proc 3000 and nkthread 8416

book

Article ID: 100007912

calendar_today

Updated On:

Description

Error Message

Checking the kernel thread list, VxFS kernel threads like the following appear.

proc_list{576.EN_US} pid=4562 tid=9305  cmd="/usr/sbin/vxfsckd"
p_stat="SINUSE" : kt_stat="TSRUN|TSRUNPROC" kt_spu=5
==============  EVENT  ============================
= Event #27 is CT_INIT on CPU #5;
= p crash_event_t 0xe0000001003a4510
= p rpb_t 0xe00000010b4c4300
= Process at 0xe0000007d8e27a80, pid 4562, "vxfsckd"
==============  EVENT  ============================
RR0=0x5cec3031  RR1=0x9bec3031  RR2=0x10010031  RR3=0x10010031
RR4=0xabec3031  RR5=0x00ffff31  RR6=0x00ffff31  RR7=0x00dead31
LVL  FUNC  ( IN0, IN1, IN2, IN3 )
0)  wait_for_lock+0x5f2
1)  spinlock+0xe0
2)  kdaemon_thread_max_thread_proc+0xb0
3)  vx_check_max_threads+0xe0          <<<<
4)  vx_cfsthread_set+0xd0
5)  vx_msg_thread_start+0x110
6)  vx_msg_gab_register+0x30
7)  vx_cfs_init+0x3b0
8)  vx_cfs_reg_fsckd+0xc0
9)  $cold_vx_cfsaioctl+0x290
10)  vxportal_ioctl+0x5a0
11)  spec_ioctl+0x100
12)  vno_ioctl+0x390
13)  ioctl+0x3e0
14)  syscall+0x560

proc_list{326.EN_US} pid=337 tid=1365  cmd="vxfsd"
p_stat="SINUSE" : kt_stat="TSRUN|TSRUNPROC" kt_spu=52
==============  EVENT  ============================
= Event #29 is CT_INIT on CPU #52;
= p crash_event_t 0xe0000001003a4570
= p rpb_t 0xe00000010b93f300
==============  EVENT  ============================
RR0=0x00ffff31  RR1=0x00ffff31  RR2=0x00ffff31  RR3=0x00ffff31
RR4=0x5bef3031  RR5=0x00ffff31  RR6=0x00ffff31  RR7=0x00dead31
LVL  FUNC  ( IN0, IN1, IN2, IN3, IN4 )
0)  wait_for_lock+0x632
1)  spinlock+0xe0
2)  kdaemon_thread_max_thread_proc+0xb0
3)  vx_check_max_threads+0xe0        <<<
4)  $cold_vx_workthread_set+0x20
5)  vx_sched_thread+0x1410
6)  vx_sched_start+0x330
7)  kdaemon_proc_create+0x550
8)  $cold_vx_postinit+0x120
9)  vx_mountroot+0x2d0
10)  vx_evfsop_root_remount+0x40
11)  vfs_extended_vfs_op+0x150
12)  im_preinitrc+0x350 

Cause

The problem was caused by the Etrack incident listed in the Supplemental Materials section of this article.

 

Resolution

The problem is fixed in the following patches:

Veritas Storage Foundation 5.0.1 RP2 on HP-UX 11.31
Veritas Storage Foundation 5.0MP2RP3 on HP-UX 11.23


Applies To

VxFS 5.0.1 running on HP-UX 11.31.   VxFS 5.0MP2 running on HP-UX 11.23.

Issue/Introduction

Veritas File System (VxFS) may hang on HP-UX system when using default values for max_thread_proc 3000 and nkthread 8416

Additional Information

ETrack: 2081499