hi guys,
im curious as to whether you guys know of any limits on iis that keeps it from allowing more than a certain number of connections at one time.... honestly i dont even know if im asking the right question...

but here is my problem...

im just about done with a php site ... and have been testing it on iis5...

i made a dummy application that does nothing but query my mysql db over and over again in a loop with different queries...

heres what i found...

the db seems to average around 150 queries per second (retrieval queries and a couple of update queries per loop... maxing at about 600 queries persecond...but avg is 150 or so.... i dunno if this is a good number or not... i know for a fact that my site will require more than that.... i figure if the db cant handle so much load... it just slows down... no biggie for now...

but what i found to be really disappointing is that when i start multiple instances of internetexplorer, lets say 20 of them doing the same thing... only about ten will not result in a page not found error (keep in mind that im running ie on the same machine as the server)...

this led me to conclude tht its iis that is sucking hard...and not my code or not my database....

what id like to know now is.... what would be a good solution...

i would like my site server to be able to handle a thousand users or more hitting the same page within minutes of each other...

now im a newbie... i dont know if this is realistic from an 'i cant afford a very expensive server' standpoint... but if it is... if you guys can suggest a solution...or a place where i should start looking into.... i would very much appreciate it... thanks a bunch...

ron

    Yup; IIS in its "comes with Windows" incarnation is limited to 10 simultaneous connections.

    Possible Solutions include: Buying a professional build of IIS from Microsoft, or downloading and installing Apache (which I mention specifically because it is far and away the most widely-used web server).

      ronjon This problem is not with IIS or if you wanted to install it Apache. It is with Windows. I am guessing that you are running Windows 2000 not Windows 2000 Server. This is a limitation that M$ builds into the desktop version of their OS to prevent competition with their server products.

      Considering that you are using Windows, IIS, PHP, and MySQL which is considered a WIMP development platform. Which personally I use as desktop to build my sites. You could change this to another server based OS such as Linux or FreeBSD, install apache, PHP, and MySQL and develop on a LAMP based system.

        rritchey wrote:

        You could change this to another server based OS such as Linux or FreeBSD, install apache, PHP, and MySQL and develop on a LAMP based system.

        you could also just uninstall iis and install apache instead. though for testing / developing i cant really see that a limit of 10 connections should matter too much.

          thorpe - ronjon said that he wanted his website to be able to handle close to 1000 simultaneous users. He will not be able to do that with the operating system that he is using. This is not a problem with the web server.

          I did suggest that it would be ok as a development platform and that he could use at such. I should have also informed him that wouldn't accomplish his goals of 1000 users being attached to that system.

          Sorry for any confusion

            thanks for the responses guys.... i have sucessfully configured apache2 and works like a dream...... i loaded 45 browsers simultaneously and it served every page perfercly... i love it.... now.... will it handle 1000+ users....i dunno... if the server slows down...i can live with it... i just dont want it to be like iis to where if theres more load than handleable...that it just servers the 'page not found'... i cant live with that.... i think ill be o for now...thanks again guys.... peas

              Write a Reply...