Author |
|
pivey
Joined: 06 May 2012 Posts: 12 Location: Greece
|
Posted: Wed 09 May '12 17:20 Post subject: Apache24 websites down after minutes. Need help |
|
|
Hi,
i am on W2008 R2 SP1 dedicated server, newly switched from apache.org to apachelounge, installing following:
php-5.3.13-nts-Win32-VC9-x86.zip
Apache_httpd-2.4.2-win64.zip
Apache_mod_fcgid-2.3.7-win64.zip
Apache_mod_log_rotate-1.00a-win64.zip
While i had no issues with Apache 2.2, but with this new installs i am running into trouble that php websites are down after some minutes. Plain html web sites are running smooth, so Apache service seems to work properly.
I realize a lot of php-cgi processes running & increasing while putting Apache24 online.
No significant changes to php.ini (C:Windows/php.ini) made.. minimal extensions enabled.
Only additional modules installed are logrotate & xcache.dll
On httpd.config gzip compression enabled.
That's all on customs
Any idea to help me out?
Can i provide any information which will help you to help me?
Dimi |
|
Back to top |
|
DnvrSysEngr
Joined: 15 Apr 2012 Posts: 226 Location: Denver, CO USA
|
Posted: Wed 09 May '12 17:36 Post subject: |
|
|
Just a stab in the dark, but I have heard my others on here recommend using the Thread Safe version (TS) of PHP instead of the Non-Thread Safe (NTS) version of PHP.
I use the Thread Safe (TS) version of PHP on my site and have never had an issue with PHP sites being offline. |
|
Back to top |
|
pivey
Joined: 06 May 2012 Posts: 12 Location: Greece
|
Posted: Wed 09 May '12 17:49 Post subject: |
|
|
Hi,
I would try, but i used the NTS version like it was recommended here.. since it has some advantages.
Additionally, exact same constellation is running on other server just fine.
On that one i have trouble now, i am pulling my hair to find what causes the issue
Ok, just had a look again at apache24 error logs.
Could find these:
[mpm_winnt:warn] [pid 4040:tid 1148] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
And, there are 2 httpd services running simultaneously.. same related to same c:/apache24/httpd.exe
Maybe related to this:?
http://rob.brooks-bilson.com/index.cfm/2008/1/4/Intermittent-Apache-Problems-and-winntaccept-Asynchronous-AcceptEx-failed |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 09 May '12 18:33 Post subject: |
|
|
Is related to that. There's a few threads here on the subject. in httpd.conf add somewhere in the global context:
AcceptFilter http none |
|
Back to top |
|
pivey
Joined: 06 May 2012 Posts: 12 Location: Greece
|
Posted: Wed 09 May '12 20:07 Post subject: |
|
|
Yep, that was it
But how about having 2 httpd processes running simultaneously?.. never noticed that before.
is that ok? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 09 May '12 20:18 Post subject: |
|
|
yep, the parent and the child |
|
Back to top |
|
pivey
Joined: 06 May 2012 Posts: 12 Location: Greece
|
Posted: Wed 09 May '12 20:20 Post subject: |
|
|
sweet family
Thx a lot for the support. Greatly appreciated |
|
Back to top |
|