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: Errors mod_fcgid |
|
Author |
|
fpm
Joined: 23 Oct 2013 Posts: 1 Location: Austria
|
Posted: Wed 23 Oct '13 15:56 Post subject: Errors mod_fcgid |
|
|
Hi,
first I'm new to apache, php and fcgi on Windows. I allways use xammp, but my client wanted a "clean" setup. As stated in some threads here on apachelounge the fcgi setup is recommended.
Specs:
* Windows 2008 R2
* httpd-2.4.4-win32
* mod_fcgid-2.3.7-win32
* php-5.3.24-nts-Win32-VC9-x86
* MSSQL 2008
The php app hosted on this system is an drupal installation.
First we had a lot of Problems with timeouts, but this is now fixed. Now there is only one error remaining I can't get rid of:
Code: |
[Sat Oct 19 10:29:42.286589 2013] [fcgid:warn] [pid 5804:tid 1372] (OS 10054)An existing connection was forcibly closed by the remote host. : [client XXX.XXX.XXX.XXX:50286] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: xxxx
[Sat Oct 19 12:19:42.894050 2013] [fcgid:warn] [pid 6388:tid 1624] (OS 10054)An existing connection was forcibly closed by the remote host. : [client XXX.XXX.XXX.XXX:1137] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: xxxx
[Sat Oct 19 13:19:26.053567 2013] [fcgid:warn] [pid 6388:tid 1656] (OS 10054)An existing connection was forcibly closed by the remote host. : [client XXX.XXX.XXX.XXX:61214] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: xxxx
[Sat Oct 19 13:21:45.131109 2013] [fcgid:warn] [pid 6388:tid 1532] (OS 109)The pipe has been ended. : [client XXX.XXX.XXX.XXX:3350] mod_fcgid: can't read from pipe
[Sat Oct 19 13:21:45.131109 2013] [fcgid:warn] [pid 6388:tid 1532] (109)Unknown error: [client XXX.XXX.XXX.XXX:3350] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function |
These errors show up in the error log every 5-10 minutes and result in an 500 error to the client.
My fcgi conf:
Code: |
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "d:/server/conf/php"
FcgidInitialEnv PATH "d:/server/php;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;"
FcgidInitialEnv SystemRoot "C:/Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:/WINDOWS/Temp"
FcgidInitialEnv TMP "C:/WINDOWS/Temp"
FcgidInitialEnv windir "C:/WINDOWS"
FcgidIOTimeout 120
FcgidConnectTimeout 180
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
FcgidMaxRequestsPerProcess 1000
FcgidMaxRequestLen 54728640
FcgidZombieScanInterval 20
# let php-cgi.exe handle php Files
<Files ~ \.php$>
AddHandler fcgid-script .php
FcgidWrapper d:/server/php/php-cgi.exe .php
</Files>
|
I'm now stuck, for the other problems I found a thread here on apachelounge, but the OS 10054 Error ...
Thanks in advance |
|
Back to top |
|
C0nw0nk
Joined: 07 Oct 2013 Posts: 241 Location: United Kingdom, London
|
Posted: Tue 29 Oct '13 19:19 Post subject: |
|
|
Some of you're directories reflect the file path "C:/" instead of "D:/" what is what you are using by the looks of it ?
Also hash out or remove this line from you're config. (Default it is 10000)
"#FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000" |
|
Back to top |
|
|
|
|
|
|