Re: Mysql tuning - server Crash 1

2005-02-28 Thread Heikki Tuuri
Donny,
- Original Message - 
From: Donny Simonton [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Monday, February 28, 2005 2:00 AM
Subject: RE: Mysql tuning - server Crash 1


Heikki,
I sent this to a few friends of mine who work on fedora quite a bit.
As a general note, Fedora Cores are not considered stable.
None of them wanted to officially comment, but just asked that you show
proof.  Especially since most of RH4 is Fedora.
I am sorry, I fell victim of statements like this:
http://fedora.redhat.com/
The Fedora Project is one of the sources for new technologies and 
enhancements that may be incorporated into Red Hat Enterprise Linux in the 
future. Red Hat Enterprise Linux is the solution that provides a robust, 
stable operating system supported by Red Hat, Inc. and a wide variety of 
independent software vendors (ISVs). For production use, support, service 
level agreements (SLAs), and ISV support, we proudly ask that you look at 
Red Hat Enterprise Linux.

Now that I Googled fedora + mysql + crash, I noticed that Fedora does not 
seem to have any more problems than other Linux distros.

This bug report suggests a bug in an early version of Fedora Core 
1/NPTL/AMD64:

bugs.mysql.com/bug.php?id=4570
Fedora moved to NPTL early.
I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 bit
versions.  And besides certain ide problems which I would never use on a
mysql server anyway, we've never had any problems with fedora at all.
They wanted me to send you some of the benchmarks comparing Fedora, Suse,
and some of the other distros using mysql.  But the site they sent me 
which
shows fedora beating all of them is currently down.

Oh well.
Donny
Best regards,
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM 
tables
http://www.innodb.com/order.php

-Original Message-
From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 27, 2005 2:58 PM
To: mysql@lists.mysql.com
Subject: Re: Mysql tuning - server Crash 1
Max,
- Original Message -
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Sunday, February 27, 2005 2:17 PM
Subject: Re: Mysql tuning - server Crash 1
 Hi Heikki,

 http://lists.mysql.com/mysql/180583
 http://lists.mysql.com/mysql/180581

 Running fedora core1
 Mysql: 4.0.16-Max-log

 If you check http://lists.mysql.com/mysql/180583 (.err) you will see
 errors.
does that contain ALL relevant info?
 Let me know if you have any questions.
You should upgrade to 4.1.10. We might get better error diagnostics then.
As a general note, Fedora Cores are not considered stable.
 Thank you.
 I appreciate your help!!

 Max
Best regards,
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
MyISAM
tables
http://www.innodb.com/order.php
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: 
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Mysql tuning - server Crash 1

2005-02-28 Thread Heikki Tuuri
Max,
maybe the 640 connection piled up because mysqld was hung?
It is not very likely that all those threads would have taken  3 MB of 
memory. Usually they take much less.

The best advice is to upgrade to a recent 4.0.xx or 4.1.xx version of MySQL, 
which may print more info in a hang.

An upgrade to a more recent Fedora Core might also help.
Best regards,
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM 
tables
http://www.innodb.com/order.php

- Original Message - 
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Monday, February 28, 2005 9:13 AM
Subject: Re: Mysql tuning - server Crash 1


In my .err. file I have

key_buffer_size=8388600
read_buffer_size=131072
max_used_connections=652
max_connections=1000
threads_connected=640
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 2184184 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
---
With my 2GB RAM I think I reached the maximum. Shall I consider linux
swap memory, which is of 2GB? Please advise.
Can you help me undertand if an increase of RAM will fix the problem.
On Sun, 27 Feb 2005 18:00:29 -0600, Donny Simonton
[EMAIL PROTECTED] wrote:
Heikki,
I sent this to a few friends of mine who work on fedora quite a bit.
 As a general note, Fedora Cores are not considered stable.
None of them wanted to officially comment, but just asked that you show
proof.  Especially since most of RH4 is Fedora.
I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 bit
versions.  And besides certain ide problems which I would never use on a
mysql server anyway, we've never had any problems with fedora at all.
They wanted me to send you some of the benchmarks comparing Fedora, Suse,
and some of the other distros using mysql.  But the site they sent me 
which
shows fedora beating all of them is currently down.

Oh well.
Donny
 -Original Message-
 From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 27, 2005 2:58 PM
 To: mysql@lists.mysql.com
 Subject: Re: Mysql tuning - server Crash 1

 Max,

 - Original Message -
 From: Deluxe Web [EMAIL PROTECTED]
 Newsgroups: mailing.database.myodbc
 Sent: Sunday, February 27, 2005 2:17 PM
 Subject: Re: Mysql tuning - server Crash 1


  Hi Heikki,
 
  http://lists.mysql.com/mysql/180583
  http://lists.mysql.com/mysql/180581
 
  Running fedora core1
  Mysql: 4.0.16-Max-log
 
  If you check http://lists.mysql.com/mysql/180583 (.err) you will see
  errors.

 does that contain ALL relevant info?

  Let me know if you have any questions.

 You should upgrade to 4.1.10. We might get better error diagnostics 
 then.

 As a general note, Fedora Cores are not considered stable.

  Thank you.
  I appreciate your help!!
 
  Max

 Best regards,

 Heikki Tuuri
 Innobase Oy
 Foreign keys, transactions, and row level locking for MySQL
 InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
 MyISAM
 tables
 http://www.innodb.com/order.php


 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
Deluxe Web
[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: 
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Mysql tuning - server Crash 1

2005-02-28 Thread Deluxe Web
Hi
I understand.. I should switch to debian :)
but in the meantime what about the innodb buffer pull size
Have you seen my variables. I had 8M? 
Can this be the bottle neck?


On Mon, 28 Feb 2005 11:34:31 +0200, Heikki Tuuri
[EMAIL PROTECTED] wrote:
 Max,
 
 maybe the 640 connection piled up because mysqld was hung?
 
 It is not very likely that all those threads would have taken  3 MB of
 memory. Usually they take much less.
 
 The best advice is to upgrade to a recent 4.0.xx or 4.1.xx version of MySQL,
 which may print more info in a hang.
 
 An upgrade to a more recent Fedora Core might also help.
 
 Best regards,
 
 Heikki Tuuri
 Innobase Oy
 Foreign keys, transactions, and row level locking for MySQL
 InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
 tables
 http://www.innodb.com/order.php
 
 - Original Message -
 From: Deluxe Web [EMAIL PROTECTED]
 Newsgroups: mailing.database.myodbc
 Sent: Monday, February 28, 2005 9:13 AM
 Subject: Re: Mysql tuning - server Crash 1
 
  In my .err. file I have
  
  key_buffer_size=8388600
  read_buffer_size=131072
  max_used_connections=652
  max_connections=1000
  threads_connected=640
  It is possible that mysqld could use up to
  key_buffer_size + (read_buffer_size +
  sort_buffer_size)*max_connections = 2184184 K
  bytes of memory
  Hope that's ok; if not, decrease some variables in the equation.
  ---
 
  With my 2GB RAM I think I reached the maximum. Shall I consider linux
  swap memory, which is of 2GB? Please advise.
  Can you help me undertand if an increase of RAM will fix the problem.
 
  On Sun, 27 Feb 2005 18:00:29 -0600, Donny Simonton
  [EMAIL PROTECTED] wrote:
  Heikki,
  I sent this to a few friends of mine who work on fedora quite a bit.
 
   As a general note, Fedora Cores are not considered stable.
 
  None of them wanted to officially comment, but just asked that you show
  proof.  Especially since most of RH4 is Fedora.
 
  I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 bit
  versions.  And besides certain ide problems which I would never use on a
  mysql server anyway, we've never had any problems with fedora at all.
 
  They wanted me to send you some of the benchmarks comparing Fedora, Suse,
  and some of the other distros using mysql.  But the site they sent me
  which
  shows fedora beating all of them is currently down.
 
  Oh well.
 
  Donny
 
   -Original Message-
   From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
   Sent: Sunday, February 27, 2005 2:58 PM
   To: mysql@lists.mysql.com
   Subject: Re: Mysql tuning - server Crash 1
  
   Max,
  
   - Original Message -
   From: Deluxe Web [EMAIL PROTECTED]
   Newsgroups: mailing.database.myodbc
   Sent: Sunday, February 27, 2005 2:17 PM
   Subject: Re: Mysql tuning - server Crash 1
  
  
Hi Heikki,
   
http://lists.mysql.com/mysql/180583
http://lists.mysql.com/mysql/180581
   
Running fedora core1
Mysql: 4.0.16-Max-log
   
If you check http://lists.mysql.com/mysql/180583 (.err) you will see
errors.
  
   does that contain ALL relevant info?
  
Let me know if you have any questions.
  
   You should upgrade to 4.1.10. We might get better error diagnostics
   then.
  
   As a general note, Fedora Cores are not considered stable.
  
Thank you.
I appreciate your help!!
   
Max
  
   Best regards,
  
   Heikki Tuuri
   Innobase Oy
   Foreign keys, transactions, and row level locking for MySQL
   InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
   MyISAM
   tables
   http://www.innodb.com/order.php
  
  
   --
   MySQL General Mailing List
   For list archives: http://lists.mysql.com/mysql
   To unsubscribe:
   http://lists.mysql.com/[EMAIL PROTECTED]
 
 
  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
 
 
 
 
  --
 
  Deluxe Web
  [EMAIL PROTECTED]
 
  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:
  http://lists.mysql.com/[EMAIL PROTECTED]
 
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
 
 


-- 

Deluxe Web 
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Mysql tuning - server Crash 1

2005-02-28 Thread Heikki Tuuri
Max,
- Original Message - 
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Monday, February 28, 2005 11:44 AM
Subject: Re: Mysql tuning - server Crash 1


Hi
I understand.. I should switch to debian :)
but in the meantime what about the innodb buffer pull size
Have you seen my variables. I had 8M?
Can this be the bottle neck?
yes it may be. Please see:
http://dev.mysql.com/doc/mysql/en/innodb-configuration.html
--Heikki
On Mon, 28 Feb 2005 11:34:31 +0200, Heikki Tuuri
[EMAIL PROTECTED] wrote:
Max,
maybe the 640 connection piled up because mysqld was hung?
It is not very likely that all those threads would have taken  3 MB of
memory. Usually they take much less.
The best advice is to upgrade to a recent 4.0.xx or 4.1.xx version of 
MySQL,
which may print more info in a hang.

An upgrade to a more recent Fedora Core might also help.
Best regards,
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up 
MyISAM
tables
http://www.innodb.com/order.php

- Original Message -
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Monday, February 28, 2005 9:13 AM
Subject: Re: Mysql tuning - server Crash 1
 In my .err. file I have
 
 key_buffer_size=8388600
 read_buffer_size=131072
 max_used_connections=652
 max_connections=1000
 threads_connected=640
 It is possible that mysqld could use up to
 key_buffer_size + (read_buffer_size +
 sort_buffer_size)*max_connections = 2184184 K
 bytes of memory
 Hope that's ok; if not, decrease some variables in the equation.
 ---

 With my 2GB RAM I think I reached the maximum. Shall I consider linux
 swap memory, which is of 2GB? Please advise.
 Can you help me undertand if an increase of RAM will fix the problem.

 On Sun, 27 Feb 2005 18:00:29 -0600, Donny Simonton
 [EMAIL PROTECTED] wrote:
 Heikki,
 I sent this to a few friends of mine who work on fedora quite a bit.

  As a general note, Fedora Cores are not considered stable.

 None of them wanted to officially comment, but just asked that you 
 show
 proof.  Especially since most of RH4 is Fedora.

 I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 
 bit
 versions.  And besides certain ide problems which I would never use on 
 a
 mysql server anyway, we've never had any problems with fedora at all.

 They wanted me to send you some of the benchmarks comparing Fedora, 
 Suse,
 and some of the other distros using mysql.  But the site they sent me
 which
 shows fedora beating all of them is currently down.

 Oh well.

 Donny

  -Original Message-
  From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 27, 2005 2:58 PM
  To: mysql@lists.mysql.com
  Subject: Re: Mysql tuning - server Crash 1
 
  Max,
 
  - Original Message -
  From: Deluxe Web [EMAIL PROTECTED]
  Newsgroups: mailing.database.myodbc
  Sent: Sunday, February 27, 2005 2:17 PM
  Subject: Re: Mysql tuning - server Crash 1
 
 
   Hi Heikki,
  
   http://lists.mysql.com/mysql/180583
   http://lists.mysql.com/mysql/180581
  
   Running fedora core1
   Mysql: 4.0.16-Max-log
  
   If you check http://lists.mysql.com/mysql/180583 (.err) you will 
   see
   errors.
 
  does that contain ALL relevant info?
 
   Let me know if you have any questions.
 
  You should upgrade to 4.1.10. We might get better error diagnostics
  then.
 
  As a general note, Fedora Cores are not considered stable.
 
   Thank you.
   I appreciate your help!!
  
   Max
 
  Best regards,
 
  Heikki Tuuri
  Innobase Oy
  Foreign keys, transactions, and row level locking for MySQL
  InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
  MyISAM
  tables
  http://www.innodb.com/order.php
 
 
  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:
  http://lists.mysql.com/[EMAIL PROTECTED]


 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe: 
 http://lists.mysql.com/[EMAIL PROTECTED]




 --

 Deluxe Web
 [EMAIL PROTECTED]

 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
Deluxe Web
[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: 
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Mysql tuning - server Crash 1

2005-02-28 Thread Deluxe Web
I have increased innodb buffer pull size to 1G (50% of my 2G ram)
What do you suggest (size) for innodb_data_file_path
I'm note sure about this variable usage in mysql performance.
Thanks.

On Mon, 28 Feb 2005 11:47:27 +0200, Heikki Tuuri
[EMAIL PROTECTED] wrote:
 Max,
 
 - Original Message -
 From: Deluxe Web [EMAIL PROTECTED]
 Newsgroups: mailing.database.myodbc
 Sent: Monday, February 28, 2005 11:44 AM
 Subject: Re: Mysql tuning - server Crash 1
 
  Hi
  I understand.. I should switch to debian :)
  but in the meantime what about the innodb buffer pull size
  Have you seen my variables. I had 8M?
  Can this be the bottle neck?
 
 yes it may be. Please see:
 
 http://dev.mysql.com/doc/mysql/en/innodb-configuration.html
 
 --Heikki
 
  On Mon, 28 Feb 2005 11:34:31 +0200, Heikki Tuuri
  [EMAIL PROTECTED] wrote:
  Max,
 
  maybe the 640 connection piled up because mysqld was hung?
 
  It is not very likely that all those threads would have taken  3 MB of
  memory. Usually they take much less.
 
  The best advice is to upgrade to a recent 4.0.xx or 4.1.xx version of
  MySQL,
  which may print more info in a hang.
 
  An upgrade to a more recent Fedora Core might also help.
 
  Best regards,
 
  Heikki Tuuri
  Innobase Oy
  Foreign keys, transactions, and row level locking for MySQL
  InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
  MyISAM
  tables
  http://www.innodb.com/order.php
 
  - Original Message -
  From: Deluxe Web [EMAIL PROTECTED]
  Newsgroups: mailing.database.myodbc
  Sent: Monday, February 28, 2005 9:13 AM
  Subject: Re: Mysql tuning - server Crash 1
 
   In my .err. file I have
   
   key_buffer_size=8388600
   read_buffer_size=131072
   max_used_connections=652
   max_connections=1000
   threads_connected=640
   It is possible that mysqld could use up to
   key_buffer_size + (read_buffer_size +
   sort_buffer_size)*max_connections = 2184184 K
   bytes of memory
   Hope that's ok; if not, decrease some variables in the equation.
   ---
  
   With my 2GB RAM I think I reached the maximum. Shall I consider linux
   swap memory, which is of 2GB? Please advise.
   Can you help me undertand if an increase of RAM will fix the problem.
  
   On Sun, 27 Feb 2005 18:00:29 -0600, Donny Simonton
   [EMAIL PROTECTED] wrote:
   Heikki,
   I sent this to a few friends of mine who work on fedora quite a bit.
  
As a general note, Fedora Cores are not considered stable.
  
   None of them wanted to officially comment, but just asked that you
   show
   proof.  Especially since most of RH4 is Fedora.
  
   I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64
   bit
   versions.  And besides certain ide problems which I would never use on
   a
   mysql server anyway, we've never had any problems with fedora at all.
  
   They wanted me to send you some of the benchmarks comparing Fedora,
   Suse,
   and some of the other distros using mysql.  But the site they sent me
   which
   shows fedora beating all of them is currently down.
  
   Oh well.
  
   Donny
  
-Original Message-
From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 27, 2005 2:58 PM
To: mysql@lists.mysql.com
Subject: Re: Mysql tuning - server Crash 1
   
Max,
   
- Original Message -
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Sunday, February 27, 2005 2:17 PM
Subject: Re: Mysql tuning - server Crash 1
   
   
 Hi Heikki,

 http://lists.mysql.com/mysql/180583
 http://lists.mysql.com/mysql/180581

 Running fedora core1
 Mysql: 4.0.16-Max-log

 If you check http://lists.mysql.com/mysql/180583 (.err) you will
 see
 errors.
   
does that contain ALL relevant info?
   
 Let me know if you have any questions.
   
You should upgrade to 4.1.10. We might get better error diagnostics
then.
   
As a general note, Fedora Cores are not considered stable.
   
 Thank you.
 I appreciate your help!!

 Max
   
Best regards,
   
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
MyISAM
tables
http://www.innodb.com/order.php
   
   
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
  
  
   --
   MySQL General Mailing List
   For list archives: http://lists.mysql.com/mysql
   To unsubscribe:
   http://lists.mysql.com/[EMAIL PROTECTED]
  
  
  
  
   --
  
   Deluxe Web
   [EMAIL PROTECTED]
  
   --
   MySQL General Mailing List
   For list archives: http://lists.mysql.com/mysql
   To unsubscribe:
   http://lists.mysql.com/[EMAIL PROTECTED]
  
 
  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:http

Re: Mysql tuning - server Crash 1

2005-02-27 Thread Deluxe Web
Hi Heikki,

http://lists.mysql.com/mysql/180583
http://lists.mysql.com/mysql/180581

Running fedora core1
Mysql: 4.0.16-Max-log

If you check http://lists.mysql.com/mysql/180583 (.err) you will see errors.

Let me know if you have any questions.

Thank you. 
I appreciate your help!!

Max



On Sun, 27 Feb 2005 09:34:40 +0200, Heikki Tuuri
[EMAIL PROTECTED] wrote:
 Max,
 
 please post all the relevant contents of the .err log. What MySQL version is
 this? What Linux version?
 
 Best regards,
 
 Heikki Tuuri
 Innobase Oy
 Foreign keys, transactions, and row level locking for MySQL
 InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
 tables
 http://www.innodb.com/order.php
 
 
 - Original Message -
 From: Deluxe Web [EMAIL PROTECTED]
 Newsgroups: mailing.database.myodbc
 Sent: Saturday, February 26, 2005 12:05 PM
 Subject: Mysql tuning - server Crash 1
 
  Hi there,
  I have a problem with mysql. I have an application basically to track
  clicks to my website and last night it crashed. Can you have a look
  aty my situation?
  I run a server with 2GB RAM and a XEON processor!
 
  Thank you.
  - Max -
 
  error log
  -
  InnoDB: Warning: a long semaphore wait:
  --Thread 1175628720 has waited at row0mysql.c line 1683 for 241.00
  seconds the semaphore:
  Mutex at 40e1b168 created file srv0srv.c line 1647, lock var 1
  Last time reserved in file trx0trx.c line 309, waiters flag 1
  InnoDB: ## Starts InnoDB Monitor for 30 secs to print diagnostic info:
  InnoDB: ## Diagnostic info printed to the standard output
  InnoDB: Warning: a long semaphore wait:
  --Thread 1175628720 has waited at row0mysql.c line 1683 for 674.00
  seconds the semaphore:
  Mutex at 40e1b168 created file srv0srv.c line 1647, lock var 1
  Last time reserved in file trx0trx.c line 309, waiters flag 1
  InnoDB: Error: semaphore wait has lasted  600 seconds
  InnoDB: We intentionally crash the server, because it appears to be hung.
  050225 15:29:55  InnoDB: Assertion failure in thread 1165138864 in
  file sync0arr.c line 934
  InnoDB: Failing assertion: 0
  InnoDB: We intentionally generate a memory trap.
  InnoDB: Send a detailed bug report to mysql@lists.mysql.com
  mysqld got signal 11;
  This could be because you hit a bug. It is also possible that this binary
  or one of the libraries it was linked against is corrupt, improperly
  built,
  or misconfigured. This error can also be caused by malfunctioning
  hardware.
  We will try our best to scrape up some info that will hopefully help
  diagnose
  the problem, but since we have already crashed, something is definitely
  wrong
  and this may fail.
 
  key_buffer_size=8388600
  read_buffer_size=131072
  max_used_connections=652
  max_connections=1000
  threads_connected=640
  It is possible that mysqld could use up to
  key_buffer_size + (read_buffer_size +
  sort_buffer_size)*max_connections = 2184184 K
  bytes of memory
  Hope that's ok; if not, decrease some variables in the equation.
 
  You seem to be running 32-bit Linux and have 640 concurrent connections.
  If you have not changed STACK_SIZE in LinuxThreads and built the binary
  yourself, LinuxThreads is quite likely to steal a part of the global heap
  for
  the thread stack. Please read http://www.mysql.com/doc/L/i/Linux.html
 
  thd=(nil)
  Attempting backtrace. You can use the following information to find out
  where mysqld died. If you see no messages after this, something went
  terribly wrong...
  Cannot determine thread, fp=0x4572955c, backtrace may not be correct.
  Stack range sanity check OK, backtrace follows:
  0x80d9be4
  0xca1f18
  (nil)
  0xc9b79c
  0xaae27a
  New value of fp=(nil) failed sanity check, terminating stack trace!
  Please read http://www.mysql.com/doc/en/Using_stack_trace.html and
  follow instructions on how to resolve the stack trace. Resolved
  stack trace is much more helpful in diagnosing the problem, so please do
  resolve it
  The manual page at http://www.mysql.com/doc/en/Crashing.html contains
  information that should help you find out what is causing the crash.
  050225 15:31:46  Error reading packet from server: Lost connection to
  MySQL server during query (server_errno=2013)
  050225 15:31:46  Slave I/O thread: Failed reading log event,
  reconnecting to retry, log 's2-bin.003' position 99034
  InnoDB: Thread 1356766128 stopped in file ut0mem.c line 157
  InnoDB: Thread 1230535600 stopped in file trx0trx.c line 288
  InnoDB: Thread 1310583728 stopped in file
  ../../innobase/fil/../include/sync0sync.ic line 109
 
  Number of processes running now: 0
  050225 15:36:08  mysqld restarted
  050225 15:36:23  InnoDB: Database was not shut down normally.
  InnoDB: Starting recovery from log files...
  InnoDB: Starting log scan based on checkpoint at
  InnoDB: log sequence number 0 1132661722
  InnoDB: Doing recovery: scanned up to log sequence number 0 1132661722
  InnoDB: In a MySQL replication slave the last master binlog file
 
  --
  MySQL

Re: Mysql tuning - server Crash 1

2005-02-27 Thread Heikki Tuuri
Max,
- Original Message - 
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Sunday, February 27, 2005 2:17 PM
Subject: Re: Mysql tuning - server Crash 1


Hi Heikki,
http://lists.mysql.com/mysql/180583
http://lists.mysql.com/mysql/180581
Running fedora core1
Mysql: 4.0.16-Max-log
If you check http://lists.mysql.com/mysql/180583 (.err) you will see 
errors.
does that contain ALL relevant info?
Let me know if you have any questions.
You should upgrade to 4.1.10. We might get better error diagnostics then.
As a general note, Fedora Cores are not considered stable.
Thank you.
I appreciate your help!!
Max
Best regards,
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM 
tables
http://www.innodb.com/order.php

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


RE: Mysql tuning - server Crash 1

2005-02-27 Thread Donny Simonton
Heikki,
I sent this to a few friends of mine who work on fedora quite a bit.

 As a general note, Fedora Cores are not considered stable.

None of them wanted to officially comment, but just asked that you show
proof.  Especially since most of RH4 is Fedora.  

I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 bit
versions.  And besides certain ide problems which I would never use on a
mysql server anyway, we've never had any problems with fedora at all.

They wanted me to send you some of the benchmarks comparing Fedora, Suse,
and some of the other distros using mysql.  But the site they sent me which
shows fedora beating all of them is currently down.

Oh well.

Donny

 -Original Message-
 From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 27, 2005 2:58 PM
 To: mysql@lists.mysql.com
 Subject: Re: Mysql tuning - server Crash 1
 
 Max,
 
 - Original Message -
 From: Deluxe Web [EMAIL PROTECTED]
 Newsgroups: mailing.database.myodbc
 Sent: Sunday, February 27, 2005 2:17 PM
 Subject: Re: Mysql tuning - server Crash 1
 
 
  Hi Heikki,
 
  http://lists.mysql.com/mysql/180583
  http://lists.mysql.com/mysql/180581
 
  Running fedora core1
  Mysql: 4.0.16-Max-log
 
  If you check http://lists.mysql.com/mysql/180583 (.err) you will see
  errors.
 
 does that contain ALL relevant info?
 
  Let me know if you have any questions.
 
 You should upgrade to 4.1.10. We might get better error diagnostics then.
 
 As a general note, Fedora Cores are not considered stable.
 
  Thank you.
  I appreciate your help!!
 
  Max
 
 Best regards,
 
 Heikki Tuuri
 Innobase Oy
 Foreign keys, transactions, and row level locking for MySQL
 InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
 MyISAM
 tables
 http://www.innodb.com/order.php
 
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Mysql tuning - server Crash 1

2005-02-27 Thread Deluxe Web
As for as I understand my server crashed with 640 concurrent
connections - http://lists.mysql.com/mysql/180583 -. Am I wrong?
I think it could be a problem in my variables (tuning required)
Can you have a look at my variables http://lists.mysql.com/mysql/180581
I have 2GB ram, and the server is running apache (perl dbi) and mysql only.

Thank you. Max




On Sun, 27 Feb 2005 18:00:29 -0600, Donny Simonton
[EMAIL PROTECTED] wrote:
 Heikki,
 I sent this to a few friends of mine who work on fedora quite a bit.
 
  As a general note, Fedora Cores are not considered stable.
 
 None of them wanted to officially comment, but just asked that you show
 proof.  Especially since most of RH4 is Fedora.
 
 I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 bit
 versions.  And besides certain ide problems which I would never use on a
 mysql server anyway, we've never had any problems with fedora at all.
 
 They wanted me to send you some of the benchmarks comparing Fedora, Suse,
 and some of the other distros using mysql.  But the site they sent me which
 shows fedora beating all of them is currently down.
 
 Oh well.
 
 Donny
 
  -Original Message-
  From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 27, 2005 2:58 PM
  To: mysql@lists.mysql.com
  Subject: Re: Mysql tuning - server Crash 1
 
  Max,
 
  - Original Message -
  From: Deluxe Web [EMAIL PROTECTED]
  Newsgroups: mailing.database.myodbc
  Sent: Sunday, February 27, 2005 2:17 PM
  Subject: Re: Mysql tuning - server Crash 1
 
 
   Hi Heikki,
  
   http://lists.mysql.com/mysql/180583
   http://lists.mysql.com/mysql/180581
  
   Running fedora core1
   Mysql: 4.0.16-Max-log
  
   If you check http://lists.mysql.com/mysql/180583 (.err) you will see
   errors.
 
  does that contain ALL relevant info?
 
   Let me know if you have any questions.
 
  You should upgrade to 4.1.10. We might get better error diagnostics then.
 
  As a general note, Fedora Cores are not considered stable.
 
   Thank you.
   I appreciate your help!!
  
   Max
 
  Best regards,
 
  Heikki Tuuri
  Innobase Oy
  Foreign keys, transactions, and row level locking for MySQL
  InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
  MyISAM
  tables
  http://www.innodb.com/order.php
 
 
  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:
  http://lists.mysql.com/[EMAIL PROTECTED]
 
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
 
 


-- 

Deluxe Web 
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Mysql tuning - server Crash 1

2005-02-27 Thread Deluxe Web
In my .err. file I have

key_buffer_size=8388600
read_buffer_size=131072
max_used_connections=652
max_connections=1000
threads_connected=640
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 2184184 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
---

With my 2GB RAM I think I reached the maximum. Shall I consider linux
swap memory, which is of 2GB? Please advise.
Can you help me undertand if an increase of RAM will fix the problem.

On Sun, 27 Feb 2005 18:00:29 -0600, Donny Simonton
[EMAIL PROTECTED] wrote:
 Heikki,
 I sent this to a few friends of mine who work on fedora quite a bit.
 
  As a general note, Fedora Cores are not considered stable.
 
 None of them wanted to officially comment, but just asked that you show
 proof.  Especially since most of RH4 is Fedora.
 
 I know I've used FC1, FC2, and FC3.  And on fc2 and fc3 the 32 and 64 bit
 versions.  And besides certain ide problems which I would never use on a
 mysql server anyway, we've never had any problems with fedora at all.
 
 They wanted me to send you some of the benchmarks comparing Fedora, Suse,
 and some of the other distros using mysql.  But the site they sent me which
 shows fedora beating all of them is currently down.
 
 Oh well.
 
 Donny
 
  -Original Message-
  From: Heikki Tuuri [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 27, 2005 2:58 PM
  To: mysql@lists.mysql.com
  Subject: Re: Mysql tuning - server Crash 1
 
  Max,
 
  - Original Message -
  From: Deluxe Web [EMAIL PROTECTED]
  Newsgroups: mailing.database.myodbc
  Sent: Sunday, February 27, 2005 2:17 PM
  Subject: Re: Mysql tuning - server Crash 1
 
 
   Hi Heikki,
  
   http://lists.mysql.com/mysql/180583
   http://lists.mysql.com/mysql/180581
  
   Running fedora core1
   Mysql: 4.0.16-Max-log
  
   If you check http://lists.mysql.com/mysql/180583 (.err) you will see
   errors.
 
  does that contain ALL relevant info?
 
   Let me know if you have any questions.
 
  You should upgrade to 4.1.10. We might get better error diagnostics then.
 
  As a general note, Fedora Cores are not considered stable.
 
   Thank you.
   I appreciate your help!!
  
   Max
 
  Best regards,
 
  Heikki Tuuri
  Innobase Oy
  Foreign keys, transactions, and row level locking for MySQL
  InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
  MyISAM
  tables
  http://www.innodb.com/order.php
 
 
  --
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:
  http://lists.mysql.com/[EMAIL PROTECTED]
 
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
 
 


-- 

Deluxe Web 
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Mysql tuning - server Crash 1

2005-02-26 Thread Deluxe Web
Hi there,
I have a problem with mysql. I have an application basically to track
clicks to my website and last night it crashed. Can you have a look
aty my situation?
I run a server with 2GB RAM and a XEON processor!

Thank you.
- Max -

error log
-
InnoDB: Warning: a long semaphore wait:
--Thread 1175628720 has waited at row0mysql.c line 1683 for 241.00
seconds the semaphore:
Mutex at 40e1b168 created file srv0srv.c line 1647, lock var 1
Last time reserved in file trx0trx.c line 309, waiters flag 1
InnoDB: ## Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ## Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 1175628720 has waited at row0mysql.c line 1683 for 674.00
seconds the semaphore:
Mutex at 40e1b168 created file srv0srv.c line 1647, lock var 1
Last time reserved in file trx0trx.c line 309, waiters flag 1
InnoDB: Error: semaphore wait has lasted  600 seconds
InnoDB: We intentionally crash the server, because it appears to be hung.
050225 15:29:55  InnoDB: Assertion failure in thread 1165138864 in
file sync0arr.c line 934
InnoDB: Failing assertion: 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to mysql@lists.mysql.com
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
max_used_connections=652
max_connections=1000
threads_connected=640
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 2184184 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

You seem to be running 32-bit Linux and have 640 concurrent connections.
If you have not changed STACK_SIZE in LinuxThreads and built the binary
yourself, LinuxThreads is quite likely to steal a part of the global heap for
the thread stack. Please read http://www.mysql.com/doc/L/i/Linux.html

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x4572955c, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80d9be4
0xca1f18
(nil)
0xc9b79c
0xaae27a
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/en/Using_stack_trace.html and
follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
050225 15:31:46  Error reading packet from server: Lost connection to
MySQL server during query (server_errno=2013)
050225 15:31:46  Slave I/O thread: Failed reading log event,
reconnecting to retry, log 's2-bin.003' position 99034
InnoDB: Thread 1356766128 stopped in file ut0mem.c line 157
InnoDB: Thread 1230535600 stopped in file trx0trx.c line 288
InnoDB: Thread 1310583728 stopped in file
../../innobase/fil/../include/sync0sync.ic line 109

Number of processes running now: 0
050225 15:36:08  mysqld restarted
050225 15:36:23  InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 1132661722
InnoDB: Doing recovery: scanned up to log sequence number 0 1132661722
InnoDB: In a MySQL replication slave the last master binlog file

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Mysql tuning - server Crash 1

2005-02-26 Thread Heikki Tuuri
Max,
please post all the relevant contents of the .err log. What MySQL version is 
this? What Linux version?

Best regards,
Heikki Tuuri
Innobase Oy
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM 
tables
http://www.innodb.com/order.php

- Original Message - 
From: Deluxe Web [EMAIL PROTECTED]
Newsgroups: mailing.database.myodbc
Sent: Saturday, February 26, 2005 12:05 PM
Subject: Mysql tuning - server Crash 1


Hi there,
I have a problem with mysql. I have an application basically to track
clicks to my website and last night it crashed. Can you have a look
aty my situation?
I run a server with 2GB RAM and a XEON processor!
Thank you.
- Max -
error log
-
InnoDB: Warning: a long semaphore wait:
--Thread 1175628720 has waited at row0mysql.c line 1683 for 241.00
seconds the semaphore:
Mutex at 40e1b168 created file srv0srv.c line 1647, lock var 1
Last time reserved in file trx0trx.c line 309, waiters flag 1
InnoDB: ## Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: ## Diagnostic info printed to the standard output
InnoDB: Warning: a long semaphore wait:
--Thread 1175628720 has waited at row0mysql.c line 1683 for 674.00
seconds the semaphore:
Mutex at 40e1b168 created file srv0srv.c line 1647, lock var 1
Last time reserved in file trx0trx.c line 309, waiters flag 1
InnoDB: Error: semaphore wait has lasted  600 seconds
InnoDB: We intentionally crash the server, because it appears to be hung.
050225 15:29:55  InnoDB: Assertion failure in thread 1165138864 in
file sync0arr.c line 934
InnoDB: Failing assertion: 0
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to mysql@lists.mysql.com
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly 
built,
or misconfigured. This error can also be caused by malfunctioning 
hardware.
We will try our best to scrape up some info that will hopefully help 
diagnose
the problem, but since we have already crashed, something is definitely 
wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
max_used_connections=652
max_connections=1000
threads_connected=640
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 2184184 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
You seem to be running 32-bit Linux and have 640 concurrent connections.
If you have not changed STACK_SIZE in LinuxThreads and built the binary
yourself, LinuxThreads is quite likely to steal a part of the global heap 
for
the thread stack. Please read http://www.mysql.com/doc/L/i/Linux.html

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x4572955c, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80d9be4
0xca1f18
(nil)
0xc9b79c
0xaae27a
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/en/Using_stack_trace.html and
follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
050225 15:31:46  Error reading packet from server: Lost connection to
MySQL server during query (server_errno=2013)
050225 15:31:46  Slave I/O thread: Failed reading log event,
reconnecting to retry, log 's2-bin.003' position 99034
InnoDB: Thread 1356766128 stopped in file ut0mem.c line 157
InnoDB: Thread 1230535600 stopped in file trx0trx.c line 288
InnoDB: Thread 1310583728 stopped in file
../../innobase/fil/../include/sync0sync.ic line 109
Number of processes running now: 0
050225 15:36:08  mysqld restarted
050225 15:36:23  InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 1132661722
InnoDB: Doing recovery: scanned up to log sequence number 0 1132661722
InnoDB: In a MySQL replication slave the last master binlog file
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: 
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]