[stgt] stgt hanging with 100% CPU

Vince Castellano vcastellano at spotlink.com
Fri Aug 26 21:35:27 CEST 2011


Hello,

I am having an issue using stgt as my iSCSI target. It works with great performance most of the time, however, twice in two weeks it locked up.  The first time we lost complete system responsiveness, so did not notice it was stgt. This time we caught it, saw it was at 100% CPU, the VMs (we are using the target for esxi) were unresponsive.

Backups were being taken on the VMs, so there would have been unusually high IO during this time.

Logs during/after the lockup:
messages:Aug 26 03:12:51 linuxiscsi tgtd: abort_task_set(1096) found 8bf8aa5 0
messages:Aug 26 03:12:51 linuxiscsi tgtd: conn_close(100) connection closed, 0x9a0a238 32
messages:Aug 26 03:12:51 linuxiscsi tgtd: conn_close(106) sesson 0x9a0a4a0 1
messages:Aug 26 03:12:51 linuxiscsi tgtd: conn_close(163) Forcing release of tx task 0x9a9f210 8bf8a91
messages:Aug 26 03:12:54 linuxiscsi kernel: tgtd[3171]: segfault at 0000000009a9f280 rip 00000000004070b3 rsp 00007fff4381af70 error 6
messages:Aug 26 03:12:54 linuxiscsi tgtd: tgtd logger exits abnormally, pid:3172
messages:Aug 26 04:26:42 linuxiscsi tgtd: iser transport register
messages:Aug 26 04:26:43 linuxiscsi tgtd: tgtd daemon started, pid:23014
messages:Aug 26 04:26:43 linuxiscsi tgtd: tgtd logger started, pid:23016 debug:0
messages:Aug 26 04:26:44 linuxiscsi tgtd: bs_init(318) use pthread notification

[root at linuxiscsi log]# tgtadm --op show --mode target
Target 1: iqn.2008-09.com.server:server.target1
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 1
            Initiator: iqn.1998-01.com.vmware:esxiphost1-06680a2b
            Connection: 0
                IP Address: 172.24.34.71
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00010000
            SCSI SN: beaf10
            Size: 0 MB
            Online: Yes
            Removable media: No
            Backing store type: null
            Backing store path: None
            Backing store flags:
        LUN: 1
            Type: disk
            SCSI ID: IET     00010001
            SCSI SN: beaf11
            Size: 1005894 MB
            Online: Yes
            Removable media: No
            Backing store type: rdwr
            Backing store path: /dev/cciss/c0d0p4
            Backing store flags:
    Account information:
    ACL information:
        ALL

Any information or pointers would be very helpful.

Thanks,
Vince
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list