Guillaume Nodet
Guillaume Nodet
All tests are passing. I'd like to go on and merge this PR (and release an alpha version if possible). This would allow further work on other components and plugins...
> So the daemon finishes building the request, the problem is only that the client disconnects before it is finished? Yes, I think that's correct. The client disconnects because it...
I've been able to reproduce the problem, but in my case, it was a follow-up of #155 : when building the java doc, the daemon try to send a big...
@deradam the `daemon.keepAliveMs` also effects the client refresh rate in case there are no other messages, so you may prefer keeping `daemon.keepAliveMs=1000` and raise `daemon.maxLostKeepAlive=10`. The global properties location is...
@deradam If that's easily reproductible, would you mind checking if you have an error in the daemon log prior to the one you pasted above (which is the result of...
I've also hit the problem a few times under heavy cpu load. I wonder if we should slightly raise a bit the default values.
> I think we should try to figure out first where the bottle neck is. Is that overall CPU contention? Or is that client threads blocking each other? Daemon threads...
I also wonder if the messages ordering on the server side isn't problematic: https://github.com/mvndaemon/mvnd/blob/5fa1f3bd2f4a80245e06562078946d2af8703c66/daemon/src/main/java/org/mvndaemon/mvnd/daemon/Server.java#L596-L597 The keep alive messages are low priority, so it could happen that they are almost never...
> > > Looks like a heap size issue to me. > > > > > > Have you tried increasing the heap via [mvnd.maxHeapSize](https://github.com/mvndaemon/mvnd/blob/master/common/src/main/java/org/mvndaemon/mvnd/common/Environment.java#L206) ? > > @ppalaga i...
The registry may have been corrupted somehow. Could you try deleting the `~/.m2/mvnd/registry` directory and try again ?