List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:March 21 2002 11:26pm
Subject:Backtrace for (Re: 4.0.x memory bug on FreeBSD...?)
View as plain text  
Hi!

>>>>> "Jeremy" == Jeremy Zawodny <jzawodn@stripped> writes:

Jeremy> On Tue, Mar 19, 2002 at 04:02:46PM -0800, Jeremy Zawodny wrote:
Jeremy> [snip]

>> Here's the relevant entry from the error log, repeated over and over:
>> 
>> 020319 15:57:33  /home/mysql-4-bk/libexec/mysqld: Out of memory at line 100,
> 'net_serv.cc'
>> 020319 15:57:33  /home/mysql-4-bk/libexec/mysqld: needed 16391 byte (17k), memory
> in use: 535192717 bytes (522650k)

>> It now has the CPU at 100% but isn't doing any real work.  The
>> binary log is no longer updating.  I can kill mysqld and restart and
>> it'll run fine for a day or so.  I know because this happened
>> yesterday too.
>> 
>> What can I do to debug this further?  Give it a "kill -6" and
>> backtrace on the core?

Jeremy> Just for kicks, here's the backtrace:

A backtrace doesn't help here.

If this happens again, can you do 'mysqladmin debug' and then ftp the
'hostname.err' file to ftp://support.mysql.com/pub/mysql/secret so
that we can check if there is some code that is not freeing memory
properly.

Regards,
Monty

-- 
For technical support contracts, goto https://order.mysql.com/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Michael Widenius <monty@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, CTO
/_/  /_/\_, /___/\___\_\___/   Helsinki, Finland
       <___/   www.mysql.com
Thread
4.0.x memory bug on FreeBSD...?Jeremy Zawodny20 Mar
  • Backtrace for (Re: 4.0.x memory bug on FreeBSD...?)Jeremy Zawodny20 Mar
    • Backtrace for (Re: 4.0.x memory bug on FreeBSD...?)Michael Widenius22 Mar
      • Re: Backtrace for (Re: 4.0.x memory bug on FreeBSD...?)Jeremy Zawodny22 Mar
  • Re: 4.0.x memory bug on FreeBSD...?Dan Nelson20 Mar
    • Re: 4.0.x memory bug on FreeBSD...?Jeremy Zawodny20 Mar