Load testing a server
(this is more of a software recommendation than anything else)I'm putting together a new server for colo. I've got it pretty much finished, so I wanted to put a load on it and see how it holds up.
I downloaded OpenSTA from www.opensta.org, wrote a test script and configured it to load my server with 400-600 concurrent users.
Here the result of a top command during the test:
Code:
# top last pid: 3007; load averages: 36.47, 22.99, 10.99 up 0+20:41:38 16:12:58 413 processes: 10 running, 403 sleeping CPU states: 22.2% user, 0.0% nice, 26.8% system, 4.2% interrupt, 46.7% idle Mem: 126M Active, 105M Inact, 94M Wired, 28K Cache, 86M Buf, 425M Free Swap: 500M Total, 500M Free
That's FreeBSD 4.5, Apache 1.3.22, php 4.1.1 PentiumIII, 800MHz, 768MB. At one point I had a bit over 500 processes running, pushing out over 6GB of data an hour.
OpenSTA was simple to set up and run. Highly recommended for server testing.