Archive : System Tuning

RSS feed
Bash shell fork() bomb

Bash shell fork() bomb

I just tried the famous shell fork() bomb on my Laptop, which is running Debian lenny. (I dare to do this because I’m going to shut down my laptop.) Please note that do NOT run it on your production server! (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) [...]
Apache SetEnvIf user’s guide

Apache SetEnvIf user’s guide

The mod_setenvif module allows you to set environment variables according to whether different aspects of the request match regular expressions you specify. These environment variables can be used by other parts of the server to make decisions about actions to be taken. The SetEnvIf directive defines [...]
How to use Perl to check mount point?

How to use Perl to check mount point?

This is a Perl module that was posted in a comment by our friend Justy (a.k.a. the iSheep), it solves a problem that I’ve faced a lot, especially with Perl scripts that run as daemons, where you need to copy files to a mount point. but if the mount point has failed then you’re just copying the files [...]
Detect read-only partition in Linux

Detect read-only partition in Linux

In some sort of problems, ext3 goes read-only to protect the filesystem against further damages. What could cause such a readonly problem? It’s difficult to get an exact answer, but I’m inclined to take it as a file-system issue, though some hardware problems will trigger this error as well. (function(d, [...]
© 2006-2007 Admon Home. All rights reserved.