Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[6.9.0-beta22] SMBD Panic

  • Minor

I wonder if anyone else is having this issue?

 

I have several Ubuntu VM's mounting my primary share from the UnRAID pool via SMB. 

One of them in particular which runs qBitTorrent has high writes (up to approx 100MB/s). Since upgrading to the 6.9.0 build (from 6.8.3) the speed is constantly dropping as smbd appears to panic which loses connection. 

 

From my Ubuntu VM I can see smbd loses connection and blocks the app for 2 minutes

[18358.622226] cifs_vfs_err: 23 callbacks suppressed
[18358.622229] CIFS VFS: Server tower has not responded in 180 seconds. Reconnecting...
[18363.876639] CIFS VFS: Free previous auth_key.response = 00000000ee7c66f6
[18367.456112] INFO: task qbittorrent-nox:16780 blocked for more than 120 seconds.

When this occurs, I see the below errors on UnRAID in the SMB logs

 

[2020/06/30 18:16:34.725129,  0] ../../source3/smbd/close.c:648(assert_no_pending_aio)
  assert_no_pending_aio: fsp->num_aio_requests=1
[2020/06/30 18:16:34.725152,  0] ../../source3/lib/util.c:829(smb_panic_s3)
  PANIC (pid 28606): can not close with outstanding aio requests
[2020/06/30 18:16:34.725236,  0] ../../lib/util/fault.c:222(log_stack_trace)
  BACKTRACE:
   #0 log_stack_trace + 0x39 [ip=0x14abc3605e39] [sp=0x7fffb7a7f030]
   #1 smb_panic_s3 + 0x23 [ip=0x14abc3127f73] [sp=0x7fffb7a7f970]
   #2 smb_panic + 0x2f [ip=0x14abc360604f] [sp=0x7fffb7a7f990]
   #3 create_file_default + 0x71f [ip=0x14abc34361cf] [sp=0x7fffb7a7faa0]
   #4 close_file + 0xc3 [ip=0x14abc3436b53] [sp=0x7fffb7a7fab0]
   #5 file_close_user + 0x35 [ip=0x14abc33dc485] [sp=0x7fffb7a7fcd0]
   #6 smbXsrv_session_logoff + 0x4d [ip=0x14abc347dfdd] [sp=0x7fffb7a7fcf0]
   #7 smbXsrv_session_logoff + 0x3e2 [ip=0x14abc347e372] [sp=0x7fffb7a7fd40]
   #8 dbwrap_unmarshall + 0x186 [ip=0x14abc21606b6] [sp=0x7fffb7a7fd60]
   #9 dbwrap_unmarshall + 0x3bb [ip=0x14abc21608eb] [sp=0x7fffb7a7fe20]
   #10 dbwrap_traverse + 0x7 [ip=0x14abc215ef37] [sp=0x7fffb7a7fe50]
   #11 smbXsrv_session_logoff_all + 0x5c [ip=0x14abc347e52c] [sp=0x7fffb7a7fe60]
   #12 smbXsrv_open_cleanup + 0x4d2 [ip=0x14abc3483ab2] [sp=0x7fffb7a7fea0]
   #13 smbd_exit_server_cleanly + 0x10 [ip=0x14abc3484050] [sp=0x7fffb7a7ff00]
   #14 exit_server_cleanly + 0x14 [ip=0x14abc2a44284] [sp=0x7fffb7a7ff10]
   #15 smbd_server_connection_terminate_ex + 0x111 [ip=0x14abc345fe91] [sp=0x7fffb7a7ff20]
   #16 smbd_smb2_request_dispatch_immediate + 0x569 [ip=0x14abc3462ca9] [sp=0x7fffb7a7ff50]
   #17 tevent_common_invoke_fd_handler + 0x7d [ip=0x14abc29f070d] [sp=0x7fffb7a7ffc0]
   #18 tevent_wakeup_recv + 0x1097 [ip=0x14abc29f6a77] [sp=0x7fffb7a7fff0]
   #19 tevent_cleanup_pending_signal_handlers + 0xb7 [ip=0x14abc29f4c07] [sp=0x7fffb7a80050]
   #20 _tevent_loop_once + 0x94 [ip=0x14abc29efdf4] [sp=0x7fffb7a80070]
   #21 tevent_common_loop_wait + 0x1b [ip=0x14abc29f009b] [sp=0x7fffb7a800a0]
   #22 tevent_cleanup_pending_signal_handlers + 0x57 [ip=0x14abc29f4ba7] [sp=0x7fffb7a800c0]
   #23 smbd_process + 0x7a7 [ip=0x14abc34522f7] [sp=0x7fffb7a800e0]
   #24 samba_tevent_glib_glue_create + 0x2291 [ip=0x563fff42feb1] [sp=0x7fffb7a80170]
   #25 tevent_common_invoke_fd_handler + 0x7d [ip=0x14abc29f070d] [sp=0x7fffb7a80240]
   #26 tevent_wakeup_recv + 0x1097 [ip=0x14abc29f6a77] [sp=0x7fffb7a80270]
   #27 tevent_cleanup_pending_signal_handlers + 0xb7 [ip=0x14abc29f4c07] [sp=0x7fffb7a802d0]
   #28 _tevent_loop_once + 0x94 [ip=0x14abc29efdf4] [sp=0x7fffb7a802f0]
   #29 tevent_common_loop_wait + 0x1b [ip=0x14abc29f009b] [sp=0x7fffb7a80320]
   #30 tevent_cleanup_pending_signal_handlers + 0x57 [ip=0x14abc29f4ba7] [sp=0x7fffb7a80340]
   #31 main + 0x1b2f [ip=0x563fff429c1f] [sp=0x7fffb7a80360]
   #32 __libc_start_main + 0xeb [ip=0x14abc2700e5b] [sp=0x7fffb7a80710]
   #33 _start + 0x2a [ip=0x563fff429ffa] [sp=0x7fffb7a807d0]

 

 

I have tried adjusting my mount command to smb3 and also to disable cache but still the same, heres my /etc/fstab

 

//tower/share /mnt/share cifs vers=3.0,cache=none,credentials=/home/user/.smbcredentials,uid=1000,gid=1010,iocharset=utf8,noperm 0 0
//tower/plexmediaserver /mnt/plexmediaserver cifs vers=3.0,cache=none,credentials=/home/user/.smbcredentials,uid=1000,gid=1010,iocharset=utf8,noperm 0 0

 

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.