[issue1849] panic: dsched: malloc limit exceeded

Alex Hornung ahornung at gmail.com
Thu Sep 23 07:23:50 PDT 2010


On 23/09/10 15:00, Steve O'Hara-Smith wrote:
> On Thu, 23 Sep 2010 14:36:34 +0100
> Alex Hornung <ahornung at gmail.com> wrote:
> 
>> The output of test/dsched would help here. It'll show the number of
>> currently allocated structures of each type.
> 
> 	This is from my system at current, which had the initial spike from
> preparing a chroot on UFS and has been running a pkgsrc build on hammer for
> some time now.
> 
>  ./dschedstats 
> Allocations
> thread_ctx:	16998
> thread_io:	118986
> disk_ctx:	7
> ---------------------------------------------
> Procs/Threads tracked
> procs:		133
> threads:	217
> ---------------------------------------------
> Transactions
> w/o thread_ctx:	2

The number of procs+threads should match the number of thread_ctx. That
clearly isn't the case, which indicates that there are some stale
references on the thread_ctx. I don't have much time to look into it
this week, but I'll take a look at it next week.

Cheers,
Alex






More information about the Bugs mailing list