MySQL Forums
Forum List  »  InnoDB

Re: MySQL 5.5 hangs frequently in production environment
Posted by: Murtaza Doctor
Date: August 25, 2014 04:17AM

Hi Rick,

Please note that the frequency of database hangs have decreased, but still we are encountering these incidents.
We had modified the following parameters as under according to your recommendations:
-----------------------------------------------------------
thread_cache_size=30 (old value: 0)
max_connections=1200 (old value: 4000)
innodb_log_buffer_size=32MB (old value: 16MB)
query_cache_type=OFF (old value: ON)
local_infile=OFF (old value: ON)
innodb_additional_mem_pool_size=10MB (old value: 100MB)
-----------------------------------------------------------

Also at times, the database restarts automatically with the following message in the error log:
-----------
140820 23:23:34 - 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=67108864
read_buffer_size=262144
max_used_connections=405
max_threads=1200
threads_connected=64
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 999426 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
----------

Please provide your suggestions to resolve this database hang/restart issues.

Thanks,
Murtaza.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.