[2.4 + FastCGI] Reading 0 bytes failed

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
littlebigfred
-


Joined: 02 Dec 2006
Posts: 12

PostPosted: Thu Jan 25, 2007 3:18 pm    Post subject: [2.4 + FastCGI] Reading 0 bytes failed Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jan 26, 2007 11:09 am    Post subject: Re: [2.4 + FastCGI] Reading 0 bytes failed Reply with quote

littlebigfred,

Please read http://www.aprelium.com/forum/viewtopic.php?p=62207#62207 and the answers following it.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
littlebigfred
-


Joined: 02 Dec 2006
Posts: 12

PostPosted: Fri Jan 26, 2007 11:16 am    Post subject: Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Jan 26, 2007 3:10 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jan 29, 2007 1:47 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
littlebigfred
-


Joined: 02 Dec 2006
Posts: 12

PostPosted: Mon Feb 05, 2007 12:57 pm    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group