[GHC] #1002: ghc-6.6 sometimes hangs under Solaris

GHC trac at galois.com
Mon Nov 20 10:24:57 EST 2006


#1002: ghc-6.6 sometimes hangs under Solaris
---------------------------+------------------------------------------------
 Reporter:  maeder at tzi.de  |          Owner:          
     Type:  bug            |         Status:  new     
 Priority:  normal         |      Milestone:  6.6.1   
Component:  Compiler       |        Version:  6.6     
 Severity:  normal         |     Resolution:          
 Keywords:                 |     Difficulty:  Unknown 
 Testcase:  N/A            |   Architecture:  Multiple
       Os:  Solaris        |  
---------------------------+------------------------------------------------
Comment (by maeder at tzi.de):

 The timings above stem from compiling the sources (nicely) unoptimized at
 night. Maybe some backup or mirror jobs caused the two hours gap. At day
 it just takes about 7 minutes to build the binary from the shell.

 When building with optimization after about 400 modules ghc takes 855 MB
 (about 700 resident) from 1G real memory. The machine becomes slow, load
 and cpu goes down, disk activity, paging, context switches and interrupts
 go up (swap remains low, too). I think it's ok again, when I kill the job
 and restart the compilation. Currently I'm testing if setting the limit
 for open files (increasing from 256 to 1024) helps.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1002>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list