You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Francois Marot <fr...@gmail.com> on 2024/02/03 16:47:29 UTC
How to know which plugin/goal is frozen in multithreaded build ?
Hello all,
I have a large build that completes normally in single threaded build but
freezes in multithreaded builds. Problem is I do not know which module and
which plugin is frozen. The last logs that get displayed are the classic
end log for a given module and the logs always stop there. So I believe
another module is still underway, stuck, and prevents the build to go
further. If there were entry/exit logs for each module and each plugin, I
could parse the logs, match each entry/exit, and find the last missing
exit. That would point me to the culprit...
But to my knowledge there are no such entry/exit logs...
I'will try to use mvnDebug command and plug a debugger but I do not even
know what I'm looking for ! Any idea ?
Have a good day
François
Re: How to know which plugin/goal is frozen in multithreaded build ?
Posted by Lasse Lindqvist <la...@gmail.com>.
I would suggest maybe just attaching a profiler and/or taking a
stackdump. It should show you what plugin is currently running and
stuck.
la 3. helmik. 2024 klo 18.48 Francois Marot (francois.marot@gmail.com)
kirjoitti:
>
> Hello all,
>
> I have a large build that completes normally in single threaded build but
> freezes in multithreaded builds. Problem is I do not know which module and
> which plugin is frozen. The last logs that get displayed are the classic
> end log for a given module and the logs always stop there. So I believe
> another module is still underway, stuck, and prevents the build to go
> further. If there were entry/exit logs for each module and each plugin, I
> could parse the logs, match each entry/exit, and find the last missing
> exit. That would point me to the culprit...
> But to my knowledge there are no such entry/exit logs...
>
> I'will try to use mvnDebug command and plug a debugger but I do not even
> know what I'm looking for ! Any idea ?
>
> Have a good day
> François
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to know which plugin/goal is frozen in multithreaded build ?
Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,
Important questions:
- what maven version exactly
- what java version are you using?
- how exactly is "multi threaded" build invoked
Also, you could tweak logging properties to show threads and trigger MT
build in debug piped into file, and that file when filtered for thread name
would probably give some clue.
T
On Sat, Feb 3, 2024, 17:48 Francois Marot <fr...@gmail.com> wrote:
> Hello all,
>
> I have a large build that completes normally in single threaded build but
> freezes in multithreaded builds. Problem is I do not know which module and
> which plugin is frozen. The last logs that get displayed are the classic
> end log for a given module and the logs always stop there. So I believe
> another module is still underway, stuck, and prevents the build to go
> further. If there were entry/exit logs for each module and each plugin, I
> could parse the logs, match each entry/exit, and find the last missing
> exit. That would point me to the culprit...
> But to my knowledge there are no such entry/exit logs...
>
> I'will try to use mvnDebug command and plug a debugger but I do not even
> know what I'm looking for ! Any idea ?
>
> Have a good day
> François
>