List:General Discussion« Previous MessageNext Message »
From:Joerg Bruehe Date:April 28 2009 10:26am
Subject:Re: 1135: 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
View as plain text  
Hi VeeJay, Mark, all,


VeeJay wrote:
> Hi Mark
> 
> Yes, you are right. I should have provided complete information in order to
> get help...
> 
> I am running
> 
> DB:      Server version: 5.0.77-log FreeBSD port: mysql-server-5.0.77_1
> OS:      FreeBSD 7.1
> 
> On Tue, Apr 28, 2009 at 10:44 AM, Mark <admin@stripped> wrote:
> 
>> It would probably help if you told folks what MySQL version you are
>> running.
>> :)
>>
>> - Mark
>>
>>
>> -----Original Message-----
>> From: VeeJay [mailto:maanjee@stripped]
>> Sent: dinsdag 28 april 2009 10:22
>> To: mysql@stripped; VeeJay
>> Subject: 1135: 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
>>
>> Hello guys and gurus
>>
>> I am keep getting this error after a while "*1135: 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*"

Why don't you believe the mesage?
It clearly says "possible OS-dependent bug", so the OS is where to look.

Also, 35 is a pretty low number, so I expect it to be an "errno" as
provided by the operating system.
(Which agrees with the message text, that says "errno 35".)


I don't have FreeBSD available, on my Linux the code 35 means EDEADLK:
  /usr/include/asm-generic/errno.h:6:#define      EDEADLK         35
  /* Resource deadlock would occur */


For such searches, I have my tiny script "FGIN":

  #! /bin/sh
  #
  # FGIN          shell script to use "fgrep" on all
"/usr/include/....h" files
  #
  # $1, $2, ...   options and arguments given to "fgrep"
  #
  # Simple example:
  #    FGIN seteuid       return the line(s) in system header files where
  #                       'seteuid()' is defined or otherwise mentioned.
  #
  # 2004-09-13  Joerg Bruehe  Initial "published" version

  find /usr/include -follow -name '*.h' -print | xargs fgrep -n $*

As "35" my be a common term, I do
  FGIN 35 | fgrep errno

I propose you do something similar on your machine.

Granted, this still doesn't tell you what exactly happened, but it
should help to narrow the possible causes.


HTH,
Jörg

-- 
Joerg Bruehe,  MySQL Build Team,
               Joerg.Bruehe@stripped
Sun Microsystems GmbH,   Sonnenallee 1,   D-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering     Muenchen: HRB161028

Thread
1135: 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 bugVeeJay28 Apr
  • RE: 1135: 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 bugMark28 Apr
    • Re: 1135: 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 bugVeeJay28 Apr
      • Re: 1135: 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 bugVeeJay28 Apr
      • RE: 1135: 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 bugMark28 Apr
      • Re: 1135: Can't create a new thread (errno 35); if you are not out ofavailable memory, you can consult the manual for a possible OS-dependent bugJoerg Bruehe28 Apr
        • RE: 1135: Can't create a new thread (errno 35); if you are not outof available memory, you can consult the manual for a possible OS-dependentbugMartin Gainty28 Apr
          • RE: 1135: 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 bugMark28 Apr
            • Re: 1135: Can't create a new thread (errno 35); if you are not out ofavailable memory, you can consult the manual for a possible OS-dependent bugJoerg Bruehe29 Apr
              • RE: 1135: 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 bugMark29 Apr