Meestal helpt het tunen van MySQL hier goed tegen, maar in dit geval blijft het CPU gebruik m.i. erg hoog.
my.cnf
[mysqld]
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
query_cache_size=32M
query_cache_type=1
query_cache_limit=2M
tmp_table_size=32M
max_heap_table_size=32M
table_open_cache=4000
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Apache 2.4.4 / PHP 5.4.16 / APC 3.1.13 / MySQL 5.6.12 / WordPress 3.5.1
Onderstaande heb ik al gecontroleerd / geconstateerd
1. via strace -p <MySQL pid> zie ik behoorlijk vaak EOPNOTSUPP (Operation not supported) -> This is all normal connection accepting behavior. Nothing indicates a problem. If you look closely, you'll see the server calls select to find out what to do, discovers a connection it can accept and does so.
2. via stace -p <Apache pid> zie ik af en toe EAGAIN (Resource temporarily unavailable)
3. via lsof zie ik dat er behoorlijk wat tabellen openstaan
Inmiddels heb ik de slow_query_log aangezet om te kijken wat daar uitkomt, iemand ondertussen nog tips?

Likes:


Quote
