473,652 Members | 2,965 Online
Bytes | Software Development & Data Engineering Community
+ 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 2050
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
"interprete d" (compiled+execu ted) 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+G IF...) 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.c om>,
ma*****@firstdb asource.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*********@rro hio.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
13277
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 module and works well. I copied php_msql.dll to my system32 directory. Who knows what's wrong? Thanks a lot?
1
2696
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 a Perl LWP program) still seems to be waiting for more input until the child that is forked in the server finishes (granchild, actually). I don't understand this. I need to be able to have the POST to the server complete and go on even though...
1
2197
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: -- 1. JAXBContext jc = JAXBContext.newInstance("com.foo.blah.jaxb"); 2. Unmarshaller um = jc.createUnmarshaller(); 3. Object xmlData = unmarshaller.unmarshal(com.foo.blah.SomeClass.class.getResourceAsStream("abc.xml"));
7
4238
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 the types of metadata, but the id() function applied to the IDREFS attribute allways returns nothing. I have tried it from xslt and using the XmlNode.selectnodes or XPathNavigator.Select nada zilch
0
4452
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 save folder. Error occurs when the file is trying to be moved to the save folder. This error is being logged by my window service - "System.IO.IOException: Insufficient system resources exist to complete the requested service. at...
1
31157
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 interface with IID '{4C2875B5-3265-306B-9C74-1BEC98986B1A}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). The client is calling a method shown below (exposed by a...
0
546
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, run a method in it, and than close it. The question would be: How is the right way to do it ????
6
6255
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 app or so.... is it?), I tried measuring the bandwith consumed by the Access/MyODBC/MySQL link, which came out to be, er, quite high. I fancied it would be interesting to look at the queries Access throws at MySQL through the ODBC link, so I...
1
2537
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 manifests. For more information, please contact your administrator." It used to be more 'sophisticated' error (something about assemblies, whatever that is), but I added a dll to some code group with 'FullTrust' and I guess that made a progress....
0
8283
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8704
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8470
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4147
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.