On Monday 07 May 2001 12:25, Stephan Skusa wrote:

> > Some things to do:
> >
> > * Can you resolve those stack traces with resolve_stack_dump ? Follow
> > instructions in http://www.mysql.com/doc/U/s/Using_stack_trace.html
> 
> done ... and attached as mysql.zip
> 
> >
> > * What is the structure and type of topsitesTEMP?
> 
> topsitesTEMP is a temporay table created by a select-statement.
> 
> > * Can you write a script to take a backup of topsitesTEMP  every
> > time before
> > you expect a crash? This will be tricky if topsitesTEMP is a heap or
> > temporary table.
> 
> That's the Problem ... topsitesTEMP is a temporary table ... but I'll try to
> check it out !
> 
> > * You may also want to check if changing the table to a different
> > type helps
> > avoid the coredump - this will give us an idea where the bug is.
> >
> > * Does the bug go away if you use our latest ( 3.23.37) binary?
> 
> Yes ... but there save_mysqld does not restart the service ...
> 
> > * How big is your key buffer, record_buffer, and sort_buffer, and
> > how many
> > concurrent connections at the time of the crash? I am asking this
> > because it
> > looks like you have built the binary yourself, which means that
> > most likely
> > you have linked it against default LinuxThreads, and it has
> > problems when you
> 
> concurrent connections   170
> join_buffer_size   131072
> key_buffer_size   134213632
> sort_buffer   67108856

The main problem is in your sort buffer. Even without the special "feature" 
of LinuxThreads in stack mapping, this could cause some serious problems with 
just running out of memory. sort_buffer should stay at no higher than 4 MB 
except for some extreme cases. It is allocated per connection. 

> 
> see attached showvariables.txt for further information
> 
> Yes ... I did it my way ... ;o) ... which Threads-Version should I try ...
> ??????

The rule of thumb is that if you are in doubt, you should use our binary. The 
patch we have on our site should apply cleanly to a virgin glibc 2.1.3, but 
every Linux vendor applies their own set of patches on their glibc, so you 
may have to patch some fragments manually, which is a dangerous thing. 
Generally, going through the glibc games just to compile a decent MySQL 
binary on your machine is not worth the headache. 

If you still insist on building it yourself for whatever reason, I would 
recommend getting a virgin glibc 2.2.2, applying our patch to it ( again, a 
patch is needed, grin), installing in in a separate directory, and then 
./configure --with-other-libc=/path/to/glibc2.2 

 
-- 
MySQL Development Team
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to