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: Apache 2.4 => winnt_accept: Asynchronous AcceptEx failed. Page 1, 2  Next
Author
haemm1



Joined: 13 Mar 2012
Posts: 5

PostPosted: Wed 14 Mar '12 8:37    Post subject: Apache 2.4 => winnt_accept: Asynchronous AcceptEx failed. Reply with quote

Since Update to 2.4.1 Apache is running slow and I got many of these erros in my error.log

(OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.


I have already set these recommended options in httpd.conf.

AcceptFilter http none
EnableMMAP off
EnableSendfile off

I am running Apache 2.4.1 with PHP 5.3.10 on a Win2k3 SP2. Never got such errors with previous Apache versions.

Can any1 help plz?
Thanks
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3095
Location: Hilversum, NL, EU

PostPosted: Wed 14 Mar '12 13:00    Post subject: Reply with quote

Running SSL ?


Steffen
Back to top
haemm1



Joined: 13 Mar 2012
Posts: 5

PostPosted: Wed 14 Mar '12 13:32    Post subject: Reply with quote

yes, 0.9.8t
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3095
Location: Hilversum, NL, EU

PostPosted: Wed 14 Mar '12 14:10    Post subject: Reply with quote

Did you read the SSL issue at http://www.apachelounge.com/viewtopic.php?p=20474 ?

Looks like you are dealing with the issue.

You can try AcceptFilter https none, but mostly does not work either.


Steffen
Back to top
haemm1



Joined: 13 Mar 2012
Posts: 5

PostPosted: Thu 15 Mar '12 9:11    Post subject: Reply with quote

Nothing helps. And I will not run another Reverse Proxy.

I switched back to Apache 2.2.22 now and all problems are gone.

This bug definitely has to be fixed in Apache 2.4 before you can call it "stable".

Thanks
Greetz
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3095
Location: Hilversum, NL, EU

PostPosted: Thu 15 Mar '12 13:07    Post subject: Reply with quote

Yep, ASF has a hard time to get it fixed.

Steffen
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 15 Mar '12 19:28    Post subject: Reply with quote

It looks like it will be fixed today for the 2.4.2 release.
Back to top
James Blond
Moderator


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

PostPosted: Thu 15 Mar '12 21:09    Post subject: Reply with quote

Did you get a working patch from Bill or why that confident?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 15 Mar '12 21:22    Post subject: Reply with quote

Wishful thinking? Embarassed

He elaborated a bit for Issac, and did mention "the patch should drop some code (not used back in 2.2) which might be the underlying cause of Steffan and crew's issues."

That alone is cause to think he may be onto something since we know it works fine in 2.2.x!

No, I have not seen a patch yet.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 17 Mar '12 7:41    Post subject: Reply with quote

Have patch, from my testing ... no difference Crying or Very sad
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3095
Location: Hilversum, NL, EU

PostPosted: Sat 17 Mar '12 17:18    Post subject: Reply with quote

AcceptFilter https none and connect : same issue, randomly first page not displayed and missing images.

AcceptFilter data (default): ok, not seen yet Asynchronous AcceptEx failed errors in my log.

Steffen
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 17 Mar '12 18:43    Post subject: Reply with quote

Mine are spotty, but they show up, not with the patched server yet, but it can go 4 days, or 20 seconds

[Sat Mar 03 09:41:48.605625 2012] AcceptEx error detected
[Sun Mar 04 12:07:33.893625 2012] AcceptEx error detected
[Mon Mar 05 05:21:55.924875 2012] AcceptEx error detected
[Mon Mar 05 10:38:00.237375 2012] AcceptEx error detected
[Fri Mar 09 16:29:58.018625 2012] AcceptEx error detected
[Fri Mar 09 16:30:08.003000 2012] AcceptEx error detected
[Tue Mar 13 07:22:02.125375 2012] AcceptEx error detected
[Thu Mar 15 19:10:04.875000 2012] AcceptEx error detected
Back to top
mariush



Joined: 19 Apr 2012
Posts: 5
Location: Romania

PostPosted: Thu 19 Apr '12 21:09    Post subject: Reply with quote

Hi,

I'm seeing this with Apache 2.4.2 win32 and php 5.4.0, had to fall back to 2.2 and php 5.3.8

In mine case, it's Windows 2008 Standard 64bit as OS and it's only the Windows Firewall that I guess could interfere.

[Thu Apr 19 20:41:12.258823 2012] [mpm_winnt:notice] [pid 6596:tid 256] AH00418: Parent: Created child process 3884
[Thu Apr 19 20:41:13.449177 2012] [mpm_winnt:notice] [pid 3884:tid 472] AH00354: Child: Starting 64 worker threads.
[Thu Apr 19 20:43:33.559350 2012] [mpm_winnt:warn] [pid 3884:tid 1504] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 19 20:43:33.559350 2012] [mpm_winnt:warn] [pid 3884:tid 1504] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 19 20:44:45.319405 2012] [mpm_winnt:warn] [pid 3884:tid 1504] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.

My server has quite a bit of traffic so I noticed the 10-20 second delays every 2-3 minutes right away. Didn't notice it on my development machine (Windows 7 Home Premium 64bit) but now that I look in the logs I see the following:

[Fri Apr 13 16:52:49.574312 2012] [mpm_winnt:notice] [pid 3472:tid 388] AH00354: Child: Starting 64 worker threads.
[Fri Apr 13 21:44:09.185088 2012] [mpm_winnt:warn] [pid 3472:tid 1404] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 13 22:41:57.756479 2012] [mpm_winnt:warn] [pid 3472:tid 1404] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 14 01:20:21.297051 2012] [mpm_winnt:warn] [pid 3472:tid 1404] (OS 121)The semaphore timeout period has expired. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 14 01:42:15.770234 2012] [mpm_winnt:warn] [pid 3472:tid 1404] (OS 121)The semaphore timeout period has expired. : AH00341: winnt_accept: Asynchronous AcceptEx failed.


A patch of some sort would be really appreciated...
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3095
Location: Hilversum, NL, EU

PostPosted: Thu 19 Apr '12 21:20    Post subject: Reply with quote

When you are not runnung SSL then you have to use:

AcceptFilter http none

For SSL, see http://www.apachelounge.com/viewtopic.php?p=21186


Steffen
Back to top
mariush



Joined: 19 Apr 2012
Posts: 5
Location: Romania

PostPosted: Sat 21 Apr '12 17:25    Post subject: Reply with quote

Yes, this seems to fix the "freezes", thank you.

There's still some issue with it though...

Very, very often, some of the connections are simply aborted... for example see this mediawiki page loading:

See http://savedonthe.net/image/1292/pageload.png

It's just the default apache + mod_logrotate + php 5.4 with xcache 2.0 installed.

From time to time, pages also seem to load slower compared to apache 2.2 - with 2.2 i get about 90ms processing time until i see the page, with 2.4 it won't drop below 120ms.

It also happens on simpler websites, just plain php with css when clicking on a form button ... POST index.php => aborted, connection reset while page loading etc.

Any idea on what could cause this?

ps later edit:

checked event viewer, loads of this:

Faulting application httpd.exe, version 2.4.2.0, time stamp 0x4f7ec1ab, faulting module php5ts.dll, version 5.4.0.0, time stamp 0x4f4e7f05, exception code 0xc0000005, fault offset 0x000e890f, process id 0x840, application start time 0x01cd1fd2d7b09e18.

i may have to try disabling xcache and/or going for the non-thread safe version of php.
Back to top
Aaron44126



Joined: 22 Jun 2011
Posts: 7

PostPosted: Sat 21 Apr '12 23:37    Post subject: Reply with quote

@mariush
I had this issue too. PHP crashes occurred when I upgraded to Apache 2.4.2 (didn't happen with 2.4.1). Resolved by updating to PHP 5.4.1 RC1. (RC2 is now available, and the final release is due in 5 days.)
Back to top
pMcLain



Joined: 21 Aug 2012
Posts: 2

PostPosted: Tue 21 Aug '12 15:39    Post subject: same error showing up for me Reply with quote

Apache/2.4.2 (Win64) PHP/5.4.3

The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.

I'm seeing this error only when using Internet Explorer. It wouldn't bother me at all, if I weren't concerned with IE compatibility. I've been looking for solutions and tried all the suggestions. None seem to solve the problem.

You may want to examine the IE request.
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 693

PostPosted: Tue 21 Aug '12 15:53    Post subject: Reply with quote

Upgrade to 2.4.3 and add to your httpd.conf:

AcceptFilter https none
AcceptFilter http none
EnableSendfile Off
EnableMMAP off

See also http://www.apachelounge.com/viewtopic.php?t=4866
Back to top
pMcLain



Joined: 21 Aug 2012
Posts: 2

PostPosted: Tue 21 Aug '12 17:18    Post subject: Reply with quote

I'm only seeing the Unix source listed on the downloads page. If there is a Win64 version of 2.4.3, I've yet to find it.

http://httpd.apache.org/download.cgi#apache24

Ah, found it here;

http://www.apachelounge.com/download/win64/

thanks
Back to top
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Sat 25 Aug '12 0:19    Post subject: Reply with quote

This issue comes again at apache 2.4.3,I can't image it.It needs to add those directives below.

I don't know why can't asf fixes this issue soon?


admin wrote:
Upgrade to 2.4.3 and add to your httpd.conf:

AcceptFilter https none
AcceptFilter http none
EnableSendfile Off
EnableMMAP off
Smile
Back to top


Reply to topic   Topic: Apache 2.4 => winnt_accept: Asynchronous AcceptEx failed. View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page 1, 2  Next