I have a customer who is having problems when their Windows
2000/IIS/PHP-based system begins to experience a level of loading that
isn't, in my view, unreasonably high. I'm wondering what others
think, specifically:
- are these volumes, for this kind of configuration, at or beyond the
levels at which PHP should be able to cope? I hope not !
- what might be done to alleviate these problems? One of our
suspicions is that Windows 2000/IIS/PHP is unable to cope at these
volumes (for whatever reasons) but a Linux/Apache/PHP configuration
would be more stable and cope with the required volume levels.
- Is the Windows/IIS/PHP configuration inherently flawed?
- What kind of volumes should we be able to expect with
Linux/Apache/PHP?
- How many web servers would be the norm for these volumes?
Here's the current config:
F5 load balancer fronting 4 web servers.
The web servers are each dual-processor Intel machines running IIS5
under Windows 2000. Over 500Mb memory is still available when IIS
gives up, so they aren't memory-constrained.
PHP 4.3.6 in CGI mode, with the Zend Accelerator included
Required volumes:
30,000 to 100,000 page views per hour
The customer sees problems with PHP at less than 3,000-4,000 page
views per hour. The webservers were only doing 20% until they spiked
to 100% and then went back to zero - it seems that at a particular
level of loading, IIS closes down and restarts itself, then runs till
the loading hits a threshold again and the cycle repeats.
---
Rob Tweed
M/Gateway Developments Ltd
Global DOMination with eXtc : http://www.mgateway.tzo.com
---