Re: Limit of simultaneous mount cifs processes?

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

 



On Wed, 29 Dec 2010 07:45:36 +0100
Sónia Liléo <sonia.lileo@xxxxx> wrote:

> Hi!
> 
> I am using the following command to mount a folder of my Windows 7 computer to a cluster of several Linux machines
> 
> mount -t cifs //windows7-computer/folder-to-mount /home/sonia/mnt-folder -o user=windows_user,pass=windows_password,uid=linux_user,gid=linux_group
> 
> I need to mount the "folder-to-mount" about 40-50 times simultaneously to different "mnt-folders".
> 
> But I have found that I cannot do this. 
> It seems that there is a kind of limit that only allows me to mount the "folder-to-mount" about 12-14 times simultaneously.
> 
> Why is this happening?
> Any hints on how to solve this problem?
> 
> The error message that I get is the following,
> 
> mount error(5): Input/output error
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> 
> cifs.ko is the following
> 
> filename:       cifs.ko
> version:        1.61
> description:    VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
> license:        GPL
> author:         Steve French <sfrench@xxxxxxxxxx>
> srcversion:     6EEAB9465787AE0C514101E
> depends:        
> vermagic:       2.6.32-24-server SMP mod_unload modversions 
> parm:           CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int)
> parm:           cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int)
> parm:           cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int)
> parm:           cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)
> 
> cat /proc/fs/cifs/DebugData gives
> 
> Servers:
> 1) Name: xx.xxx.xx.xxx  Domain: UN Uses: 1 OS: Windows 7 Professional 7600
> NOS: Windows 7 Professional 6.1Capability: 0x1e3fc
> SMB session status: 1TCP status: 1
> Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
> Shares:
> 1) \\windows7-computer\Users Mounts: 3 Type: NTFS DevInfo: 0x20 Attributes: 0xc700ff
> PathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED 
> 
> MIDs:
> 
> 2) Name: xx.xxx.xx.xxx  Domain: UN Uses: 1 OS: Windows 7 Professional 7600
> NOS: Windows 7 Professional 6.1Capability: 0x1e3fc
> SMB session status: 1TCP status: 1
> Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
> Shares:
> 1) \\windows7-computer\Users Mounts: 10 Type: NTFS DevInfo: 0x20 Attributes: 0xc700ff
> PathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED 
> 
> /var/log/messages shows
> 
> Dec 28 17:00:40 sonia-v1 kernel: [ 6941.421070] Status code returned 0xc00000d0
> NT_STATUS_REQUEST_NOT_ACCEPTED error in SessSetup = -5
> Dec 28 17:00:40 sonia-v1 kernel: [ 6941.422241] Status code returned 0xc00000d0
> NT_STATUS_REQUEST_NOT_ACCEPTED
> 

Assuming you're unable to mount because of the error above, it sounds
like you've hit some sort of resource limit on the server.

MS-CIFS says that this means either:

File handles for this SMB session have been exhausted.

...or...

Exceeded maximum number of open file handles on the server.

...not sure if this is tunable. Maybe the logs on the server would give
more info?

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
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