« Previous Next »

Thread: iis 6 + php 5.2.6 + fast cgi rtm

Last post 04-16-2009 10:21 AM by Ballistix. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 07-08-2008, 9:37 PM

    • Megamuch
    • Not Ranked
    • Joined on 07-09-2008, 1:25 AM
    • Posts 2

    iis 6 + php 5.2.6 + fast cgi rtm

    HiGuys, 

    I've been struggling with this for over 2 days now and I've spent more that 9 hours today on trying to find this bug.

     

     Here is the deal:

    I get a 500 error (unspecified) at complete random times. I've hit the server so hard with requests (using apache bench btw), I've done over 100.000 requests to the website, and everything runs just fine. (Although the load is going sky high on this dual xeon 3ghz machine).

     Then when I think I finally got everything stable as it should, I get the stupid 500 error again.

    The data is:

    FastCGI Error
    The FastCGI Handler was unable to process the request.

    Error Details:

    * The FastCGI process has failed frequently recently. Try the request again in a while
    * Error Number: -2147467259 (0x80004005).
    * Error Description: Unspecified error

    HTTP Error 500 - Server Error.
    Internet Information Services (IIS)

     

    All requests go to 1 scripts which then issues a fopen http post to another (can be different scripts depending on the query params given to the first script) script using cURL. 

     The contents of my ini file:

     

    [Types]
    php=PHP

    [PHP]
    ExePath=c:\php\php-cgi.exe
    MaxInstances=10000
    InstanceMaxRequests=200
    EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
    IdleTimeout=200
    ActivityTimeout=300
    RequestTimeout=300

     

    I've have InstanceMaxRequests up to 10000 too, butno avail. 

     This is driving me crazy since I can't reproduce the error.

    I can provide you with more info, just tell me what you need to know, so we can fix this error / misconfiguration. 

     

    Server config:

    dual xeon 3ghz with HT

    2gb ram 

    iis 6.0 running on win2k3 web

    php 5.2.6 non thread safe fast cgi module

     

  • 07-10-2008, 8:09 AM In reply to

    • Megamuch
    • Not Ranked
    • Joined on 07-09-2008, 1:25 AM
    • Posts 2

    Re: iis 6 + php 5.2.6 + fast cgi rtm

    I'm still kinda struggling with this.

    I've added a queuelength parameter with a value of 2500 which does seem to help a little.

    Since last night 19.00 utc the system is stable. I'll wait it out some more to see what happens.If somebody has some other tips or tricks let me know!

  • 04-12-2009, 5:44 PM In reply to

    • stujwash
    • Not Ranked
    • Joined on 04-12-2009, 9:42 PM
    • Posts 1

    Re: iis 6 + php 5.2.6 + fast cgi rtm

    did you ever find a fix for this?  we are now setting up some new servers and we are getting the same error.

     Thank you

  • 04-16-2009, 10:21 AM In reply to

    • Ballistix
    • Not Ranked
    • Joined on 04-16-2009, 10:20 AM
    • Posts 7

    Re: iis 6 + php 5.2.6 + fast cgi rtm

    Make sure you have the extensions for sockets and mysqli installed!

    T

Page 1 of 1 (4 items)
Microsoft Communities