Measure WordPress performance on different hosts

IMHO Your attempt is pointless. On shared hosting you are not going to get consistent results as the results will depend on load generated by other sites on the server, or other sites using the DB server. even worse, the results might change after you have done the testing if new sites were added to … Read more

How can a single disk in a hardware SATA RAID-10 array bring the entire array to a screeching halt?

I hate to say “don’t use SATA” in critical production environments, but I’ve seen this situation quite often. SATA drives are not generally meant for the duty cycle you describe, although you did spec drives specifically rated for 24×7 operation in your setup. My experience has been that SATA drives can fail in unpredictable ways, … Read more

How to run hooks one by one manually?

When there’s an issue such as yours, there is probably 1 function stuck somewhere that delays the loading. You can retrieve a list of all functions attached to a hook this way: global $wp_filter; $actions = $wp_filter[‘init’] ; Now you can remove the functions from the hook one by one, by using remove_action() and see … Read more

FreeBSD performance tuning: Sysctl parameter, loader.conf, kernel

I’d recommend against options IPFIREWALL_DEFAULT_TO_ACCEPT. The default is to Default to Deny. The firewall comes up with just one rule deny ip from any to any and stays that way until a script configures exactly what traffic should get through. Follow-Up Note: RSA (one of the world’s leading security technology companies) was hacked recently when … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)