Fujita, This is the first target and first LUN on this machine. I can perform the following command with no issues and they complete instantaneously (under a second with no to very little memory use): tgtadm --lld iscsi --mode target --op new --tid=1 --targetname volume-9c2637a7-1c47-41a7-89d3-86dddd8f9082 tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 -b /dev/cinder-volumes/volume-9c2637a7-1c47-41a7-89d3-86dddd8f9082 But when I perform the following command I run out of memory after 3 - 4 mins (there are no LUN's or Target's on this machine when I run this command): tgt-admin --update iqn.2010-10.org.openstack:volume-9c2637a7-1c47-41a7-89d3-86dddd8f9082 To fix this for now I upped the memory on my server from 2G to 12G. Now when I run the tgt-admin --update command it completes after 8 - 10 mins (during this time the memory consumed by tgt-admin goes to 10G). Not sure if this script should take up this much memory for starting a single lun and target. Regards, Raj On Tue, Jun 18, 2013 at 8:59 PM, FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote: > On Tue, 18 Jun 2013 18:26:46 -0700 > Raj Singh <rajtpd@xxxxxxxxx> wrote: > >> I am running the following command and it looks like the memory used >> by tgt-admin spikes up to couple gigs and then the command exits with >> "Out of Memory". Is this normal? >> >> root@controller:~# tgt-admin --update >> iqn.2010-10.org.openstack:volume-36cc7df0-0030-4083-99c3-145fe28b7e4f >> Out of memory! >> >> >> I am running the following on a Ubuntu 2 vCPU, with 2 Gigs of memory: >> >> root@controller:~# uname -r >> 3.5.0-23-generic >> root@controller:~# tgtd -V >> 1.0.17 >> root@controller:~# > > How many targets and luns do you set up? -- Regards, -Raj -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html