Not a fstrim issue per se... Looks like medium to high IO load will cause system to hang. Interesting part of repeating error in kernel's log:
INFO: task md0_resync:27042 blocked for more than 120 seconds. [5354986.546079] Tainted: GF O 3.13.0-35-generic #62-Ubuntu [5354986.546107] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [5354986.546150] md0_resync D ffff88107fc94440 0 27042 2 0x00000000 [5354986.546153] ffff880010bc5bf8 0000000000000046 ffff880010a2c800 ffff880010bc5fd8 [5354986.546156] 0000000000014440 0000000000014440 ffff880010a2c800 ffff880125e7ea80 [5354986.546157] ffff8810230b4438 ffff880010bc5c70 ffff8810230b4420 ffff8810230b43c0 [5354986.546159] Call Trace: [5354986.546165] [<ffffffff81722749>] schedule+0x29/0x70 [5354986.546176] [<ffffffffa0070437>] sync_request+0x227/0xb30 [raid1] [5354986.546180] [<ffffffff810aafd0>] ? prepare_to_wait_event+0x100/0x100 [5354986.546184] [<ffffffff815ab1a3>] md_do_sync+0x9a3/0xe00 [5354986.546186] [<ffffffff815a7d48>] md_thread+0x118/0x130 [5354986.546188] [<ffffffff815a7c30>] ? mddev_unlock+0xe0/0xe0 [5354986.546190] [<ffffffff8108b4a2>] kthread+0xd2/0xf0 [5354986.546191] [<ffffffff8108b3d0>] ? kthread_create_on_node+0x1c0/0x1c0 [5354986.546193] [<ffffffff8172ecbc>] ret_from_fork+0x7c/0xb0 [5354986.546195] [<ffffffff8108b3d0>] ? kthread_create_on_node+0x1c0/0x1c0 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1406290 Title: [fstrim] Server unavailable every sunday - needs hw reboot Status in linux package in Ubuntu: Incomplete Bug description: Release: Ubuntu Server 14.04.1 LTS Kernel: 3.13.0-35-generic #62-Ubuntu SMP x86_64 GNU/Linux Expected: Stable server on medium load. Observed: Every Sunday server freezes and needs hw reboot. Four INTEL SSDSC2BB480G4 in sw RAID6. EXT4 file system. Workaround: Disable fstrim job from weekly cron. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-35-generic 3.13.0-35.62 ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6 Uname: Linux 3.13.0-35-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Dec 7 08:33 seq crw-rw---- 1 root audio 116, 33 Dec 7 08:33 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.14.1-0ubuntu3.4 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory: 'iw' Date: Mon Dec 29 15:35:46 2014 HibernationDevice: RESUME=UUID=9a552e9f-593f-42f9-8b03-74c062d5fb3b IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' MachineType: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F PciMultimedia: ProcFB: ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-35-generic root=UUID=2541d2ca-44a9-4287-b5af-2e4dce628d96 ro nomodeset nomdmonddf nomdmonisw RelatedPackageVersions: linux-restricted-modules-3.13.0-35-generic N/A linux-backports-modules-3.13.0-35-generic N/A linux-firmware 1.127.6 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) WifiSyslog: dmi.bios.date: 01/03/2014 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 3.0a dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F dmi.board.vendor: Supermicro dmi.board.version: 0123456789 dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 17 dmi.chassis.vendor: Supermicro dmi.chassis.version: 0123456789 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.0a:bd01/03/2014:svnSupermicro:pnX9SRE/X9SRE-3F/X9SRi/X9SRi-3F:pvr0123456789:rvnSupermicro:rnX9SRE/X9SRE-3F/X9SRi/X9SRi-3F:rvr0123456789:cvnSupermicro:ct17:cvr0123456789: dmi.product.name: X9SRE/X9SRE-3F/X9SRi/X9SRi-3F dmi.product.version: 0123456789 dmi.sys.vendor: Supermicro To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406290/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp