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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache24 websites down after minutes. Need help
Author
pivey



Joined: 06 May 2012
Posts: 12
Location: Greece

PostPosted: Wed 09 May '12 17:20    Post subject: Apache24 websites down after minutes. Need help Reply with quote

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

PostPosted: Wed 09 May '12 17:36    Post subject: Reply with quote

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

PostPosted: Wed 09 May '12 17:49    Post subject: Reply with quote

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

PostPosted: Wed 09 May '12 18:33    Post subject: Reply with quote

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

PostPosted: Wed 09 May '12 20:07    Post subject: Reply with quote

Yep, that was it Wink

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

PostPosted: Wed 09 May '12 20:18    Post subject: Reply with quote

yep, the parent and the child
Back to top
pivey



Joined: 06 May 2012
Posts: 12
Location: Greece

PostPosted: Wed 09 May '12 20:20    Post subject: Reply with quote

sweet family Mr. Green

Thx a lot for the support. Greatly appreciated
Back to top


Reply to topic   Topic: Apache24 websites down after minutes. Need help View previous topic :: View next topic
Post new topic   Forum Index -> Apache