" />
Rafe Hart

Thoughts on security, privacy, and building software.

Stress Testing with Siege, on Cygwin

04 December 2014

Siege is one of many website stress testers. It spawns multiple processes and begins requesting the pages from the target website as rapidly as it can. There is no attempt at obfuscation; it’s very obvious, traceable and blockable, but it is good for seeing how your server will handle under load. You can get the source code from

# Get the source, or download it via your browser

# Untar and gunzip the file
tar xvf siege-3.0.7.tar.gz

# This produces the siege-3.0.7 directory which you must enter
cd siege-3.0.7

# Configure (requires devel/gcc-g++ installed)
./configure --prefix=/usr/ssl

# Make

# Install
make install

# Siege stores it's logfiles under /usr/local/var/, which we will need to create.
mkdir /usr/local/var

# Siege is controlled by .siegerc. Run the following to create one in your home directory

Once installed, you can invoke it with siege For more information, look at man siege. As mentioned above, the program is configured with a .siegerc file - you can see what your current active settings are by running:

siege -C