linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cifs erros in kern.log (CIFS VFS: No task to wake, unknown frame received! )
@ 2021-08-10 13:14 Rudi Feijó
  2021-08-11 14:30 ` Tom Talpey
  0 siblings, 1 reply; 2+ messages in thread
From: Rudi Feijó @ 2021-08-10 13:14 UTC (permalink / raw)
  To: linux-cifs

Hello

Recently we upgraded the linux/cifs part of our stack on our google 
cloud VM's.
Some new errors began popping up on kern.log, and our overall knowledge 
of both linux and cifs is very basic, so here it goes.

uname -r = 4.19.0-17-cloud-amd64
mount.cifs version: 6.8

The mount command is using mostly defaults,
mount.cifs -v -o user=x,password=y,uid=11,gid=11 //hostdir /mntdir

The host is a windows server 2012 R2 Datacenter, and the host path is on 
a NTFS drive
We have done no aditional configuration on windows, we just shared the 
directory

The windows servers as a file server to hold our php/js/other system 
files, while the linux VMs are the apache servers in a load balancer 
environment.
The host path also servers to store cache files from these same 
applications running on apache.

The kern.log have been showing a lot of messages. I can't tell the 
severity of them. Apparently the system is running normaly and without 
crashes.
Here is the example from yesterday, since the mount started. This is 
happening to all VMs using this linux image.

Aug  9 00:43:16 vmapphostname kernel: [    5.050322] FS-Cache: Loaded
Aug  9 00:43:16 vmapphostname kernel: [    5.052899] Key type 
dns_resolver registered
Aug  9 00:43:16 vmapphostname kernel: [    5.082320] FS-Cache: Netfs 
'cifs' registered for caching
Aug  9 00:43:16 vmapphostname kernel: [    5.083350] Key type 
cifs.spnego registered
Aug  9 00:43:16 vmapphostname kernel: [    5.084135] Key type cifs.idmap 
registered
Aug  9 00:43:16 vmapphostname kernel: [    5.085057] No dialect 
specified on mount. Default has changed to a more secure dialect, SMB2.1 
or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 
dialect to access old servers which do not support SMB3 (or SMB2.1) 
specify vers=1.0 on mount.
Aug  9 00:43:16 vmapphostname kernel: [    5.130312] No dialect 
specified on mount. Default has changed to a more secure dialect, SMB2.1 
or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 
dialect to access old servers which do not support SMB3 (or SMB2.1) 
specify vers=1.0 on mount.
Aug  9 02:45:00 vmapphostname kernel: [ 7308.426124] CIFS VFS: No task 
to wake, unknown frame received! NumMids 0
Aug  9 02:45:00 vmapphostname kernel: [ 7308.432985] 00000000: 424d53fe 
00000040 00000000 00000012  .SMB@...........
Aug  9 02:45:00 vmapphostname kernel: [ 7308.432991] 00000010: 00000001 
00000000 ffffffff ffffffff  ................
Aug  9 02:45:00 vmapphostname kernel: [ 7308.432992] 00000020: 00000000 
00000000 00000000 00000000  ................
Aug  9 02:45:00 vmapphostname kernel: [ 7308.432993] 00000030: 00000000 
00000000 00000000 00000000  ................
Aug  9 08:11:55 vmapphostname kernel: [37720.063969] CIFS VFS: No task 
to wake, unknown frame received! NumMids 0
Aug  9 08:11:55 vmapphostname kernel: [37720.070858] 00000000: 424d53fe 
00000040 00000000 00000012  .SMB@...........
Aug  9 08:11:55 vmapphostname kernel: [37720.070859] 00000010: 00000001 
00000000 ffffffff ffffffff  ................
Aug  9 08:11:55 vmapphostname kernel: [37720.070860] 00000020: 00000000 
00000000 00000000 00000000  ................
Aug  9 08:11:55 vmapphostname kernel: [37720.070861] 00000030: 00000000 
00000000 00000000 00000000  ................
Aug  9 09:35:31 vmapphostname kernel: [42736.024112] CIFS VFS: No task 
to wake, unknown frame received! NumMids 0
Aug  9 09:35:31 vmapphostname kernel: [42736.030971] 00000000: 424d53fe 
00000040 00000000 00000012  .SMB@...........
Aug  9 09:35:31 vmapphostname kernel: [42736.030972] 00000010: 00000001 
00000000 ffffffff ffffffff  ................
Aug  9 09:35:31 vmapphostname kernel: [42736.030973] 00000020: 00000000 
00000000 00000000 00000000  ................
Aug  9 09:35:31 vmapphostname kernel: [42736.030974] 00000030: 00000000 
00000000 00000000 00000000  ................
Aug  9 10:25:11 vmapphostname kernel: [45715.372317] CIFS VFS: 
Autodisabling the use of server inode numbers on \\hostdir. This server 
doesn't seem to support them properly. Hardlinks will not be recognized 
on this mount. Consider mounting with the "noserverino" option to 
silence this message.
Aug  9 10:27:23 vmapphostname kernel: [45847.429760] CIFS VFS: No task 
to wake, unknown frame received! NumMids 0
Aug  9 10:27:23 vmapphostname kernel: [45847.436646] 00000000: 424d53fe 
00000040 00000000 00000012  .SMB@...........
Aug  9 10:27:23 vmapphostname kernel: [45847.436648] 00000010: 00000001 
00000000 ffffffff ffffffff  ................
Aug  9 10:27:23 vmapphostname kernel: [45847.436649] 00000020: 00000000 
00000000 00000000 00000000  ................
Aug  9 10:27:23 vmapphostname kernel: [45847.436650] 00000030: 00000000 
00000000 00000000 00000000  ................
Aug  9 12:10:01 vmapphostname kernel: [52005.258451] CIFS VFS: No task 
to wake, unknown frame received! NumMids 2
Aug  9 12:10:01 vmapphostname kernel: [52005.265299] 00000000: 424d53fe 
00000040 00000000 00000012  .SMB@...........
Aug  9 12:10:01 vmapphostname kernel: [52005.265300] 00000010: 00000001 
00000000 ffffffff ffffffff  ................
Aug  9 12:10:01 vmapphostname kernel: [52005.265301] 00000020: 00000000 
00000000 00000000 00000000  ................
Aug  9 12:10:01 vmapphostname kernel: [52005.265302] 00000030: 00000000 
00000000 00000000 00000000  ................
Aug  9 13:33:38 vmapphostname kernel: [57021.694822] CIFS VFS: No task 
to wake, unknown frame received! NumMids 3
Aug  9 13:33:38 vmapphostname kernel: [57021.701711] 00000000: 424d53fe 
00000040 00000000 00000012  .SMB@...........
Aug  9 13:33:38 vmapphostname kernel: [57021.701713] 00000010: 00000001 
00000000 ffffffff ffffffff  ................
Aug  9 13:33:38 vmapphostname kernel: [57021.701714] 00000020: 00000000 
00000000 00000000 00000000  ................
Aug  9 13:33:38 vmapphostname kernel: [57021.701715] 00000030: 00000000 
00000000 00000000 00000000  ................

from this point on, the "CIFS VFS: No task to wake, unknown frame 
received!" message will happen regularly troughout the day.

Looking in /proc/fs/cifs/Stats, I see a lot of creates and oplockbreaks 
are failing, altho I can't seem to find the detailed log of each of 
these :

SMBs: 123331155
Bytes read: 75399636858  Bytes written: 4347610634
TreeConnects: 63003 total 0 failed
TreeDisconnects: 0 total 0 failed
Creates: 35596756 total 2534986 failed
Closes: 33061769 total 0 failed
Flushes: 0 total 0 failed
Reads: 20429224 total 0 failed
Writes: 321116 total 0 failed
Locks: 0 total 0 failed
IOCTLs: 3 total 0 failed
QueryDirectories: 1467549 total 0 failed
ChangeNotifies: 0 total 0 failed
QueryInfos: 32099007 total 0 failed
SetInfos: 314551 total 0 failed
OplockBreaks: 41179 sent 12371 failed

I'm tasked with making this as error free as possible. Any suggestions 
and help is highly appreciated.

Thanks for your time,

Regards, Rudi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-11 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 13:14 Cifs erros in kern.log (CIFS VFS: No task to wake, unknown frame received! ) Rudi Feijó
2021-08-11 14:30 ` Tom Talpey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).