Bug 197099

Summary: System hangs under heavy load during compilation
Product: Base System Reporter: Benjamin Stier <ben>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: 10.1-RELEASE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Memory usage during compilation none

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.