I've mounted several computers running Windows 7 on a Linux server. After the windows client has an uptime of a few days, the mount dies and I get a mix of the following error messages (dmesg output):
And this error message when trying to remount the share:CIFS VFS: Send error in SessSetup = -12
CIFS VFS: Unexpected lookup error -12
CIFS VFS: Unexpected lookup error -112
CIFS VFS: No response for cmd 50 mid 2317
On the windows clients, I got the following errormessage in the Eventlogs (System):mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
...until I reboot the windows client.Source: srv
Event ID: 2017
Level: Error
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
[SOLUTION]
I'm not the only one suffering from that problem (some with samba, some with XP):
- Vista : unable to allocate from nonpaged pool = No network shares
- Windows 7 Nonpaged Pool Srv Error 2017
- Error while mounting Windows 7 shared on Linux/Samba
Code: Select all
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"SMB2"=dword:00000000
***rant***
I'm sick and tired of working with non-professional operating systems like e.g. windows.
Their own knowledge base says:
"intentinally limited" ! - Why? WHYYYY?? (of course, we know why: Follow the money...)This problem occurs because the Server service in Windows Vista is intentionally limited. [...]
...rounding it up with a juicy statement:
Most SMB requests are processed immediately. However, long-term SMB requests may cause a problem.