Re: Mounts to Windows 7 and "out of memory" or "insufficient server resources"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 28, 2011 at 2:56 PM, Jeff Layton <jlayton@xxxxxxxxx> wrote:
> On Wed, 28 Sep 2011 13:28:38 -0500
> Steve French <smfrench@xxxxxxxxx> wrote:
>
>> On Wed, Sep 28, 2011 at 4:30 AM, Shirish Pargaonkar
>> <shirishpargaonkar@xxxxxxxxx> wrote:
>> > On Tue, Sep 27, 2011 at 4:36 PM, Steve French <smfrench@xxxxxxxxx> wrote:
>> >> FYI - The cifs async write in 3.0 seems to exacerbate problems running
>> >> out of memory (apparently) on the Windows 7 system (running as a
>> >> server) after a large file copy to the server completes.   I have been
>> >> able to reproduce the same problem on Windows Vista Service Pack 2

For servers other than Windows 7 and Windows Vista, we have
not been able to reproduce the problem, so Windows 2003 and Windows 2008
are probably ok.  I was also unable to reproduce this to Samba or Windows XP

But for mounts to Windows 7 or Windows Vista from Linux cifs for 3.0
kernel or later,
two workarounds for this Windows problem have been found:

1) As Pavel discovered, increasing MaxWorkItems to 4096 in the Windows
registry solves this.
2) Or to workaround this on the Linux client, load the cifs kernel
module with a lower limit on the simultaneous requests per connection
ie
     "modprobe cifs cifs_max_pending=10"
(it would default to 50)





-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux