#4351: internal error: awaitEvent: descriptor out of range
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:               
        Type:  bug       |       Status:  new          
    Priority:  normal    |    Milestone:               
   Component:  Compiler  |      Version:  7.1          
    Keywords:            |     Testcase:               
   Blockedby:            |   Difficulty:               
          Os:  Linux     |     Blocking:               
Architecture:  x86       |      Failure:  Runtime crash
-------------------------+--------------------------------------------------

Comment(by guest):

 Hello, I am the original poster of this bug.

 simonmar, you were correct, I was not actually compiling with -threaded
 (oops)

 After compiling with -threaded, I no longer receive this error.

 At around 2000 client connections the program crashes with

 {{{
 Main: accept: resource exhausted (Too many open files)
 }}}

 After tuning linux kernel parameters, it appears to be all good. I
 successfully get to 5000 connections, and performance is still great! I
 must say, I am pretty impressed with GHC.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4351#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to