On Wed, 23 Mar 2011 17:37:53 +0300 Степан Фёдоров <stepan.fedorov@xxxxxxxx> wrote: > My iSER target node has 24Gb of memory. When i add about ~500 LUNs > with tgtadm, next i got error "tgtadm: out of memory". > > 24Gb/500 LUNs == "something about 50 megabytes of memory per LUN". > > My question is: how can i control this memory usage, and is there > ability for me to add about 3500 LUNs on my node with 24Gb of memory? What version of tgt you use? x86-64 or x86? I suspect that you hit the number of threads that a single process can have. The amount of system memory can't do anything for it. -- 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