[stgt] tgtd crash when more than 40 LUNs per target (and a way to reproduce)

Tomasz Chmielewski mangoo at wpkg.org
Fri Nov 7 11:57:18 CET 2008


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


-- 
Tomasz Chmielewski
http://wpkg.org
--
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 mailing list