Jeff Shaw <shawj...@gmail.com> wrote: > I've run into an issue that makes me think that when the GHC GC runs > while a Snap or Warp HTTP server is serving connections, the GC > prevents or delays TCP connections from forming. My application > requires that TCP connections form within a few tens of milliseconds. > I'm wondering if anyone else has run into this issue, and if there are > some GC flags that could help. I've tried a few, such as -H and -c, > and haven't found anything to help. I'm using GHC 7.4.1.
When you compile with -threaded and run on multiple threads, then the runtime uses parallel GC. Did you try that? Greets, Ertugrul -- Not to be or to be and (not to be or to be and (not to be or to be and (not to be or to be and ... that is the list monad.
signature.asc
Description: PGP signature
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe