Hot answers tagged ubuntu-12.04
Update: As of March 2015 truncate is no longer available in Homebrew as a standalone formula. As truncate is part of GNU Coreutils you should install it on OS X with the following command: > brew install coreutils After installation truncate will be available under the name gtruncate. Note that all programs from Coreutils will be available with the ...
Tune your mysql service for avoid touching to disk and watch out in your postfix queue, you may have a lot of emails into an I/O sensitive queue (i.e. deferred, small itens with random read behavior). Your email system have been used as relay for spammers. Take a look at postfix documentation and restrict relay access to your MTA.
A little late, but I had the same problem on a similar machine and found out that the problem was a bunch of corrupted MySQL tables. As some of these tables had a lot of data, it produced a lot of I/O waiting time. Look at /var/log/mysql/error.log or use mysqlcheckto find and repair corrupted data.
Because HTTP is TCP and TCP requires bi-directional communication, the source addresses of the attacks are actually the attack sources. Since the sources are known and not spoofed, you can rate-limit in iptables to greatly reduce the request volume per source. If there are too many sources to get the load manageable that way, you will need to find ...
"8) reboot server and try to connect, FAILURE" This suggests that your updates are not persistent. You can solve this by using iptables-restore. 1) sudo vi /etc/iptables.firewall.rules 2) Insert the mySql rule: # Allow MySQL connections from anywhere. -A INPUT -p tcp --dport 3306 -j ACCEPT 3) Save the file and reload the rules: sudo iptables-restore ...
So this is a little old, but I just solved a similar problem, myself (Using /mnt/tmp as the system temp dir) and had to figure out why MySQL wouldn't start up. You're probably running up against the AppArmor settings that prevent MySQL from using directories on the /mnt drive. You'll need to add your new tmp path to the MySQL app armor list of allowed ...
Only top voted, non community-wiki answers of a minimum length are eligible