Re: tgtd memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24.03.2011 02:45, FUJITA Tomonori wrote:
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.

What are the options to have it worked around (long term, in tgtd code)?

Is preforking a new tgtd process if X threads are reached an option?


--
Tomasz Chmielewski
http://wpkg.org

--
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


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux