Project

General

Profile

Actions

Bug #11832

closed

smb/server is stuck in STOPPING state after svcadm restart

Added by Gordon Ross over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While testing #11831 saw smb/server hang.
Looking with mdb:

> ::smblist
SERVER           ZONE STATE
ffffff037ab25040 0    STOPPING
  SESSION          IP_ADDR                PORT     DIALECT  STATE
  ffffff037ab4c958 ::ffff:192.168.9.131   42846    0x302    SHUTDOWN
> ::stacks -m smbsrv
THREAD           STATE    SOBJ                COUNT
ffffff000f196c40 SLEEP    CV                      1
                 swtch+0x141
                 cv_wait+0x70
                 cv_wait_sig+0x82
                 so_dequeue_msg+0x2f7
                 so_recvmsg+0x249
                 socket_recvmsg+0x33
                 ksocket_recv+0x15a
                 smb_sorecv+0x39
                 smb_session_xprt_gethdr+0x33
                 smb_session_reader+0x36
                 smb_session_receiver+0x54
                 smb_server_receiver+0x18
                 taskq_d_thread+0xb7
                 thread_start+8

ffffff03743ea140 SLEEP    CV                      1
                 swtch+0x141
                 cv_wait+0x70
                 taskq_wait+0xa3
                 taskq_destroy+0x6c
                 smb_server_shutdown+0x1c0
                 smb_server_stop+0x70
                 smb_drv_ioctl+0x155
                 cdev_ioctl+0x39
                 spec_ioctl+0x60
                 fop_ioctl+0x55
                 ioctl+0x9b
                 sys_syscall32+0xff

> ::smblist
SERVER           ZONE STATE
ffffff037ab25040 0    STOPPING
  SESSION          IP_ADDR                PORT     DIALECT  STATE
  ffffff037ab4c958 ::ffff:192.168.9.131   42846    0x302    SHUTDOWN

Actions

Also available in: Atom PDF