From nobody@FreeBSD.org  Wed Dec  6 01:37:31 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5265337B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Dec 2000 01:37:31 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id eB69bVr98502;
	Wed, 6 Dec 2000 01:37:31 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200012060937.eB69bVr98502@freefall.freebsd.org>
Date: Wed, 6 Dec 2000 01:37:31 -0800 (PST)
From: hostmaster@gov.mari.ru
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: Can`t create a new thread for connect to Mysql
X-Send-Pr-Version: www-1.0

>Number:         23320
>Category:       i386
>Synopsis:       Can`t create a new thread for connect to Mysql
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 06 01:40:01 PST 2000
>Closed-Date:    Sat Mar 2 08:54:10 PST 2002
>Last-Modified:  Sat Mar 02 08:54:52 PST 2002
>Originator:     Galina Kuklina
>Release:        3.5 STABLE
>Organization:
>Environment:
# uname -a
FreeBSD gov.mari.ru 3.5-STABLE FreeBSD 3.5-STABLE #0: 
Fri Dec  1 17:55:30 MSK 2000     
root@gov.mari.ru:/usr/src/sys/compile/GOV  i386
>Description:
"PHP 3 Warning: MySQL Connection Failed: Can't create a new thread (errno 35). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug." 
Memory 128M, swap 1 Gb. FreeBSD MaxUsers=50, Apache MaxClients=30. Mysql uses native threads. This error occures in the unpredictable moments - sometimes twice per day, sometimes of time per three days. 
Killing Mysql daemon returns: 
Can`t create thread to kill server. 
I need to run 
"kill -KILL mysqld-pid". 
Have i to increase pthreads limit on my system? How? 
Can`t intruder make this?
Thank`s.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Nov 18 05:12:34 PST 2001 
State-Changed-Why:  

Does this problem still occur with more recent releases of 
FreeBSD and/or newer versions of Mysql? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23320 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sat Mar 2 08:54:10 PST 2002 
State-Changed-Why:  

Feedback timeout. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23320 
>Unformatted:
