[stgt] tgtd crash when more than 40 LUNs per target (and a way to reproduce)
fujita.tomonori at lab.ntt.co.jp
Tue Nov 11 08:16:03 CET 2008
On Fri, 07 Nov 2008 11:57:18 +0100
Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> FUJITA Tomonori schrieb:
> >>> This patch enables you to create more luns (but eventually, tgtd
> >>> crashes) ?
> >> Yes, with this patch it crashes after ~110 luns or ~60 targets.
> > I see, thanks.
> > The first problem is that tgtd can't handle the failure to create
> > pthreads. I'll try to fix this soon.
> > The second problem is seems that glibc has the limit of the maximum
> > number of pthreads per process.
> > 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 :(
Sorry, it's still on my todo list. It's a bad problem but we can't
live with it so the priority is lower than something must like
Persistent Reservation, VTL, etc.
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