473,473 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

System apparently unable to cope with loading

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
---
Jul 17 '05 #1
2 2034
Rob Tweed wrote:
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
---

30K-100K hits/hr... Hmmmm.

First, you have to remember that with each "hit" the PHP page must be
"interpreted" (compiled+executed) and the time it takes to do that will
vary from page to page, depending in the page complexity.

Let's see... that breaks down to 8.3/sec to 27.7/second. I have seen
numbers that would suggest "a well tuned IIS server should be able to
handle 50 Get requests per second", but does not say what the payload
size should be to achieve those numbers either. Also, due major changes
in the IIS6 server, you should probably upgrade... But as always, YMMV.

Exactly what does the payload look like? Is it Dynamically generated
pages (I assume yes since you are using PHP)? When you load "a page"
how much data is it transferring? (HTML+CSS+JPG+GIF...) If you are
running at 100Mbits/sec=(128KBytes/second)... so, if the pages being
loaded are larger that 128KB Each, well... you do the math...

IMPO (in my professional opinion), anyone using Wxx/IIS as a front-line
web server needs to have his head examined. Until M$ can fix the
Swiss-cheese Security, your data (and if I visit your site, my data) is
at risk of compromise. Not to mention the amount of downtime your
client will endure when the "latest" vulnerability is discovered and
exploited - and you nor the AV software company can guarantee they will
have a fix and get your system updated before it does hit.

Linux is less vulnerable and will run faster on the same equipment.
Unless you are bound to M$ applications...

Michael Austin.
Jul 17 '05 #2
In article <jG*****************@newssvr22.news.prodigy.com> ,
ma*****@firstdbasource.com says...
IMPO (in my professional opinion), anyone using Wxx/IIS as a front-line
web server needs to have his head examined. Until M$ can fix the
Swiss-cheese Security, your data (and if I visit your site, my data) is
at risk of compromise. Not to mention the amount of downtime your
client will endure when the "latest" vulnerability is discovered and
exploited - and you nor the AV software company can guarantee they will
have a fix and get your system updated before it does hit.


IMPO, I've not seen any downtime on properly configured MS servers
running anywhere in the world. Sure, ones setup improperly or ones that
were not behind a proper firewall.

We manage servers running 2000 and 2003 all over the country and have
found that not one of them, in the last 5 years, has been compromised.
Most of these servers run the corporate presence for fortune 1000
companies and for private companies. Now, this doesn't mean that IIS
servers are safe, it just means that you need to properly configure them
and know how to protect them behind a firewall - just as with any web
server.
--
--
sp*********@rrohio.com
(Remove 999 to reply to me)
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php...
1
by: Erik Johnson | last post by:
Hi, I am trying to spawn a daemon type program to go off on its own and do some work (asynchoronously) from within an HTTPServer, but I am running into a problem where the web browser (actually...
1
by: Sipayi | last post by:
'lo! Trying to use JAXB for my project. I did the following steps: a. Created xml/xsd/xjb, placed it under "com.foo.blah" b. xjc'd the xmls into "com.foo.blah.jaxb" c. Tried to unmarshal: --...
7
by: Microsoft News | last post by:
Hi all. Does id() xpath function work in System.XML? I have built dtd, schema, xdr for a simple xml which includes attributes definded as ID and IDREFS. Validation is occurring properly for all...
0
by: LBT | last post by:
Good day experts and seniors, I have a window service written to process raw data file and save the file content into database. At the last stage of the processing, the file will be moved to...
1
by: mminto | last post by:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Manage.Statistics.IManageStats'. This operation failed because the QueryInterface call on the COM component for the...
0
by: Frank Uray | last post by:
Hi all I have a problem with loading a assembly ... I am trying to do the following: - I have a directory with a dll (assembly) in it (not the currect dir.) - I am trying to load this assembly,...
6
by: onnodb | last post by:
Hi all, While working on an Access UI to a MySQL database (which should be a reasonable, low-cost, flexible interface to the DB, better than web-based, much less costly than a full-fledged .NET...
1
by: Marcin Balcerzak | last post by:
Hello, I'm lame when it comes to .Net and Office and unfortunatelly need to run a VS project. When run it should start Excel and open some sheet. What I now get is "System policy prevents loading...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.