You are here: Re: Stress Testing a PHP server: A wee bit OT « PHP Programming Language « IT news, forums, messages
Re: Stress Testing a PHP server: A wee bit OT

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация