I'm new into web programming, I see sometime Cpanel send me email saying Mysql restart. So I look into the mysql log. And fine the following, but I am not technical enough to understand the log. Anyone please bring me the way on how to solve this issue. Thanks!




Number of processes running now: 0
091220 02:46:20 mysqld restarted
091220 2:46:20 InnoDB: Started; log sequence number 0 7889539
/usr/sbin/mysqld: ready for connections.
Version: '4.1.22-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
091220 2:46:34 [ERROR] mysqld: Got error 12 from select
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=16777216
read_buffer_size=258048
max_used_connections=4
max_connections=250
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 207382 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x8a64f98
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...
Cannot determine thread, fp=0xbe5fd888, backtrace may not be correct.
#[7m--More--(99%)#[27m
0x812c0d0
0x4003b619
0x400398c5
0x400361a7
0x8336eb5
0x8336d16
0x8336529
0x8335f40
0x81a8b4c
0x81a8ccc
0x81a75f6
0x8172882
0x8164d27
0x816561c
0x8161e33
0x813fa7d
0x8144e7d
0x813e53b
0x813e1d6
0x813d9af
0x4003583e
0x401b1aea
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read xxx and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x8a6c340 = select p.products_id, p.products_image, p.products_tax_class_id, p.products_price from products p, products_to_categories ptc, categories c where p.products_id = ptc.products_id AND
ptc.categories_id = c.categories_id AND c.MC = '1' AND p.products_status = '1' AND p.products_id != '19507' AND p.products_id != '6519' order by p.products_date_added desc limit 18
thd->thread_id=35
The manual page at xxx contains
information that should help you find out what is causing the crash.
091220 11:30:46 mysqld started
091220 11:30:46 InnoDB: Started; log sequence number 0 7889539
/usr/sbin/mysqld: ready for connections.
Version: '4.1.22-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
091221 19:21:56 [ERROR] mysqld: Got error 12 from select