Previous Next

Thread: FastCGI/PHP - Server locks up on restarts

Last post 07-22-2008 5:13 PM by canadaka. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-18-2008, 5:33 PM

    FastCGI/PHP - Server locks up on restarts

    If I try restart or stop/start any site using the FastCGI/PHP configuration it just locks up the process in memory. Other sites are sometimes affected sometimes not - eitherway I have to iisreset to get things working again.

    Thoughts? (php5.2.4-cgi)

    thanks

    -c

  • 03-25-2008, 7:42 AM In reply to

    Re: FastCGI/PHP - Server locks up on restarts

    Have you solved the issue?

    It appears you have fix the FastCGI/PHP configuration according to another thread of you:

    http://forums.iis.net/p/1148489/1865654.aspx#1865654

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 03-25-2008, 8:21 PM In reply to

    Re: FastCGI/PHP - Server locks up on restarts

    It is unrelated and isn't solved yet, I'm not working on it - I don't see how it can be configuration related.

    -c

  • 03-25-2008, 11:47 PM In reply to

    Re: FastCGI/PHP - Server locks up on restarts

    Hi,

    craigw7272:
    If I try restart or stop/start any site using the FastCGI/PHP
    configuration it just locks up the process in memory.

    I think you mean that the php-cgi.exe process kept running when you stopped the web site. Php-cgi.exe is independent process; you need to stop the application pool for the web site which will shutdown the php-cgi.exe. Or you can reset the IIS server.

    Hope it helps

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 07-22-2008, 5:13 PM In reply to

    • canadaka
    • Top 50 Contributor
    • Joined on 08-17-2006, 11:10 PM
    • Vancouver, Canada
    • Posts 61

    Re: FastCGI/PHP - Server locks up on restarts

    No i think he means that the w3wp.exe keep running. I get the same thing if I try to restart IIS it fails. It will eventualy be able to be started again after several minutes.

    If I check the task manager, there are no php-cgi.exe processes running, just 2 dozen w3wp.exe. they will eventualy shotdown after several minutes, then i can manualy start IIS again.

    This is also the case when one of these application pools is set to recycle, it takes a very long time and produces an error in the event log because it exceeds the 'shutdown time limit'.

    This is rather annoying and I don't think its probably normal for the app pool to take so long to recycle or shutdown. I guess i could increase the 'shutdown time limit; to surpress the errors in the event log, but thats not really solving the problem.

Page 1 of 1 (5 items)
Page view counter