Bug #54720 | Mysql Server crashes and automatically restart where updating temporary table | ||
---|---|---|---|
Submitted: | 23 Jun 2010 6:44 | Modified: | 27 Jul 2011 6:38 |
Reporter: | Satyapal Garhwal | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S1 (Critical) |
Version: | 5.1.50 | OS: | Linux ( RED HAT Enterprise Linux 2.6.9-55.ELsmp) |
Assigned to: | CPU Architecture: | Any |
[23 Jun 2010 6:44]
Satyapal Garhwal
[23 Jun 2010 6:46]
Satyapal Garhwal
Attaching server log file
Attachment: optimusdb.fjdc.com.err (application/octet-stream, text), 63.88 KiB.
[23 Jun 2010 7:58]
Sveta Smirnova
Thank you for the report. But version 5.1.30 is old and many bugs were fiexed since. Please try current version 5.1.48 and if problem still exists provide dump of problem tables and definition of stored procedure.
[23 Jun 2010 10:13]
Satyapal Garhwal
we are using mysql 5.1.30 for production server at this moment we cant change to 5.1.48
[23 Jun 2010 10:19]
Satyapal Garhwal
This is store procedure where error occurs and servere crashes
Attachment: sp_inv_fg_reconciliation_proc.sql (application/unknown, text), 14.66 KiB.
[23 Jun 2010 10:50]
Sveta Smirnova
Thank you for the feedback. Please provide dump or, at least, output of SHOW CREATE TABLE and SHOW TABLE STATUS for all tables used in stored procedure.
[23 Jun 2010 11:14]
Satyapal Garhwal
These are ddl and dml for table created using mysql admin utility
Attachment: table_ddl_dml.rar (application/octet-stream, text), 128.94 KiB.
[23 Jun 2010 11:15]
Satyapal Garhwal
these are rar file u have to extract and check
[23 Jun 2010 15:02]
MySQL Verification Team
Looks like table core_parameter_master is missed in the test case.
[24 Jun 2010 6:25]
Satyapal Garhwal
for core_parameter master u can pur value 1 and 2 directly of sequence
[24 Jun 2010 6:33]
Satyapal Garhwal
this is ddl and dml of core parameter master
Attachment: parameter_bkup.sql (application/unknown, text), 155.22 KiB.
[24 Jun 2010 11:46]
Sveta Smirnova
Thank you for the feedback. Table core_design_details also missed. Please upload.
[24 Jun 2010 12:13]
Satyapal Garhwal
i have uploaded a file bug_data-54720.rar that contains back up for core design table
[24 Jun 2010 12:14]
Satyapal Garhwal
i have uploaded a file bug_data-54720.rar on mysql ftp server that contains back up for core design table
[24 Jun 2010 18:22]
Sveta Smirnova
Thank you for the feedback. I can not repeat described behavior even with version 5.1.30. Also table inv_fg_stock_register_detail is missed, but looks this table is not related. Please send us your configuration file and example of query you use when calling stored procedure.
[25 Jun 2010 9:39]
Satyapal Garhwal
snding my.cnf file (configuration file )
Attachment: my.cnf (application/octet-stream, text), 7.35 KiB.
[26 Jun 2010 7:26]
Sveta Smirnova
Thank you for the feedback. I still can not repeat error. Calling procedure as: call sp_inv_fg_reconciliation_proc('FJML_MFG1',null,'2010-10-10', '2011-02-22', null, null, null, null, null, null, null, null, null); Looks like parameters matter. Please send us parameters which cause crash.
[28 Jun 2010 5:54]
Satyapal Garhwal
its crashing some time no all time when mysql process takes memory more then 2.8 gb .... I have seen in linux using top command when mysqld process taken more then 2.8 gb memory and i call this proc that time its crashing the server if mysql process mysqld memory is less then 2.8 gb then its ok ..... Before this problem over server is going out of memory se we tunned some parameter in my.cnf file after that this crashing happens
[28 Jun 2010 5:55]
Satyapal Garhwal
for parameter master i already added ddl and dml file which is [24 Jun 8:33] satyapal garhwal this is ddl and dml of core parameter master Attachment: parameter_bkup.sql
[28 Jun 2010 5:56]
Satyapal Garhwal
in log file u can see its showing InnoDB: Assertion failure in thread 1638427 in file btr/btr0pcur.c line 217 i dont know what is this btr/btr0pcur.c
[28 Jun 2010 13:10]
Satyapal Garhwal
u can see outpput of linux top command if thsis this the situation then server creashes
Attachment: top.rar (application/octet-stream, text), 65.25 KiB.
[1 Jul 2010 6:56]
Satyapal Garhwal
this bug is same as 39320 can any body tell in which version this is fixed ... so which version i have to use for production
[1 Jul 2010 7:38]
Sveta Smirnova
Thank you for the feedback. Fix surely exists in version 5.1.47. Please try this version or latest 5.1.48 and inform us if it solves problem for you.
[2 Jul 2010 9:45]
Satyapal Garhwal
can we use mysql-5.1.48 for production server ............. it is stable GA or development version ................ i think its so risks to use in production server ...............
[3 Jul 2010 9:23]
Sveta Smirnova
Thank you for the feedback. Version 5.1.48 is GA. To decide if there is a risk to use it on production server or not is up to you, but we do not backport bug fixes, so there is no sense to test bugs in older versions anyway.
[7 Jul 2010 5:38]
Satyapal Garhwal
within next 10 days i will upgrade mysql-5.1.48 and for 5-10 days of testing on stage server i will push to production and see what will happen ....................
[14 Jul 2010 15:14]
Satyapal Garhwal
if we comment out innodb_locks_unsafe_for_binlog=1 this portion in my.cnf then its working fine
[15 Jul 2010 9:37]
Susanne Ebrecht
This could be a duplicate of bug #48192. Please try actual version MySQL server 5.1.48.
[15 Aug 2010 23: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".
[16 Aug 2010 4:20]
Satyapal Garhwal
i am trying to upgrade mysql5.1.30 to 5.1.48
[16 Aug 2010 19:39]
Sveta Smirnova
Thank you for the feedback. We will wait results of your upgrade. Better to version 5.1.49 now.
[6 Sep 2010 10:23]
Satyapal Garhwal
upgraded to Red Hat Enterprise Linux 3 (x86, 32-bit), RPM Package MySQL Server still facing so many new problem on production server
[6 Sep 2010 10:24]
Satyapal Garhwal
can u tell me which is better using Rpm or compile from source using gcc
[6 Sep 2010 10:30]
Satyapal Garhwal
SORRY Mistake in typing that is linux 4 not 3 upgraded to Red Hat Enterprise Linux 4 (x86, 32-bit), RPM Package MySQL Server still facing so many new problem on production server
[6 Sep 2010 16:00]
Sveta Smirnova
Thank you for the feedback. Which problems do you experience now? Do you experience same problem as in the initial description?
[7 Sep 2010 4:46]
Satyapal Garhwal
not same because i commented innodb_locks_unsafe_for_binlog=1 this part on my.cnf if new version will stable on production server then i have to start these type of experiment Now the main problem is out of memory
[7 Sep 2010 10:29]
Sveta Smirnova
Thank you for the feedback. Please add option innodb_locks_unsafe_for_binlog to the configuration file and inform us about problem still exists in new version. Regarding to other problems this is either support request or, if you are able to prove this is MySQL bug, you should open new report.
[7 Oct 2010 23: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".
[8 Oct 2010 5:06]
Satyapal Garhwal
innodb_locks_unsafe_for_binlog till now using this variable problem exist
[12 Oct 2010 16:05]
Sveta Smirnova
> upgraded to Red Hat Enterprise Linux 4 (x86, 32-bit), RPM Package Thank you for the feedback. Which version of MySQL server do you use now?
[13 Oct 2010 4:11]
Satyapal Garhwal
now we are using 5.1.50 rpm installation
[4 Nov 2010 10:34]
Susanne Ebrecht
How many users are using this procedure at the same time?
[9 Nov 2010 7:16]
Satyapal Garhwal
some time more then 1 ................. but mostly 1 user at a time
[17 Nov 2010 9:05]
Susanne Ebrecht
Do you still have this error?
[17 Nov 2010 9:22]
Satyapal Garhwal
yes still we are facing problem
[24 Nov 2010 12:32]
Susanne Ebrecht
Please try to use FLUSH LOGS between dropping temp table and recreating it.
[24 Nov 2010 13:19]
Satyapal Garhwal
but flush log what will do with temporary table... it will flush only log file
[27 Jul 2011 6:38]
Satyapal Garhwal
closing the bug .... since not using 5.1 version upgraded to 5.5