Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box too. I can mount the share, browse it all I want. Copy stuff off of the share and it keeps chugging right along. The issue arrives when my Zimbra server, or any other write operation for that matter, hits the share. It works for a few min takes a fair amount of data, then the share seems to lockup. If I go into Server Manager on the Windows box, find the session and kill it. The drive reconnects and starts working perfectly again. There are no real errors except that Linux starts issuing connection errors

Any Help would be greatly appreciated.


share|improve this question
What's the debug level in the configuration? And can you post the smbd.log output? – Karlson Sep 17 '12 at 15:50

Well, As a sysadmin i see a lot of problems with shares when it comes to authentication and permissions. In my production environment i have a two factor authentication mechanism that don't allow me to use UNC between servers when i log with a 2factor user(it basically locks the user for trying). How do you authenticate with your windows box? Can you copy the line from fstab you use to mount the directory? Also check the permissions on the windows box and list it here.

share|improve this answer

Please check if you can see "mount error(12): Can’t allocate memory" on the windows server.

If this is the case:

Set the following registry key to ’1′:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache

and set the following registry key to ’3′:


net stop server
net start server

Source: http://jlcoady.net/windows/how-to-resolve-mount-error12-cannot-allocate-memory-windows-share

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.