From owner-freebsd-stable Tue Mar 12 12: 9:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hercules.icarz.com (ns1.icarz.com [207.99.22.7]) by hub.freebsd.org (Postfix) with ESMTP id CAAED37B405 for ; Tue, 12 Mar 2002 12:08:55 -0800 (PST) Received: from newken (dhcp104.icarz.com [207.99.22.104]) by hercules.icarz.com (8.11.6/8.10.1) with SMTP id g2CK8sx25166 for ; Tue, 12 Mar 2002 15:08:55 -0500 (EST) Message-ID: <03dd01c1ca01$bdd33c80$681663cf@icarz.com> From: "Ken Menzel" To: Subject: MAXDSIZ > 2048 no longer works! Was pthreads 4.5 question Date: Tue, 12 Mar 2002 15:08:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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