From: Jeff Layton Subject: Re: Tr:Re: cifs oplock windows share Date: Tue, 6 Mar 2012 11:41:48 -0500 Message-ID: <20120306114148.6ec30257@tlielax.poochiereds.net> References: <831482704.1355048.1330955614024.JavaMail.www@wwinf8220> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "sergio.conrad" Return-path: In-Reply-To: <831482704.1355048.1330955614024.JavaMail.www@wwinf8220> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, 05 Mar 2012 14:53:35 +0100 "sergio.conrad" wrote: > >=20 > > 4=C2=B0) Everything is working fine when working only with a few wo= rkstations. > >=20 > > 5=C2=B0) But when the students were working on severals, we find so= me problems. > > In the /var/log/messages > > Oct 5 16:42:24 u1209-01l kernel: [ 58.783078] CIFS VFS: No response= for cmd 114 mid 1 > > Oct 5 16:42:24 u1209-01l kernel: [ 58.783094] CIFS VFS: cifs_mount = failed w/return code =3D -112 > > Oct 5 16:42:24 u1209-01l kdm: :0[1926]: pam_mount(mount.c:64): Erro= rs from underlying mount program: > > Oct 5 16:42:24 u1209-01l kdm: :0[1926]: pam_mount(mount.c:68): moun= t error(112): Host is down > > Oct 5 16:42:24 u1209-01l kdm: :0[1926]: pam_mount(mount.c:68): Refe= r to the mount.cifs(8) manual page (e.g. man mount.cifs) > > Oct 5 16:42:24 u1209-01l kdm: :0[1926]: pam_mount(pam_mount.c:521):= mount of data/u20 failed > > The windows 2008 server share hangs up and must be rebooted > >=20 Most of the other data in this isn't terribly useful, but the above tells us a little. cmd 114 is a NEGOTIATE call and is the first call sent on any socket connection to the server. If the server isn't responding to that then it sounds like something is very wrong there. It's possible that the problem there is triggered by load generated by the clients. Recent kernel updates have converted cifs to use asynchronous writes for better performance so it's possible that is exacerbating your problem somehow. We don't really have a way to know though. Either way, this really looks like a problem on the server side= =2E One thing you might experiment with is reducing the setting of the cifs_max_pending module parameter on your clients. That will reduce the number of calls that they are allowed to have in flight to the server at any particular time. That's just speculation though... The right solution though is to contact the server vendor (MS in this case) and see if they might be able to help diagnose why the server isn't responding in a timely fashion. --=20 Jeff Layton