database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 23816 게시물 읽기
No. 23816
MySQL의 이런에러 보신적 있으신가요?
작성자
이심현(frau20)
작성일
2005-05-26 03:28
조회수
7,634

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=134217728
read_buffer_size=2093056
max_used_connections=3
max_connections=100
threads_connected=3
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 540271 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.


Number of processes running now: 0
050526 03:20:48 mysqld restarted
050526 3:20:48 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050526 3:20:48 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43644.
InnoDB: Doing recovery: scanned up to log sequence number 0 43644
050526 3:20:48 InnoDB: Flushing modified pages from the buffer pool...
050526 3:20:48 InnoDB: Started; log sequence number 0 43644
/usr/local/mysql/bin/mysqld: ready for connections.
Version: '4.1.11-cluster' socket: '/tmp/mysql.sock' port: 3306 MySQL Cluster (Commercial)

위의 내용을 [노드이름].err에 뿌리면서 어플리케이션에서는 커넥션을 못하는데요..

로그상에서는 mysqld가 죽었다가 다시 살아나는 것 같습니다..

 

버전은 4.1.11에 엔진은 클러스터(ndb)를 사용하고있구요..

데이타 베이스에 테이블의 갯수가 80개 좀 안되구요.. 각 테이블마다 TINYBLOB필드가 2개씩 있습니다.

테이블에 TINYBLOB필드가 없을때는 괜찮았는데, 2필드를 추가하면서 이런 현상이 벌어졌는데요..

 

 

이 글에 대한 댓글이 총 2건 있습니다.

memory hanging 으로 뻗어버린것 같군요...

다운시 실행하던 쿼리가 뭔지 점검하시고 튜닝하셔야겠네요..

이경환(babocom)님이 2005-05-26 09:40에 작성한 댓글입니다.

Insert시에 동일 키값이 있을 경우 충돌을 피하기 위해 replace문 사용했더니, 위와 같은 문제가 생긴거더군요..ㅠ.ㅠ;;

BLOB필드가 있는 상태에서 데이타가 없는 상태에서 replace문으로 데이타를 넣으면 mysqld가 죽더군요..

아마도 MySQL의 버그인거 같습니다..

아래와 같이 테스트해보면 항상 같은 에러를 내면서 mysqld가 죽었다 다시 살아납니다...

혹시 아시는바 있으시면 답변 부탁드립니다..

 

실행환경은  linux-Kernel 2.6.5-7.97-smp

MySQL  4.1.11-cluster 이구요..

 

mysql> CREATE TABLE `TMS_TEST` (
    ->   `tmsid` int(4) NOT NULL default '0',
    ->   `data` tinyblob NOT NULL ,
    ->   PRIMARY KEY  (`tmsid`)
    -> ) ENGINE=ndbcluster;

Query OK, 0 rows affected (0.68 sec)

 

mysql> replace into TMS_TEST values(2, 0x00);
ERROR 2013 (HY000): Lost connection to MySQL server during query <-- 이시점에 mysqld가 죽어서 커넥션이 끊깁니다.

 

//아래처럼 insert로 하면 성공합니다..

mysql> insert into TMS_TEST values(2, 0x00);
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    1
Current database: TMSDB

Query OK, 1 row affected (3.17 sec)

// 일단 데이타가 있으면 성공합니다..

mysql> replace into TMS_TEST values(2, 0x11);
Query OK, 1 row affected (0.00 sec)

 

// 한번더 데스트.

mysql> insert into TMS_TEST values (4, 0x2345);
Query OK, 1 row affected (0.01 sec)

mysql> replace into TMS_TEST values (4, 0x345);
Query OK, 1 row affected (0.00 sec)

// 역시나 죽음.

mysql> replace into TMS_TEST values (3, 0x00);
ERROR 2013 (HY000): Lost connection to MySQL server during query

 

 

이심현(frau20)님이 2005-05-27 20:54에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
23819왜 이럴까요......서버 start 시키기가 힘드네요 [3]
김정민
2005-05-26
2526
23818index에 대한 질문입니다..답변 부탁드릴께요... [2]
최인범
2005-05-26
1823
23817현재 접속되어 있는 커넥션의 개수를 알아내는 방법은? [1]
권남
2005-05-26
2558
23816MySQL의 이런에러 보신적 있으신가요? [2]
이심현
2005-05-26
7634
238154.1.10버젼에서 Charter_set을 latin1-> euckr로 변경하는 방법 좀... [1]
김은주
2005-05-26
3485
23814쿼리 또는 서버 튜닝 질문입니다!
이기명
2005-05-25
2229
23812mysqldump로 백업받으니까 latin1로 백업받아져요... [4]
서진수
2005-05-25
7176
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다