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
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 andwith> 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">
On Sun, May 04, 2003, Boris Kovalenko wrote:> 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?This should work in libc_r with 4.8-R, but not 4.7-R. If MySQL is statically built (for some strange reason), have you tried recompiling it? MySQL does use libc_r, right?