question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build crashes due to timeout or deamon not responding in time

See original GitHub issue

Hi there,

when building a rather large project (395 maven modules), mvnd runs for few minutes and then radomly “crashes” with the following error.

Exception in thread "main" org.jboss.fuse.mvnd.common.DaemonException$StaleAddressException: Could not receive a message from the daemon.
	at org.jboss.fuse.mvnd.client.DaemonClientConnection.receive(DaemonClientConnection.java:107)
	at org.jboss.fuse.mvnd.client.DefaultClient.execute(DefaultClient.java:198)
	at org.jboss.fuse.mvnd.client.DefaultClient.main(DefaultClient.java:72)
Caused by: java.io.IOException: No message received within 3000ms, daemon may have crashed
	at org.jboss.fuse.mvnd.client.DaemonClientConnection.receive(DaemonClientConnection.java:100)
	... 2 more

However if I check the running processes, I can still see mvnd building the project in the background. Is there a setting for the timeout to the deamon process?

Thanks for the nice tool and your support!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:29 (17 by maintainers)

github_iconTop GitHub Comments

4reactions
gnodetcommented, Oct 28, 2020

@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 ~/.m2/mvnd.properties.

1reaction
DoPaNikcommented, Feb 22, 2021

Yes, I also see it as the main suspect 😃 But it would still be nice to get a witness who sees a GC happening at that time via some monitoring tool.

Of course. I try to collect data and then post them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Daemon crashing when building big project. #291 - GitHub
I am currently trying to build a monolith with around 15 modules. ... Build crashes due to timeout or deamon not responding in...
Read more >
Error:Timeout waiting to lock buildscript class cache for build ...
The lock file is there because some other gradle process (usually the daemon) is using the cache. You could stop all gradle processes...
Read more >
Addressing watchdog terminations - Apple Developer
The crash report instead records the backtrace frames of what the app was doing at the time the watchdog terminated it, even though...
Read more >
RHEL mount hangs: nfs: server [...] not responding, still trying
An incorrect MTU (network) setting on the client causing timeouts (and a watchdog reboot); Jumbo packets ( MTU=9000 ) selected on one system, ......
Read more >
ESXi host unresponsive after upgrade to 6.7 P03 or later due ...
As per VMware KB 81554, this issue is caused by a race condition in the driver while processing I/O resulting in abort failures....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found