Bug 147926 - [hang] system freezes due to heavy io to the disks
Summary: [hang] system freezes due to heavy io to the disks
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 01:40 UTC by Dominic Duklas
Modified: 2019-06-13 00:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Duklas 2010-06-17 01:40:00 UTC
I'm currently running freebsd on my desktop (core i7 920, 6gb of ram). Since around January I'm having problems with the system freezing for short periods of time and eventually locking up due to heavy reads/writes to the disk. 
The cursor would freeze for a split second and songs in my music player (quodlibet) would skip completely (the error logs say that the music player was unable to access the song which was currently playing, even though my music collection is on a completely different hard drive than the os). 
After 10-20 minutes of the occasional freezes (the frequency is random, sometimes it can go without any freeze for some minutes or it can freeze many times in a short period of time) the system locks up completely and reboots itself. There is no crash dump produced by the kernel, nor anything shows in dmesg when the short freezes occur. 
I tried putting freebsd on a different hard drive, changing filesystems from zfs which I currently use to ufs but the issue doesn't go away. 
Today I tried using the geom rr sched which was recently committed to current to see whether it would make a difference, but it didn't help.
This issue is not related to swapping as ram usage never gets high enough, and is also not directly caused by heavy cpu usage, although it might be part of the problem.
I've done several clean installs of freebsd current since the issue first appeared.

How-To-Repeat: make -j8 buildworld would trigger it in my case, or 2 simultaneous while loops with extracting a large file archive or compiling something big like openoffice/gcc/boost from ports.
Comment 1 Andriy Gapon 2010-06-19 08:55:22 UTC
You haven't let us know some important details.
What disk controller do you have?
What driver do you use for it (if there are multiple choices)?

P.S. Why did you file this bug under amd64 category?  Have you tested how i386
version of FreeBSD works on the same machine and came to conclusion that it's
only amd64 version that is affected?

-- 
Andriy Gapon
Comment 2 Dominic Duklas 2010-06-19 19:27:58 UTC
> You haven't let us know some important details.
> What disk controller do you have?
> What driver do you use for it (if there are multiple choices)?

Yeah sorry, completely forgot about this. My motherboard has the Intel
X58/ICH10R chipset. Currently I'm using the ahci driver, but the problems
started while I was using the normal ata driver (which caused me to switch
the driver in the first place). Changing from ahci to ide emulation in bios
does not help either.

>
> P.S. Why did you file this bug under amd64 category? Have you tested how
i386
> version of FreeBSD works on the same machine and came to conclusion that
it's
> only amd64 version that is affected?

Sorry about this, I guess I should've filed it under misc category as I
didn't test on i386 at all. It was pretty late at night over here when I
filed this pr...
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2010-06-19 21:01:58 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-bugs

possibly not amd64-specific.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:29 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped