Bug #29266 | Mysqld restart repeatly | ||
---|---|---|---|
Submitted: | 21 Jun 2007 12:15 | Modified: | 18 Aug 2007 22:55 |
Reporter: | Ducheol Kim | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 5.0.27 | OS: | Linux (CentOS release 3.5) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | how can I make stack trace file? |
[21 Jun 2007 12:15]
Ducheol Kim
[21 Jun 2007 13:22]
Heikki Tuuri
Please run CHECK TABLE on campaign and campaign_insertionOrder. One of tables may be corrupt. Please resolve the stack trace.
[21 Jun 2007 13:23]
Heikki Tuuri
Please post the ENTIRE .err log. The first abnormal prints in the .err log often give a clue.
[21 Jun 2007 22:18]
Ducheol Kim
This is error file on our server.(We split error file to three files, because of allowed size )
Attachment: adflow.247realmedia.co.kr.err1 (text/plain), 498.18 KiB.
[21 Jun 2007 22:20]
Ducheol Kim
This is error file on our server.(We split error file to three files, because of allowed: 2nd file)
Attachment: adflow.247realmedia.co.kr.err2 (text/plain), 361.89 KiB.
[21 Jun 2007 22:25]
Ducheol Kim
This is error file on our server.(We split error file to three files, because of allowed:3nd file)
Attachment: adflow.247realmedia.co.kr.err3 (text/plain), 410.12 KiB.
[21 Jun 2007 22:28]
Ducheol Kim
Thanks Heikki. I upload entier error log. And I executed CHECK TABLE, but there is no error message. Below is message of CHECK TABLE. mysql> CHECK TABLE campaign; +--------------------+-------+----------+----------+ | Table | Op | Msg_type | Msg_text | +--------------------+-------+----------+----------+ | adflow_v2.campaign | check | status | OK | +--------------------+-------+----------+----------+ 1 row in set (0.46 sec) mysql> CHECK TABLE campaign_insertionOrder; +-----------------------------------+-------+----------+----------+ | Table | Op | Msg_type | Msg_text | +-----------------------------------+-------+----------+----------+ | adflow_v2.campaign_insertionOrder | check | status | OK | +-----------------------------------+-------+----------+----------+
[26 Jun 2007 16:14]
Heikki Tuuri
Kim, please resolve the stack trace in the crash. --Heikki
[26 Jun 2007 16:15]
Heikki Tuuri
May be a duplicate of http://bugs.mysql.com/bug.php?id=27803
[26 Jun 2007 16:29]
Heikki Tuuri
Kim, have you had problems with hard disks like in http://bugs.mysql.com/bug.php?id=27803 ?
[26 Jun 2007 16:30]
Heikki Tuuri
Assign to Inaam.
[26 Jun 2007 16:34]
Inaam Rana
Ducheol, Can you please post the resolved stack trace. Instructions on how to do this can be found here: http://dev.mysql.com/doc/refman/5.0/en/resolve-stack-dump.html Also, did you experience any disk issues or any other hardware problems?
[28 Jun 2007 0:28]
Ducheol Kim
Thanks Inaam. I tried to make stack dump file. But I couldn't. When i strike below command. receive "nm: 'mysqld': No such file". So how can I make stack trace file? shell>>nm --numeric-sort mysqld nm: 'mysqld': No such file Regards Doochul
[28 Jun 2007 0:53]
Inaam Rana
Kim, You have to give full path to mysqld. Assuming mysqld is in your $PATH you can do: nm --numeric-sort `which mysqld`
[28 Jun 2007 1:09]
Ducheol Kim
Inaam I tried to "nm --numeric-sort `which mysqld`", and system generate 17480 line messsage. After that I tried to "nm --numeric-sort `which mysqld` | grep mysql", after that system generated message like below. [root@adflow root]# nm --numeric-sort `which mysqld` | grep mysqld 0817cb84 t _Z20my_str_malloc_mysqldj 0817cb98 t _Z18my_str_free_mysqldPv 081e0d30 T _Z20mysqld_show_warningsP3THDm 0823ab20 T _Z27mysqld_show_storage_enginesP3THD 0823ae38 T _Z22mysqld_show_privilegesP3THD 0823b0f8 T _Z24mysqld_show_column_typesP3THD 0823bb28 T _Z18mysqld_show_createP3THDP13st_table_list 0823c11c T _Z21mysqld_show_create_dbP3THDPcP24st_ha_create_information 0823c684 T _Z16mysqld_show_logsP3THD 0823c8d8 T _Z18mysqld_list_fieldsP3THDP13st_table_listPKc 0823ca70 T _Z23mysqld_dump_create_infoP3THDP13st_table_listi 0823cf48 T _Z21mysqld_list_processesP3THDPKcb 0826b15c T _Z11mysqld_helpP3THDPKc 084b08b8 D mysqld_embedded 085bcc38 B mysqld_port 085bcc4c B mysqld_port_timeout 085bdcfc B mysqld_unix_port 085be838 b mysqld_user 085be83c b mysqld_chroot What number in message could I used? And What is "symbols_file" in 'resolve_stack_dump' command
[28 Jun 2007 1:31]
Inaam Rana
Kim, cd into the directory where your .err file is located. Assuming your .err file name (which contains entries of stack) is mysql.err, do the following: inaam@inaam-laptop:~/bugs/27803$ grep ^0x mysql.err > numeric.dmp inaam@inaam-laptop:~/bugs/27803$ nm --numeric-sort `which mysqld` > symbols.dmp inaam@inaam-laptop:~/bugs/27803$ resolve_stack_dump -s symbols.dmp -n numeric.dmp > stack.trc Then upload the stack.trc file. Thanks, inaam
[18 Aug 2007 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".