Issue, too much php-cgi.exe

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
robby22
-


Joined: 30 Sep 2006
Posts: 2

PostPosted: Sat Sep 30, 2006 11:57 am    Post subject: Issue, too much php-cgi.exe Reply with quote

Hi everybody,

I'm running windows 2000 here with the latest update of abyssws and php (5.1.6). For months -years- this was working well, but lately I noticed when I take a look at my task-manager that I see loads of 'php-cgi.exe', it makes my server goes really slow.
So, I searched for simular problems on this forum. And I found this topic: http://www.aprelium.com/forum/viewtopic.php?t=9040&sid=b8bf0ec5733c187bfddabf54cad4cebc
OK... So I set the interface of the interpreters to CGI/ISAPI, and that would do the job -it doesn't-. Anyway, so I made a file: <?php phpinfo(); ?> And there I saw that my Server API was FastCGI. And I also found on this forum that FastCGI only works with the newest versions of windows and I'm running windows 2000, so I don't know exactly if that is the problem..
anyway, I don't know what to do.. can somebody help me? :(

Greets,
Robby (the Netherlands)
Back to top View user's profile Send private message
robby22
-


Joined: 30 Sep 2006
Posts: 2

PostPosted: Sat Sep 30, 2006 1:02 pm    Post subject: Reply with quote

Hello again,

Figuring out why the H*CK it didn't work, we decided to disable our custom 404.php. For now it seems to fix previous problem.

Can anybody explain this, 'cause this shouldn't matter ?

Greetz Robby
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Sep 30, 2006 2:39 pm    Post subject: Re: Issue, too much php-cgi.exe Reply with quote

robby22 wrote:
And I also found on this forum that FastCGI only works with the newest versions of windows and I'm running windows 2000, so I don't know exactly if that is the problem..
anyway, I don't know what to do.. can somebody help me?


PHP/FastCGI does not work with Windows 98/ME only. But it works fine on Windows NT/2000/XP/2003/Vista.

The server API will always show CGI/FastCGI. To check if your PHP is running using FastCGI, search the PhpInfo page for the variable FCGI_ROLE. If there is such a variable, your PHP was launched in the FastCGI mode, otherwise it is using normal CGI.

By the way, the behavior you have described with a 404.php error page is normal. If you get a bunch of wrong requests (see your access.log), all of them will require PHP to run. If they arrive at the same time, several PHP processes will be created, and they will remain there until they are reused or until "FastCGI timeout" seconds elapse.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP 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