Tag: Centos

Google mod_pagespeed v0.9.1.1-171 release

mod_pagespeed 0.9.0.0.128 has so big problem on Centos and other Linux dist. It release the 0.9.1.1.171 to fix following bugs. Issue 5 Incorrectly handling not-quoted font-family names with spaces Issue 7 insert_img_dimensions not detecting existing dimensions Issue 10 A whole lot of HTTPD processes Issue 11 After installing module server becomes unusable Issue 18 LogLevel

Slow queries log for MySQL

To enable slow query log, it is have to add one line into my.cnf. I have MySQL installation on a Centos server. It is MySQL 5.0.22 i686. Let’s go through the details of setting of it. Open my.cnf which is located at /etc/ add following under mysqld section. log-slow-queries = /var/log/mysql/mysql-slow.log long_query_time = 5 log-queries-not-using-indexes