Bug #40147 | InnoDB: All tables / databases Lock / Global Lock ??? - Please help | ||
---|---|---|---|
Submitted: | 19 Oct 2008 17:29 | Modified: | 21 Nov 2008 7:12 |
Reporter: | Vith Pinthapataya | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 5.0.18 | OS: | Linux (SuSe 10.1) |
Assigned to: | CPU Architecture: | Any | |
Tags: | database lock, innodb, table lock |
[19 Oct 2008 17:29]
Vith Pinthapataya
[19 Oct 2008 17:32]
Vith Pinthapataya
Output of SHOW VAR and HOW INNODB STATUS
Attachment: mysql.txt (text/plain), 24.23 KiB.
[19 Oct 2008 17:37]
Valeriy Kravchuk
Please, try to repeat with smaller innodb_thread_concurrency, 4, for example (how many CPUd do you have?), and with a newer version, 5.0.67. Inform about the results.
[20 Oct 2008 16:04]
Vith Pinthapataya
Thanks for fast response. Would you mind describe what you think the problem may be? By changing innodb_thread_concurrency to 4, will this fix the problem? or will it repeat the problem so it can be fixed later? We have 4 CPUs on our customer server (currently having problem) however we can not play with the server since it is in production (they won't let me). We have 2 CPUs on our lab which we can play with. By the way, during the lock up(which cannot repeat-yet), all SELECT statments/queries were working just fine. I saw queries in and out (on mytop ) without any problems. Just those UPDATE/INSERT (diff tables/databases) that we had problem with and hung there. There was no DELETE at the time since we only do cleanup process between 3:00-3:59am. Other note: we have innodb_thread_concurrency set to 20. I did run multi threads(2 - 32 ) to access database/tables at the same time. I do not see a big grep of time between number of threads. Not like a result from other that it would take hours to return a simple queries when having many clients access in multiple CPUs server. Thanks, Vith
[21 Oct 2008 7:12]
Sveta Smirnova
Thank you for the feedback. Deadlock in most cases is not a bug. Please see about How to Cope with Deadlocks at http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlocks.html You reported this problem as bug in MySQL software and haven't provided repeatable test case. If this is truly bug in MySQL software we must know if problem is repeatable in the latest version and if yes find a way to repeat it. So, please, follow Valeriy's instructions.
[22 Nov 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".