How to Fix the Alfresco Buffer Bug
Today we’ll discuss about the Alfresco Buffer bug and how to fix it.
The buffer bug happens on multiprocessor servers running Windows server 2008 R2 or Windows 7.
This issue occurs because of a race condition in the Ancillary Function Driver for WinSock (Afd.sys) that causes sockets to be leaked. Over time the application won’t be able to create new sockets (causing a “no buffer zone available” exception to occur) and all the available sockets will be filled up.
This will mean that you won’t be able to remote connect to your server until the server has been restarted. If you leave an Alfresco server running overnight and when you fail to access alfresco in the morning (and the only way to do so is to restart the Alfresco server), then you most likely suffer from the buffering bug.
To confirm this, go to the alfresco log’s on your server (they should be located in the C:\Alfresco\tomcat\logs\ folder). When you are in there, look for this error :
java.net.SocketException: No buffer space available (maximum connections reached?).
If you have this error then we can determine that you have the buffering bug.
To fix this issue you need to download a hotfix from Microsoft. This hotfix applies to the following Operating Systems: Windows 7, Windows 7 SP1, Windows Server 2008 R2, Windows Server 2008R2 SP1.
To download the hotfix, follow this link:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2577795&kbln=en-us
Accept the terms and Agreement and you will have to fill out a form. In this form you select to hotfix you want (there is only 1 to select as the hotfix applies to all of the above OS’s) and fill in your email address.
Once you have done this Microsoft will send you an email with a link to download the hotfix.
Once you’ve downloaded the hotfix, do a back of your server (just in case) and install the hotfix.
Once it’s installed, restart the server and start up the Tomcat and PostgreSQL server’s and see if it works by login into Alfresco.
You will know if the hotfix is worked if you are able to access alfresco after a couple of hours. If this hasn’t worked then you need to contact Microsoft Support.
I hope this article has helped you. Thanks for reading! If you have any further questions, don’t hesitate to contact us via our email, book an appointment with us or call us on 0330 1224 420
Questions: [email protected]
Continue reading:
Skipped Software Updates Warning: Don’t Leave Your Systems Open to Cyber Attack
Ransomware, Spyware and Trojans – What are They and How to Prevent Them
Protecting Your Printers from Cybercrime Is a Must
[hubspot portal=”25047923″ id=”fbd0c3f3-487c-4414-affa-dee147818244″ type=”form”]
Recent Comments