Re: MySQL 5.5 hangs frequently in production environment
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.
Subject
Views
Written By
Posted
2433
June 21, 2014 04:10AM
1453
June 26, 2014 08:12PM
1223
June 30, 2014 05:22AM
1056
July 02, 2014 07:38PM
1351
July 03, 2014 06:03AM
1360
July 05, 2014 12:00PM
1123
July 14, 2014 11:00PM
Re: MySQL 5.5 hangs frequently in production environment
1230
August 25, 2014 04:17AM
1014
August 26, 2014 06:16PM
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.