Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108198

[SCALE] SMB very slow and crashes on use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: SCALE-20.10-ALPHA
    • Fix Version/s: N/A
    • Component/s: SMB

      Description

      Hey,

      I just switch to SCALE Nightlies (TrueNAS-SCALE-20.11-MASTER-20201103-132915) from 12.1 Nightlies.

      I noticed that under SCALE, SMB is very slow and somewhat unstable. If I copy larger files (or just overall) the connection will crash and I get these dumps in the CLI:

      
      truenas# 2020 Nov  4 00:54:16 truenas Process 3203149 (smbd) of user 0 dumped co                                            re.
      
      Stack trace of thread 3203149:
      #0  0x00007fc93e6b9db1 __GI_raise (libc.so.6 + 0x3bdb1)
      #1  0x00007fc93e6a3537 __GI_abort (libc.so.6 + 0x25537)
      #2  0x00007fc93eb8d610 dump_core (libsmbconf.so.0 + 0x3b610)
      #3  0x00007fc93eb837c1 smb_panic_s3 (libsmbconf.so.0 + 0x317c1)
      #4  0x00007fc93ec1a757 smb_panic (libsamba-util.so.0 + 0x21757)
      #5  0x00007fc93ee84e02 n/a (libsmbd-base.so.0 + 0x208e02)
      #6  0x00007fc93eab48e6 n/a (libtalloc.so.2 + 0x48e6)
      #7  0x00007fc93edabdce n/a (libsmbd-base.so.0 + 0x12fdce)
      #8  0x00007fc93edad5f2 n/a (libsmbd-base.so.0 + 0x1315f2)
      #9  0x00007fc93edb0e3d create_file_default (libsmbd-base.so.0 + 0x134e3d)
      #10 0x00007fc93edea515 smbd_smb2_request_process_create (libsmbd-base.so.0 + 0x1                                            6e515)
      #11 0x00007fc93ede049d smbd_smb2_request_dispatch (libsmbd-base.so.0 + 0x16449d)
      #12 0x00007fc93ede1dc7 n/a (libsmbd-base.so.0 + 0x165dc7)
      #13 0x00007fc93e91f10d tevent_common_invoke_fd_handler (libtevent.so.0 + 0x710d)
      #14 0x00007fc93e925497 n/a (libtevent.so.0 + 0xd497)
      #15 0x00007fc93e923617 n/a (libtevent.so.0 + 0xb617)
      #16 0x00007fc93e91e7b4 _tevent_loop_once (libtevent.so.0 + 0x67b4)
      #17 0x00007fc93e91ea9b tevent_common_loop_wait (libtevent.so.0 + 0x6a9b)
      #18 0x00007fc93e9235b7 n/a (libtevent.so.0 + 0xb5b7)
      #19 0x00007fc93edceba0 smbd_process (libsmbd-base.so.0 + 0x152ba0)
      #20 0x000055aef6763d85 n/a (smbd + 0xcd85)
      #21 0x00007fc93e91f10d tevent_common_invoke_fd_handler (libtevent.so.0 + 0x710d)
      #22 0x00007fc93e925497 n/a (libtevent.so.0 + 0xd497)
      #23 0x00007fc93e923617 n/a (libtevent.so.0 + 0xb617)
      #24 0x00007fc93e91e7b4 _tevent_loop_once (libtevent.so.0 + 0x67b4)
      #25 0x00007fc93e91ea9b tevent_common_loop_wait (libtevent.so.0 + 0x6a9b)
      #26 0x00007fc93e9235b7 n/a (libtevent.so.0 + 0xb5b7)
      #27 0x000055aef675fb61 main (smbd + 0x8b61)
      #28 0x00007fc93e6a4cca __libc_start_main (libc.so.6 + 0x26cca)
      #29 0x000055aef675fdba _start (smbd + 0x8dba)
      

       

       

       

        Attachments

        1. coredump.rar
          18.35 MB
          Anda
        2. debug-truenas-20201104010119.tgz
          5.90 MB
          Anda
        3. debug-truenas-20201104160301.tgz
          9.26 MB
          Anda
        4. debug-truenas-20201106224949.tgz
          20.10 MB
          Anda

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Triage Team
                  Reporter:
                  AndaPlays Anda
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: