Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101660

Fix snapshot query in new UI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.2-U5
    • Component/s: GUI (new)
    • Labels:
      None
    • Has Acceptance Criteria:
      Yes
    • Needs Doc:
      No
    • Needs QA:
      Yes
    • Attempts to pass:
      1
    • Testing System:
      FreeNAS Mini
    • QA Status:
      Test Passes FreeNAS
    • Acceptance Criteria:
      Hide
      UI should not pop up tracebacks while deleting multiple snapshots and should only call the getData function after it is completely done deleting them (which was what was likely hanging the system). Snapshot list should otherwise work like normal and not show snapshots from boot pool or anything else it shouldn't show like system dataset. Snapshot actions like delete/clone/rollback should also work normally.
      Show
      UI should not pop up tracebacks while deleting multiple snapshots and should only call the getData function after it is completely done deleting them (which was what was likely hanging the system). Snapshot list should otherwise work like normal and not show snapshots from boot pool or anything else it shouldn't show like system dataset. Snapshot actions like delete/clone/rollback should also work normally.

      Description

      Using the new UI to delete several hundred snapshots causes the UI to become unresponsive. After some hours, the UI becomes responsive again.

      Messages like this appear in the log:
      Apr 2 19:06:15 enet-rascal-1 kernel: sonewconn: pcb 0xfffff80b3e782a50: Listen queue overflow: 193 already in queue awaiting acceptance (45 occurrences)

      This give two clues: the pcb number and the overflow number.

      netstat -Lan | egrep "(Proto|193)"
      Proto Listen Local Address
      unix 193/0/128 /var/run/middlewared.sock

      and

      netstat -a | egrep "(^Address|fffff80b3e782a50)"
      Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
      fffff80b3e782a50 stream 0 0 fffff80919987938 0 0 0 /var/run/middlewared.sock

      So something associated with middlewared.sock is having trouble keeping up?

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  erin Erin Clark
                  Reporter:
                  hokan . Hokan
                  QE Engineer:
                  Jeff Ervin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Merged after freeze:

                    Summary Panel