Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: FastCGI |
|
Author |
|
fax
Joined: 05 Feb 2007 Posts: 24
|
Posted: Sat 24 Mar '07 21:51 Post subject: FastCGI |
|
|
Recently I set up my server to use mod_fcgid with php 5.2.1. I noticed that the ram usage of the server has somewhat increased, when compared as php5 mdule, and the response of the server decreased a bit, is this normal? Is FastCGI safe to run? the php documentation says that fastcgi may be risky.
Please give your opinions and tell me what are some of the disadvatage of running in FastCGI mode... |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3117 Location: Hilversum, NL, EU
|
Posted: Sat 24 Mar '07 23:10 Post subject: Re: FastCGI |
|
|
fax wrote: | Is FastCGI safe to run? the php documentation says that fastcgi may be risky. | Can you give a pointer where it is written ?
For my experience with fastcgi, pleas read my post at www.apachelounge.com/viewtopic.php?t=1472 |
|
Back to top |
|
fax
Joined: 05 Feb 2007 Posts: 24
|
Posted: Sun 25 Mar '07 1:06 Post subject: Re: FastCGI |
|
|
Steffen wrote: | fax wrote: | Is FastCGI safe to run? the php documentation says that fastcgi may be risky. | Can you give a pointer where it is written ?
|
Have a look at http://www.php.net/manual/en/install.windows.apache2.php
It says
--------------
Warning
By using the CGI setup, your server is open to several possible attacks. Please read our CGI security section to learn how to defend yourself from those attacks.
--------------
I also noticed a bunch of error in apache error log:
(620019)APR does not understand this error code: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sun Mar 25 12:26:00 2007] [warn] mod_fcgid: process 1348 graceful kill fail, sending SIGKILL
Any idea what they are? Steffen?  |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3117 Location: Hilversum, NL, EU
|
Posted: Sun 25 Mar '07 11:19 Post subject: Re: FastCGI |
|
|
fax wrote: | [warn] mod_fcgid: process 1348 graceful kill fail, sending SIGKILL | It's not an issue, mod_fcgid try to stop php process with sending an event first, if php process do not quit in time, mod_fcgid just kill the process. It's OK |
|
Back to top |
|
|
|
|
|
|