Current time: 04-24-2024, 10:31 AM Hello There, Guest! (LoginRegister)


Post Reply 
mod fcgid instead of mod fastcg
Author Message
Gile_Potencijal Offline
Newbie
*

Posts: 6
Joined: Jun 2007
Reputation: 0
Post: #1
mod fcgid instead of mod fastcg
I have suggestions for integration fcgid in vhcs omega or other php cgi methods with suexec instead of fastcgi becouse fastcgi is very unstable. Mod php works fine but this is very unsecured method and php scripts sometimes are run as www-data owner and then becoming problems with permissions.

1. Fastcgi on debian sarge is not on stable debian package repository.
2. Many users have same problems with mod fastcgi (error 500 internal server error) with no matter how fastcgi.conf was configured. I have very strong dedicated masnine with 2GB RAM and i was configured fastcgi.conf with your suggestion but I have same problem again.

When php is running as a FastCGI server, it should handle SIGTERM and
execute a graceful shutdown, because the mod_fastcgi process manager
uses this signal to shut down excess dynamic servers. "Graceful" in this
context means that the server must finish handling any outstanding
request and then terminate its connection to the web server. Presently,
PHP does not handle SIGTERM at all in the FastCGI request loop, so that
on receipt of SIGTERM, php aborts, even if half-way through a request.
This typically results in the web server logging "Incomplete headers (0
bytes) received", and returning "500 Internal Server Error" to the
client. Fcgi_pm should send a SIGTERM to the script even
though it processes a request at this momment. One would think that
fcgi_pm should be smart enough to deal with this situation (wait until
request is done/send no more requests/send SIGTERM). But apparently it
isn't.

However fastcgi with php as cgi does not work properly.

I think that is primary problem so
I have one appeal to VHSC omega developers team to think about this becouse VHCS is best solution for free virtual hosting panel.

Sve najbolje i oprostite na mom sugavom engleskom jezikuSmile
06-19-2007 07:57 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
mod fcgid instead of mod fastcg - Gile_Potencijal - 06-19-2007 07:57 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)