Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 15:08:56 -0500
From:      "Ken Menzel" <kenm@icarz.com>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   MAXDSIZ > 2048 no longer works! Was pthreads 4.5 question
Message-ID:  <03dd01c1ca01$bdd33c80$681663cf@icarz.com>

next in thread | raw e-mail | index | archive | help
I have isolated my "threads" problem.  It seems MAXDSIZ cannot be 2048
or above.  This worked fine in 4.4Release,  but does not work now.  It
seems something is killing the process!

options         MAXDSIZ="(2048*1024*1024)"

Compiles and installs and runs OK till I try to run a large memory
using program (uses 275Meg on startup).

(gdb) r
Starting program: /usr/local/libexec/mysqld
Fatal error 'Can't create gc thread' at line ? in file
/usr/src/lib/libc_r/uthread/uthread_create.c (errno = ?)

Program received signal SIGABRT, Aborted.
0x883d1b30 in kill () from /usr/lib/libc_r.so.4
(gdb) bt
#0  0x883d1b30 in kill () from /usr/lib/libc_r.so.4
#1  0x8841c16a in abort () from /usr/lib/libc_r.so.4
#2  0x883e87a6 in _thread_exit () from /usr/lib/libc_r.so.4
#3  0x883a8f51 in pthread_create () from /usr/lib/libc_r.so.4
#4  0x8072954 in start_signal_handler () at mysqld.cc:1362
#5  0x80736e5 in main (argc=17, argv=0x8395228) at mysqld.cc:1905
(gdb)

options         MAXDSIZ="(2047*1024*1024)"
At 2047 or lower I have no problem.

Does anyone have any ideas?  Should I just use less than 2G memory!
(OK solution for now)

Ken
-----------------------------------------------------
Ken Menzel  ICQ# 9325188
www.icarz.com  kenm@icarz.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03dd01c1ca01$bdd33c80$681663cf>