|
Posted by Justin Koivisto on 09/27/35 11:37
Darkstar 3D wrote:
> If you want to stress test your Apache/PHP server just have a small
> little typo like this:
>
> $errCodes=range(910000,9100005);
>
> in your code instead of
>
> $errCodes=range(910000,910005);
>
> Some serious crunching will go on! Off course don't do this on a
> production server!
That's not really stress testing a web server... that's just CPU stress,
for any machine. The script will just crunch until the time limit is
reached and die, no biggie (assuming that on your devel machine you keep
a low time limit (like 10 seconds).
If you want to test how well your web server can handle requests loads,
you'd want something like:
http://httpd.apache.org/docs/2.0/misc/perf-tuning.html
Of course, you could also try to get a link posted in a slashdot or digg
story saying something like "help me stress test..." ;)
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
Navigation:
[Reply to this message]
|