Reputation
1,056
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 13
Impact
~93k people reached

Feb
12
comment Why does host swap out VMs when there are 16GB of buffer cache and swappiness = 0?
Is it only ever swapping out (so) and never/rarely in (si)? If so, it's nothing to worry about. it's chunks of memory that are just not being used and thus the OS decided that the page cache is more important. That said, KSM might be also extremely useful for you. It should lower the memory pressure if each guest OS is similar.
Feb
12
comment List top 404 URLs in Apache access_log
Per Christian Davén, sort -nr should be fixed in the answer, I had all my urls with a count of 9 up top rather then the ones with 1000's
Feb
10
asked Tomcat url rewrite fails with 404, but browsing directly returns a 200
Feb
9
comment Raid 1 and Latency
Then it entirely depends on the settings of the controller and the amount of data. The worst case is still going to be the latency of the slowest drive.
Feb
9
comment What's a secure alternative to using a MySQL password on the command line?
Sure it does. man ps has -E Display the environment as well. From the url I linked to: This method of specifying your MySQL password must be considered extremely insecure and should not be used. Some versions of ps include an option to display the environment of running processes. On some systems, if you set MYSQL_PWD, your password is exposed to any other user who runs ps. Even on systems without such a version of ps, it is unwise to assume that there are no other methods by which users can examine process environments.
Feb
9
comment A system for distributing SSH public keys
Ansible is a very lightweight CM system that has a module to muck with authorized key files over ssh. See ansible.cc/docs/modules.html#authorized-key
Feb
9
comment /tmp was 1.8Gb; removing files older than 8 days has deleted only ~300mb.. what's using so much space?
He mentioned that after a reboot the space stays the same, so it's unlikely to be deleted files
Feb
8
comment Environment Varibales in MySQL configuration file?
This is what config management systems are for. Look into puppet/chef/etc
Feb
8
comment Raid 1 and Latency
As per I/O elevators, moving to a deadline io scheduler might be a great boost for you, see mysqlperformanceblog.com/2009/01/30/…
Feb
8
answered Raid 1 and Latency
Feb
8
comment Different Linux Distributions Producing Different Machine Generated Code
Why not attach gdb and start stepping though the critical functions comparing until you see which function calls start diverging?
Feb
7
comment How to I get rsync to exlcude a file pattern within an flock?
Shouldn't it be --exclude '*/tmp*' ?
Feb
7
answered What's a secure alternative to using a MySQL password on the command line?
Feb
4
answered mkfs.xfs on EBS volume as non-root user on AWS
Feb
4
comment MySQL Tables crashing randomly
Did you possibly run out of disk space (temporary files/tables won't show up after a reboot)?
Feb
4
answered Redirecting example.com/* to www.example.com/*
Feb
4
awarded  Revival
Feb
4
comment How do I check if a user exists in puppet?
That's actually a really good point jgoldschrafe! Thanks for that insight.
Feb
4
answered Procurve Primary VLAN
Feb
1
comment Is this a good starting point for iptables in Linux?
Seconded for shorewall. I've used it and loved it for years.