« Previous Next »

Thread: IIS 6 + PHP Performance Issues

Last post 06-11-2008 11:17 AM by brashquido. 18 replies.

Average Rating Rate It (5)

RSS

Page 2 of 2 (19 items) < Previous 1 2

Sort Posts:

  • 12-12-2007, 1:41 PM In reply to

    • cwalker3
    • Not Ranked
    • Joined on 12-07-2007, 3:11 PM
    • Posts 9

    Re: IIS 6 + PHP Performance Issues

    The timing of this couldn't have been better.  A major transaction went down today, and our board was flooded with people wanting to talk about it.

    We're running along smoothly with triple our typical heavy load (1000 users currently).  mySQL peaked at 106 queries/second, and I still have CPU and memory to spare.  Talk about a relief...
     

  • 12-12-2007, 5:06 PM In reply to

    Re: IIS 6 + PHP Performance Issues

    That's great, glad it worked out for you! Your hardware configuration is an great example of where creating a web garden can really help push performance along. Unfortunately my server only has the one CPU so there is no advantage from increasing the worker process count (probably would even slow things down).
    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
  • 06-11-2008, 6:56 AM In reply to

    • canadaka
    • Top 100 Contributor
    • Joined on 08-18-2006, 3:10 AM
    • Vancouver, Canada
    • Posts 63

    Re: IIS 6 + PHP Performance Issues

    I thought i read somewhere that its not the best to use Web Gardens with IIS and PHP because of PHP's memory handling or something? Also something about PHP sessions can't transfer between gardens properly?

    Have you experienced and problems running your sites app pool in a web garden?

  • 06-11-2008, 11:17 AM In reply to

    Re: IIS 6 + PHP Performance Issues

    I'd be interested in reading that if you were able to locate the source, however I've never had any issues using PHP ISAPI on IIS6 in a web garden. It is definately not a set and forget kind of option as there are some very real risks. The only memory issues I've found you really need to be concious of is that your PHP memory consumption will increase by a factor of x, where x is the number of processes running in your web garden. For example if PHP is topping out at 128MB of ram on your server, and you configure IIS to use a web garden with 4 worker processes then your memory consumption will now top out at around 512MB. This potentially could comsume all of your physical memory which would result in the use of virtual memory and page file thrashing.

     

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 2 of 2 (19 items) < Previous 1 2
Microsoft Communities