Analyze Slow Query log

There is a nice tool like Percona’s ‘pt-query-digest’ tool at http://www.percona.com/doc/percona-toolkit/2.2/pt-query-digest.html, which will automatically parse the slow_query_log and analyze it for the slowest queries. you run the command Wich should output a summary and a list of the longest-to-execute queries.

Add resolvers to ubuntu server

Once you have entered the values correctly, press Ctrl+Enter to save it with the current filename, then press Ctrl+X to exit the editor. Provided you entered your values correctly, verify the new settings by retyping the cat command: Apply setting to Interface After you have determined the values entered are correct, restart networking with the … Read more

kernel: Firewall: *SYNFLOOD Blocked*

CSF Firewall is blocking these attacks in /var/log/messages Check with You have set the following in your csf configuration but having such a setting, we definitely block SYN connections but legit connections as well. With the above settings, you will see a drop down in SYN connections but you won’t be able to browse your … Read more