[stgt] tgtd crash when more than 40 LUNs per target (and a way to reproduce)
fujita.tomonori at lab.ntt.co.jp
Tue Dec 23 11:52:04 CET 2008
On Tue, 23 Dec 2008 11:49:45 +0100
Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> FUJITA Tomonori schrieb:
> >>> I guess that we create too many pthreads per lun. Probably, it would
> >>> be better to have some pthreads per target (regardless of the number
> >>> of luns). But it takes some time to fix the second problem.
> >> Any news on this?
> >> I'll be hitting this limit (~60 targets and more) on my 32 bit targets
> >> by the end of this year and this issue makes me feel uncomfortable :(
> > I don't loosen the limit yet but this patch should fix the segfault
> > and deadlocks caused by the target or lun creation. Can you try this?
> # tgtd -f
> can't open /proc/sys/fs/nr_open, No such file or directory
You don't enable procfs?
Then, can you disable nr_file_adjust() in the patch and try again?
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