Friday, March 22, 2013

stress Test in server.


Before conducting stress test, you need check whether stress is installed in the server. If it was installed, please follow the instruction to install stress in the server.

INSTALL
=======

See the INSTALL file for generic installation instructions. The quick
version is:

Download the source from the below URL::

wget http://weather.ou.edu/~apw/projects/stress/stress-1.0.4.tar.gz

then ,

./configure && make && sudo make install

Once this is installed, you need to add the following crons in different time intervals. With in the time period of one and half hours.

**************
* * * * * stress --cpu 2 --timeout 10800s
* * * * * stress --vm 1 --vm-bytes 16000M --timeout 10800s
* * * * * stress --io 150 --timeout 10800s
* * * * * stress --hdd 20 --timeout 10800s
* * * * * stress --cpu 2 --io 40 --vm 2 --vm-bytes 8000 --hdd 20 --timeout 10800s
**************

Here the above values will change depends up on the server memory, cpu etc...

No comments:

Post a Comment