ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows 2022 Disk Defrag Freezing System

    IT Discussion
    disk defrag windows server 2022 windows server windows
    4
    6
    1.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Nearly new, very vanilla, Windows Server 2022 system with a recurring freezing issue. The system would drop network connections and even the console was unresponsive. Been troubleshooting for the last few weeks.

      Finally had a chance to be on the console at the time that the freeze happened and it was super sluggish, but not entirely frozen. We managed to get Task Manager open and were able to see that the Disk Defragmenter taking all available RAM and slamming the disks.

      My default in Windows Server 2022, disk defrag is set to run every week. This likely makes little sense if you have SSD, NVMe, or are virtualized. We disabled that and stopped the current run and things returned to normal. All is well now from what we can tell.

      ObsolesceO 1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        This is the netdata load report from the underlying system...

        Screenshot 2023-03-15 at 3.02.20 PM.png

        1 Reply Last reply Reply Quote 1
        • ObsolesceO
          Obsolesce @scottalanmiller
          last edited by

          @scottalanmiller said in Windows 2022 Disk Defrag Freezing System:

          Nearly new, very vanilla, Windows Server 2022 system with a recurring freezing issue. The system would drop network connections and even the console was unresponsive. Been troubleshooting for the last few weeks.

          Finally had a chance to be on the console at the time that the freeze happened and it was super sluggish, but not entirely frozen. We managed to get Task Manager open and were able to see that the Disk Defragmenter taking all available RAM and slamming the disks.

          My default in Windows Server 2022, disk defrag is set to run every week. This likely makes little sense if you have SSD, NVMe, or are virtualized. We disabled that and stopped the current run and things returned to normal. All is well now from what we can tell.

          You should never Defrag SSDs except for very specific reasons.

          Id run a SSD health check on the SSDs themself to see if there are any issues.

          DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
          • DashrenderD
            Dashrender @Obsolesce
            last edited by

            sounds like a bug

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Obsolesce
              last edited by

              @Obsolesce said in Windows 2022 Disk Defrag Freezing System:

              You should never Defrag SSDs except for very specific reasons.

              Which is why it is surprising that in the SSD era, Windows 2022 has it on by default.

              travisdh1T 1 Reply Last reply Reply Quote 0
              • travisdh1T
                travisdh1 @scottalanmiller
                last edited by

                @scottalanmiller said in Windows 2022 Disk Defrag Freezing System:

                @Obsolesce said in Windows 2022 Disk Defrag Freezing System:

                You should never Defrag SSDs except for very specific reasons.

                Which is why it is surprising that in the SSD era, Windows 2022 has it on by default.

                Has Microsoft changed how they handle TRIM yet? I know years ago they only ran TRIM when defrag was run. Why? Because Microsoft is still that bad at managing storage.

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post