[stgt] tgtd 1.0.9 still exits with "iscsi_tx_handler error"

Hirokazu Takahashi taka at valinux.co.jp
Tue Oct 12 14:51:28 CEST 2010


Hi,

I started to run tgtd from the git repository. But it looks like
the tgtd is still losing memory.

> On Sat, 02 Oct 2010 07:34:55 +0900 (JST)
> Hirokazu Takahashi <taka at valinux.co.jp> wrote:
> 
> > I tested tgtd 1.0.9 with heavy load. But unfortunatelly it exited
> > with a message "tgtd: iscsi_tx_handler(2210) error 0 0" as ever.
> 
> Sorry, I haven't fixed anything.
> 
> Can you try Chandra's patchset? It might work for you. Try the
> 'threads' branch:
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/tomo/tgt.git threads

Tue Oct 12 20:16:43 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.5  1.3 182660  3408 pts/0    Sl   20:06   0:03 tgtd -f
Tue Oct 12 20:21:43 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.4  1.3 182660  3424 pts/0    Sl   20:06   0:04 tgtd -f
Tue Oct 12 20:26:44 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.4  1.3 182660  3424 pts/0    Sl   20:06   0:05 tgtd -f
Tue Oct 12 20:31:45 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.4 183164  3928 pts/0    Sl   20:06   0:05 tgtd -f
Tue Oct 12 20:36:46 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.5 183204  3968 pts/0    Dl   20:06   0:06 tgtd -f
Tue Oct 12 20:41:46 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.5 183428  4152 pts/0    Sl   20:06   0:07 tgtd -f
Tue Oct 12 20:46:46 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.6 183440  4204 pts/0    Sl   20:06   0:08 tgtd -f
Tue Oct 12 20:51:46 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.6 183440  4204 pts/0    Sl   20:06   0:09 tgtd -f
Tue Oct 12 20:56:46 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.6 183516  4280 pts/0    Sl   20:06   0:10 tgtd -f
Tue Oct 12 21:01:47 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.6 183660  4424 pts/0    Sl   20:06   0:11 tgtd -f
Tue Oct 12 21:07:17 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.7 183748  4512 pts/0    Sl   20:06   0:11 tgtd -f
Tue Oct 12 21:12:17 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.7 183884  4616 pts/0    Sl   20:06   0:13 tgtd -f
Tue Oct 12 21:17:17 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.8 184124  4840 pts/0    Sl   20:06   0:14 tgtd -f
Tue Oct 12 21:22:18 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.8 184124  4888 pts/0    Sl   20:06   0:14 tgtd -f
Tue Oct 12 21:27:21 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.8 184164  4928 pts/0    Sl   20:06   0:15 tgtd -f
Tue Oct 12 21:32:28 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  1.9 184388  5128 pts/0    Dl   20:06   0:16 tgtd -f
Tue Oct 12 21:37:28 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  2.0 184636  5400 pts/0    Sl   20:06   0:17 tgtd -f
Tue Oct 12 21:42:29 JST 2010
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     11528  0.3  2.0 184636  5400 pts/0    Sl   20:06   0:18 tgtd -f


# tgtadm --lld iscsi --op show --mode=target
Target 1: target1
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 4
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 7
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 8
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 12
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 14
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 16
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 18
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 24
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 26
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 29
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 35
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 39
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 44
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 47
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 48
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 49
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 50
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 51
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 52
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 53
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 54
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 55
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 56
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 57
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 58
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 59
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 60
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 61
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 62
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 63
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 64
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 65
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 66
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 67
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 69
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 70
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00010000
            SCSI SN: beaf10
            Size: 0 MB
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: null
            Backing store path: None
            Backing store flags: 
        LUN: 1
            Type: disk
            SCSI ID: 1.1
            SCSI SN: xvdc1
            Size: 20012 MB
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/xvdc1
            Backing store flags: 
        LUN: 2
            Type: disk
            SCSI ID: 1.2
            SCSI SN: xvdd1
            Size: 20012 MB
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/xvdd1
            Backing store flags: 
    Account information:
    ACL information:
        ALL
Target 2: target2
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 2
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 5
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 6
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 9
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 10
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 11
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 13
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 15
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 17
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 19
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 20
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 23
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 25
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 28
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 32
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 33
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 34
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 36
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 37
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 40
            Initiator: iqn.2010-09.jp.co.valinux:guest01
            Connection: 0
                IP Address: 172.17.112.101
        I_T nexus: 41
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 42
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 43
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 46
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
        I_T nexus: 68
            Initiator: iqn.2010-09.jp.co.valinux:guest02
            Connection: 0
                IP Address: 172.17.112.102
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00020000
            SCSI SN: beaf20
            Size: 0 MB
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: null
            Backing store path: None
            Backing store flags: 
        LUN: 1
            Type: disk
            SCSI ID: 2.1
            SCSI SN: xvdc2
            Size: 19987 MB
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/xvdc2
            Backing store flags: 
        LUN: 2
            Type: disk
            SCSI ID: 2.2
            SCSI SN: xvdd2
            Size: 19987 MB
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/xvdd2
            Backing store flags: 
    Account information:
    ACL information:
        ALL
--
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