Question

Asynchronous AcceptEx failed

Asked by: duerra

Ok, this is driving me nuts.  This error is absolutely filling my error log (almost a MB of it in less than 2 weeks).  This is practically the only error in there, period, and I can't find ANYWHERE online what's causing it, and/or how to fix it (though I find plenty of references, but only replies amounting to "switch back to Apache 1.xx").  It was there in Apache 2.0.45 and now it's still there in 2.0.46.  I'm running (you guessed it) Windows (XP Pro, to be exact), with PHP, MySQL, and Apache 2.0.46.  Can ANYBODY please tell me how to fix this problem, or what it's caused from, or anything?  Please, no "switch back to Apache 1.xx" or "you suck 'cuz you're running Windows" comments.  

300 Points to the person who can help me get rid of this problem.  I have a feeling that it's causing 500 errors too, but I can't seem to nail it down.  Thanks!


[Mon Jul 07 18:03:04 2003] [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Jul 07 18:03:04 2003] [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Jul 07 18:03:43 2003] [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Jul 07 18:03:49 2003] [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Jul 07 18:06:37 2003] [warn] (OS 121)The semaphore timeout period has expired.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Jul 07 18:06:37 2003] [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Jul 07 18:06:37 2003] [warn] (OS 64)The specified network name is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-07-07 at 16:30:08ID20671124
Tags

acceptex

,

asynchronous

,

failed

Topic

Apache Web Server

Participating Experts
4
Points
300
Comments
20

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. winnt apache mysql php - read write issues
    Have searched the site for an answer but no joy.... Have a winnt apache mysql php setup. Each element of the setup appears to be working correctly - have been through each torubleshooting guide and performed status tests etc. php pages sent to the web browser connect to the d...
  2. Install Apache/MySQL/PHP on RH 9
    I need guidance installing Apache, MySQL, and PHP on RedHat 9.0 I have downloaded: Apache Http Server 2.0.48 MySQL 4.0.18 (Standard) PHP 4.3.4 Now what?
  3. Installing PHP, Mysql & Apache
    Greetings, I recently installed Apache 1.3.31, PHP 5 & Mysql 5.0.0 On a Windows XP Pro Box SP 2. 1) Apache was installed in C:\apache. 2) Php was in zipped and i extracted it to c:\php500 3) Mysql i installed using the installer. Now when apache had finished installing ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Big_Red_DogPosted on 2003-07-08 at 01:39:17ID: 8875364

 

by: duerraPosted on 2003-07-08 at 18:09:57ID: 8881697

Upgraded drivers.  Problem's still there.  Those articles really didn't to anything.  The second one didn't even seem to pertain =/

 

by: pjaolPosted on 2003-07-09 at 07:44:27ID: 8885858

Hmm, check your ServerName in httpd.conf and ensure that it equates to the computer name.
Also check your DNS settings (ipconfig /all) to make sure that the error isn't coming from reverse DNS lookup of all clients coming to your host, and that a dodgy dns connection isn't throwing this error.

 

by: BigRatPosted on 2003-07-10 at 08:02:13ID: 8893643

First, be sure that you have SP1 for XP installed. There is a similar problem in 2.0.45 regarding firewalls. If you have one disable it.

The problem is, as far as I can see, that a connection has been established at the transport layer, which causes an event on the Listen socket, but when the program (Apache) comes to read the data and get the senders IP address the data blocks have not arrived. This could be due to network congestion.

The old way of doing things was to set the receive time out with SetSocketOption for the recv() part. Since this is now in the AcceptEx() function I presume (but don't know) that this option can be placed on the naked socket passed to AcceptEx(). The semaphore time-out message would tend to support this theory.

Now somewhere in Apache I believe one could set such options, but I can't find them.

You'll probably have to wait until the Apache people pick up the error out of the news groups. As you know you can't bug report them :(

 

by: duerraPosted on 2003-07-10 at 16:00:19ID: 8897431

ServerName localhost:80

Windows IP Configuration

        Host Name . . . . . . . . . . . . : NoFear
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 M Network Connection
        Physical Address. . . . . . . . . : 00-07-E9-D8-E2-C2
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 24.106.18.114
        Subnet Mask . . . . . . . . . . . : 255.255.255.248
        Default Gateway . . . . . . . . . : 24.106.18.113
        DNS Servers . . . . . . . . . . . : 24.26.163.24
                                            24.94.163.34


And BigRat.... well, a lot of that went beyond me.  I have reported a bug in the apache bug forums, though I haven't seen anything done with it yet.  If there's a way to mod the AcceptEx() function to make this work, maybe?  At least, that's all I think I'm gathering from your post (that it's something in the AcceptEx() call).

=/

Nobody seems to have a good answer for this question, anywhere on this massive network we call the internet

 

by: BigRatPosted on 2003-07-11 at 04:17:42ID: 8901237

The AcceptEx() function is part of the Windows socket interface. If this thing was in error I would have expected that MS would have already issued a patch, a service patch or even as msi containing a fixed dll. So far nothing.

As far as I can tell it looks like a time out has taken place between the point of connection and reading the first data block. That is what the AcceptEx() does. It replaces the Accept(),Revc() and GetSockAddr() calls, each requiring a context switch into the socket service provider side dll. Therefore it is considerably faster. I personally don't asee why one should log timeout network errors in the Apache log. If this sort of thing needs to be logged I would have thought that the socket level (=network level) logging would have been the appropiate place. I could be wrong. It looks as if the best which you can do is to replace the log file every 24 hours and if required, compress and archive the old ones.

"If there's a way to mod the AcceptEx() function to make this work, maybe?"

Apache is open source so you could download the source files, find the acceptex() places and test for exactly this error code (it is 10064) and drop the error report. Then rebuild and install.

 

by: duerraPosted on 2003-07-11 at 08:18:32ID: 8903427

Hmm... how wonderful.  Yeah, I read some place else that this could be an XP issue, and if there's no solution, then there's not much that I can do.  A for effort.

Thanks.

 

by: faerykingPosted on 2003-07-14 at 12:54:51ID: 8920198

I had the same error message and my web server was running real slow. I turned this feature off in the httpd.conf and the everything starting working great.

# EnableSendfile: Control whether the sendfile kernel support is
# used  to deliver files (assuming that the OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
#
EnableSendfile off

 

by: BigRatPosted on 2003-07-15 at 05:07:37ID: 8924640

Strange? This feature uses the TransmitFile() API in Winsock2 (an MS extension) which should imply that a service pack or new Winsock DLL should clear the problem? Unless of course there is a thread conflict problem since the data transfer is taking place in OS space and this locks all threads out thereby causing a request time-out with incomming connections. This would imply Apache 1.3.x enable on, 2.0.x off!

 

by: duerraPosted on 2003-07-15 at 05:11:19ID: 8924667

Well, it's worth a try, I guess.

BigRat, do you suggest that I download a new Winsock dll?

 

by: duerraPosted on 2003-07-15 at 05:16:10ID: 8924708

Nope, didn't work.

I'm just wondering if these settings are appropriate.  Always worth a shot, wondering if maybe it's my config...

Timeout 300
KeepAlive Off
MaxKeepAliveRequests 250

 

by: BigRatPosted on 2003-07-15 at 05:46:55ID: 8924900

Is your web site slow?

Have you installed the lastest XP service pack? I though I saw one go past me the other day! (I get soooooooo many disks from our MS Universal Subscription I just have time to file them away but not look at them ;) )

I'd actually turn the KeepAlive on. This option is very useful if you have web pages which use script and graphics. The socket connection is kept and reused until all script and graphics has been loaded. Otherwise we are making a new connection every time and this is where we are getting time outs.

"BigRat, do you suggest that I download a new Winsock dll?"

I'd at least investigate if the version installed is the same version as what MS offers as "lastest version". Just in case.

 

by: duerraPosted on 2003-07-15 at 10:27:24ID: 8927383

Sounds good.  I'll reconfigure that when I get home tonight.

And no, I don't really think my web site is slow, but that raises another question.  Sometimes Apache refuses to put out small "verification" images I have on my site.  These are just small, 10kb images with a single letter in them (dynamically generated).  The site can sit there and try to load this image for minutes and never get there.  I don't know if this is related or not.  However, I'm running on business class cable, so I don't think this should be a problem.

I'll check the latest Winsock version when I get home as well, just to make sure everything is up to date.  Is this where the AcceptEx() function is located?

 

by: duerraPosted on 2003-07-15 at 17:10:43ID: 8930328

Well, I turned the KeepAlive to On, and it's still happening.  8kb worth of it already, in less than an hour.

-_-   Somebody on Apache finally responded to my bug report for it, but he couldn't figure out what was going on either, apparently.

I'm going to check my Winsock version right now.

 

by: BigRatPosted on 2003-07-16 at 04:55:39ID: 8933299

"The site can sit there and try to load this image for minutes and never get there."

This normally implies that the request has timed out.

Can you tell me on what sort of URLs the error appears? Is it a particular type of URL (eg: graphic) or is it a mish-mash?

 

by: duerraPosted on 2003-07-16 at 05:05:16ID: 8933329

It's just the one graphic, and eventually it gets the "red x", if it doesn't load.  Sometimes it loads after a good minute or so, though.

Also, I checked my winsock version last night, and when I tried to post a message about it, EE crashed.  Anway, I'm on version 3.10.xxxx something, and I'm thinking that this is the latest version for *my* OS (XP Pro), there is a verion 4.9 or so out.  (I don't remember the exact numbers).

 

by: BigRatPosted on 2003-07-16 at 05:30:33ID: 8933554

So you're saying that all the error messages are related to this one graphic which gets a broken link (red x)? Does it come from a file or is it made dyanmically?

 

by: duerraPosted on 2003-07-30 at 08:03:04ID: 9036945

The image file is made dynamically in php before the page is served.  It gets a random name, and is put into a certain directory.  

Also... users have been complaining of a "Page Cannot be Displayed", or "You are not authorized to view this page" error.  I'm thinking that these errors are connected somehow.

 

by: BigRatPosted on 2003-08-01 at 03:30:33ID: 9047369

"It gets a random name, and is put into a certain directory."

Just as a matter of interest, how many files are generated and put into this directory?

 

by: duerraPosted on 2004-05-14 at 09:08:22ID: 11069657

Note that this was an Apache bug, and has been "fixed" ala 2.0.49:

Win32: Add Win32DisableAcceptEx directive. This Windows NT/2000/XP directive is useful to work around bugs in some third party layered service providers like virus scanners, VPN and firewall products, that do not properly handle WinSock 2 APIs. Use this directive if your server is issuing AcceptEx failed messages.

Bug location:

http://issues.apache.org/bugzilla/show_bug.cgi?id=21425

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...