Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 20:11:53 +0600
From:      Boris Kovalenko <boris@tagnet.ru>
To:        Ken Menzel <kenm@icarz.com>, freebsd-stable@freebsd.org
Subject:   Re: Strange threads problems
Message-ID:  <3EB67129.9080108@tagnet.ru>
In-Reply-To: <01a101c3130e$dfc73470$a6db7bd1@icarz.com>
References:  <3EB4A03B.4090606@tagnet.ru> <01a101c3130e$dfc73470$a6db7bd1@icarz.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Ken Menzel wrote:
You misunderstood me, I have no problems if I use the only

MAXDSIZ="(2UL*1024*1024*1024)" option, and problems if I use all options together. In any case, the only option I really need is MAXDSIZE = 2G, and freebsd works fine for me with it, but there is really a bug if it doesn't work with all other options. Because there is no good docs about this options I suppose I doing something wrong.

>Hi Boris,
>Not really,  It's a bug in freebsd.  Try reducing MAXDSIZ to
>(2047*1024*1024),  it has to be less than 2Gig or a thread will not be
>created.  I think it is a problem with signing and the way threads
>check for available memory before starting up.
>
>Ken
>----- Original Message ----- 
>From: "Boris Kovalenko" <boris@tagnet.ru>
>To: <freebsd-stable@freebsd.org>
>Sent: Sunday, May 04, 2003 1:08 AM
>Subject: Strange threads problems
>
>
>  
>
>>Hello!
>>
>>    Have installed 4.8R and recompiled kernel with next options:
>>
>>options         MAXDSIZ="(2UL*1024*1024*1024)"
>>options         MAXSSIZ="(256*1024*1024)"
>>options         DFLDSIZ="(1024*1024*1024)"
>>
>>and MySQL with native threads failed to load with
>>Fatal error 'Can't create gc thread' at line ? in file
>>/usr/src/lib/libc_r/uthread/uthread_create.c (errno = ?) error and
>>    
>>
>with
>  
>
>>Can't create interrupt-thread (error 35, errno: 4) error with
>>linuxthreads. Commenting out MAXSSIZ and DFLDSIZ options solves the
>>problem. What I doing wrong?
>>
>>Boris
>>
>>
>>_______________________________________________
>>freebsd-stable@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>To unsubscribe, send any mail to
>>    
>>
>"freebsd-stable-unsubscribe@freebsd.org"
>  
>
>
>
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB67129.9080108>