Siege Load Testing

prepare
# install
yum install siege -y

# create links file
wget --spider --force-html -r -l2 your.domain.local 2>&1 | grep '^--' | awk '{ print $3 }' > ./links
run test
# -f - file with links
# -i - random url from file
# -c - concurrent users
# -d - delay
# -t - time to run (-t10M = 10 minutes)


# rize up limits
ulimit -n 300000
sysctl -w fs.file-max=300000

# start test
siege -if links -c500 -d3 -t5M