View previous topic :: View next topic |
Author |
Message |
littlebigfred -
Joined: 02 Dec 2006 Posts: 12
|
Posted: Thu Jan 25, 2007 3:18 pm Post subject: [2.4 + FastCGI] Reading 0 bytes failed |
|
|
Hello
I followed the instructions to install PHP5 and use FastCGI/Pipes to run it, but although it seems to work, I get the following stuff in the fastcgi.log file:
Code: |
25/Jan/2007:15:15:49 +0100 SUID: 0 PUID: 0 RUID: 0 URI: Reading 0 bytes failed = The process cannot access the file because it is being used by another process.
25/Jan/2007:15:15:49 +0100 SUID: 0 PUID: 0 RUID: 0 URI: timeout-header2!
|
Anybody knows why?
Thanks. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
littlebigfred -
Joined: 02 Dec 2006 Posts: 12
|
Posted: Fri Jan 26, 2007 11:16 am Post subject: |
|
|
Thanks. Hopefully PHP will solve this error in the future.
BTW, I thought FastCGI meant that the PHP interpreter was loaded with the web server, but it's not the case : It's loaded the first time I run a PHP app in Abyss, and remains in RAM for a few minutes after the last call before being removed from RAM, which slows things.
Is there a way to load and keep the interpreter loaded, for higher performance?
Thanks. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Jan 26, 2007 3:10 pm Post subject: |
|
|
If you use ISAPI there is. FastCGI only loads processes when it needs to. It will timeout eventually untill a new request. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Jan 29, 2007 1:47 am Post subject: |
|
|
littlebigfred wrote: | Is there a way to load and keep the interpreter loaded, for higher performance? |
You want gain too much when loading PHP in the web server (as with the ISAPI interface). For PHP, FastCGI proved to be equivalent in speed with ISAPI while being more robust and scalable. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
littlebigfred -
Joined: 02 Dec 2006 Posts: 12
|
Posted: Mon Feb 05, 2007 12:57 pm Post subject: |
|
|
aprelium wrote: | You want gain too much when loading PHP in the web server (as with the ISAPI interface). For PHP, FastCGI proved to be equivalent in speed with ISAPI while being more robust and scalable. |
Thanks for the tip. |
|
Back to top |
|
|
|