Hi, There is a setting akka.io.tcp.windows-connection-abort-workaround-enabled setting that is known to be causing this. It is a workaround for Windows to get connection abort events reliably, but unfortunately has this side-effect. You can disable the workaround from the config, currently it is automatically enabled for Windows, see:
http://doc.akka.io/docs/akka/2.3.9/general/configuration.html#akka-actor -Endre On Mon, Jan 26, 2015 at 11:02 PM, huynhjl <[email protected]> wrote: > Hi, > > I am trying akka HTTP and seeing odd behavior with a thread keeping a core > busy until the client connection closes. > That seems to only happen on Windows. > > A minimized example is there: > https://github.com/huynhjl/cpu-peg/blob/0.1/src/main/scala/HttpTest.scala > The stack dump of the thread that is busy is in the README at : > https://github.com/huynhjl/cpu-peg/tree/0.1 > And a screenshot of visualvm showing CPU is busy is here: > https://github.com/huynhjl/cpu-peg/blob/0.1/profiler.png > > My environment is JDK 1.8.0_31 or 1.7.0_71 on Windows 7 Enterprise SP1. > > To reproduce, I start the program, then request http://localhost:8080 in > chrome. Then a core is busy until I close the browser. > > Has anybody else seen that? Is this a known issue? > > -- huynhjl > > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
