FreeBSD
This is mostly a note for myself, but sharing is caring.
To clear the content of a file:
$ echo "" > filename
To fill a file with junk:
$ cat /dev/urandom > filename
Wow, I really don't know what hit me (yet) but I was fiddling with my server today and suddenly realized that it was under enormous pressure.
By the time I managed to get a screen shot it was all over, and things has returned to normal. Only left my swap partition almost full.

You can see that the load average the last five minutes is above 7, and that's seriously high.
While we are talking about load average check out this article about the mysterious load average.
What is mod_dosevasive?
mod_dosevasive is an evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack. It is also designed to be a detection and network management tool, and can be easily configured to talk to ipchains, firewalls, routers, and etcetera. mod_dosevasive presently reports abuses via email and syslog facilities.
fetch http://www.nuclearelephant.com/projects/dosevasive/mod_dosevasive_1.10.t...
The last weeks I have used many hours working on my good old server Ingelin, my HTTP (this page among others), POP3, SMTP, FTP, CVS server.
Some years ago, when I first installed it I wrote a simple PHP script that executed a series of commands to burn a CD-RW with critical data. Some days ago i figured I had to rewrite it, in order for it to suit my needs:
< ?php
// let's get on with this.. :o
$DIR['tmp']="/usr/backup_tmp";
$DIR['backup']="/usr/backup";
$targets=array(
'apache_config' => "/usr/local/etc/apache",
);
/**
* Make nice archives
*/