Installing Siege Stress Tester on CentOS 6.3

Siege, similar to Apache Benchmark, is an amazing stress testing tool for your web-server. You can spin up a number of connections to simulate concurrency of transactions and gain invaluable insight into how your app or website might perform while under, well, stress!

How to Install Siege on CentOS 6.3

To get started, simply download Siege from the official website and unpack it using Tar:

cd /opt
tar -zxvf siege-2.72.tar.gz

Next, navigate to the Siege folder and compile it:

cd /opt/siege-2.72
make && make install

You’re done, let’s confirm that Siege is working by checking its version:

siege -v

Siege Examples

Try running a few of the Siege Examples below (at your own discretion) to verify that your setup is working:

siege -c25 -t1M
siege -c25 -t50s

Common Errors

[alert] unsupported protocol

If you receive this error message, it means that you’re trying to Siege a website using https (SSL) without SSL installed – or – Siege cannot determine the location of your OpenSSL installation.

To fix this error, simply compile OpenSSL statically with Siege to get SSL support:

cd /opt
tar -zxvf openssl-1.0.1e.tar.gz
cd siege-2.72.tar.gz
./configure -with-ssl=/opt/openssl-233

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s