Bug 197099 - System hangs under heavy load during compilation
Summary: System hangs under heavy load during compilation
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 16:10 UTC by Benjamin Stier
Modified: 2015-02-10 11:02 UTC (History)
0 users

See Also:


Attachments
Memory usage during compilation (89.43 KB, image/png)
2015-01-26 16:10 UTC, Benjamin Stier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Stier 2015-01-26 16:10:13 UTC
Created attachment 152185 [details]
Memory usage during compilation

System is 10.1-RELEASE-p4 amd64 on ZFS with 4GB RAM.

I'm trying to compile lang/ghc port, but this also happens while building www/chromium so I think it's a problem with the memory system.

After some time during the compilation the system hangs with no "Free" memory according to top. At this time Inactive is around 2.4GB
The system does still ping but shells are unresponsive, even on the console and there are no error messages. System is unusable and I'm only able to hard reboot.
Processes in top are in pfault-state.

I thought it was the same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 but the patch (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594#c197) didn't help.

Memory was tested with memtest and is fine.

Attached is an image showing the memory usage during compilation and after the hang.
Comment 1 Benjamin Stier 2015-02-10 11:02:09 UTC
Just tested, and this also happens on 9.3-RELEASE and 10-STABLE at r278312.