logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Apache Dying... FastCGI
Author
Thog



Joined: 12 Feb 2007
Posts: 75
Location: Montreal

PostPosted: Mon 05 Dec '11 15:37    Post subject: Apache Dying... FastCGI Reply with quote

When I run apache in fastcgi mode it crashes every couple of days. In order to get it back up I have a task scheduler which does "sc start Apache22", "sc start Apache23" every minute... Problem is when it dies I'm left with a bunch of php-cgi's which are open and not under apache. Those never die... Does anyone else have this problem and is there any way to kill these processes in a scheduler?

Apache22 is running is module mode.
Apache23 is running in fastcgi mode...

module mode I get a crash and it restarts... Sometimes it dies but rarely...

fast-cgi mode it crashes and dies totally, the scheduler will restart it. But I'm left with a bunch of run off php-cgi's...

See: http://www.hyperbass.com/temp/extraphp.jpg
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Mon 05 Dec '11 15:46    Post subject: Reply with quote

Mario, is this the issue with mod_fcgid which you reported and proposed a fix ?

Steffen
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 05 Dec '11 21:21    Post subject: Reply with quote

@Steffen I hadn't use the process explorer. On windows apache crash and only the child process survived with some php procresses. BUT I can say that I had that exact problems on linux and that patch I made fixed that.

@Thog can you please try 2.3.6d from apachehaus.com and tell if that problem still exist? That d version has a patch included which fixed it for me.
Back to top
Kanashii



Joined: 17 Jul 2006
Posts: 155
Location: Porando

PostPosted: Mon 05 Dec '11 23:35    Post subject: Reply with quote

For Mail, hmail is better Smile

post your fcgid config
Back to top
Thog



Joined: 12 Feb 2007
Posts: 75
Location: Montreal

PostPosted: Tue 06 Dec '11 2:52    Post subject: Reply with quote

Thanks...

I installed the version from ApacheHaus and I will post a comment on how it is from now on and if the same problems happen...

Here is my config:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

LoadModule fcgid_module modules/mod_fcgid.so
FcgidBusyTimeout 3600
FcgidInitialEnv PHPRC "C:/Servers/PHP_54_NTS"
FcgidInitialEnv PATH "C:/Servers/PHP_54_NTS"
FcgidInitialEnv SystemRoot "C:/Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:/WINDOWS/Temp"
FcgidInitialEnv TMP "C:/WINDOWS/Temp"
FcgidInitialEnv windir "C:/WINDOWS"
FcgidIOTimeout 64
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 250
FcgidMaxRequestLen 1073741824

<Files ~ "\.php$>"
AddHandler fcgid-script .php
FcgidWrapper "C:/Servers/PHP_54_NTS/php-cgi.exe" .php
</Files>

----

Download Name: Apache 2.3.15-beta

Download Description: This is for anyone who wants to preview the next flavor of Apache now in beta. Includes OpenSSL 1.0.0e, mod_fcgid 2.3.6d (for PHP support), mod_antiloris, mod_geoip/1.2.5 + ipv6 (Experimental), mod_limitipconn, mod_log_rotate, mod_security2/2.6.2, mod_proxy_html, SNI and IPv6 enabled.

Download Filename: httpd-2.3.15-beta-x86.zip
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 13 Jan '12 12:35    Post subject: Reply with quote

It's been some time. How is it going?
Back to top


Reply to topic   Topic: Apache Dying... FastCGI View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules