ผู้เขียน หัวข้อ: mysql error restart เอง หลังจากเิปิดใช้งาน 6เดือน  (อ่าน 4306 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ thecoy

  • Hero Member
  • *****
  • กระทู้: 1,159
  • นักวิชาการคอมพิวเตอร์
  • Respect: 0
    • ดูรายละเอียด
mysql error restart เอง หลังจากเิปิดใช้งาน 6เดือน
« เมื่อ: พฤษภาคม 18, 2011, 21:15:32 PM »
0
110511  8:46:49 [Warning] 'user' entry 'root@hosxp.rsdhosp.com' ignored in --skip-name-resolve mode.
110511  8:46:49 [Warning] 'user' entry '@hosxp.rsdhosp.com' ignored in --skip-name-resolve mode.
/usr/sbin/mysqld(my_print_stacktrace+0x3a)[0x7eb77a]
/usr/sbin/mysqld(handle_segfault+0x1f8)[0x58a0d8]
/lib64/libpthread.so.0[0x3b72e0eb10]
/lib64/libc.so.6(strlen+0x30)[0x3b722797e0]
/usr/sbin/mysqld(_ZN6String6appendEPKc+0x1c)[0x58703c]
/usr/sbin/mysqld(thd_security_context+0x142)[0x578c32]
/usr/sbin/mysqld(innobase_mysql_print_thd+0x24)[0x6db264]
/usr/sbin/mysqld(trx_print+0x25d)[0x77f09d]
/usr/sbin/mysqld(lock_print_info_all_transactions+0x43d)[0x72a31d]
/usr/sbin/mysqld(srv_printf_innodb_monitor+0x1ab)[0x76aaeb]
/usr/sbin/mysqld[0x6e164d]
/usr/sbin/mysqld[0x6e1905]
/usr/sbin/mysqld(_Z14ha_show_statusP3THDP10handlerton12ha_stat_type+0x35e)[0x65212e]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0xe16)[0x595446]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x171)[0x59a241]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x3f1)[0x5931f1]
/usr/sbin/mysqld(_Z10do_commandP3THD+0xd0)[0x592cb0]
/usr/sbin/mysqld(handle_one_connection+0x10f)[0x591b1f]
/lib64/libpthread.so.0[0x3b72e0673d]
/lib64/libc.so.6(clone+0x6d)[0x3b722d3d1d]
110512 11:12:27 - 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=419430400
read_buffer_size=1048576
max_used_connections=76
max_threads=150
threads_connected=36
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 718324 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd: 0x2aab68b177f0
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...
stack_bottom = 0x46e2c118 thread_stack 0x40000
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x2aab786e1470 is an invalid pointer
thd->thread_id=104331
thd->killed=NOT_KILLED
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
110512 11:12:28 mysqld_safe Number of processes running now: 0
110512 11:12:28 mysqld_safe mysqld restarted
InnoDB: Log scan progressed past the checkpoint lsn 12 4292893654
110512 11:12:29  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...
InnoDB: Doing recovery: scanned up to log sequence number 12 4292913935
110512 11:12:42  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41$
InnoDB: Apply batch completed
110512 11:12:44  InnoDB: Started; log sequence number 12 4292913935
110512 11:12:44 [Warning] 'user' entry 'root@hosxp.rsdhosp.com' ignored in --skip-name-resolve mode.
110512 11:12:44 [Warning] 'user' entry '@hosxp.rsdhosp.com' ignored in --skip-name-resolve mode.
110512 11:12:45 [Note] Event Scheduler: Loaded 0 events
110512 11:12:45 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.30'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)


จาก   hostname.err  ครับไม่แน่ใจว่าเกิดจากการประมวลผล ของ mysql เกินหรือเปล่า หรือว่า harddisk  มี  bad
โรงพยาบาลรัษฎา  ตรัง
CentOS 5.5  Ram  4  GB
HOSxP V.3.54.11.2 MySQL 5.1.30

ออฟไลน์ มนตรี บอยรักยุ้ยคนเดียว

  • Hero Member
  • *****
  • กระทู้: 5,369
  • Respect: +12
    • ดูรายละเอียด
    • โรงพยาบาลชุมชน ด่านมะขามเตี้ย
Re: mysql error restart เอง หลังจากเิปิดใช้งาน 6เดือน
« ตอบกลับ #1 เมื่อ: พฤษภาคม 18, 2011, 23:12:17 PM »
0
มีปัญหาที่ my.cnf



110512 11:12:44 [Warning] 'user' entry 'root@hosxp.rsdhosp.com' ignored in --skip-name-resolve mode.
110512 11:12:44 [Warning] 'user' entry '@hosxp.rsdhosp.com' ignored in --skip-name-resolve mode.

ลอง
#skip-name-resolve
เริ่ม11พย.2548OPD-Paperlessพร้อมHOSxPลดโลกร้อน
FF-Paperless(รพ.สค.)เริ่ม1ตค2555=100%
IPD-Lesspaper1ตค2560ระบบDmsByNeoNetwork
IPD-Paperless1พ.ค2562ระบบHOSxPXE4
ServerMTOL8.5+MDB-10.4.20,SlaveOL8.5+MDB-10.7.3
LOG=PostgreSQL11,INV=PostgreSQL11